/* ========================================================
   BALVANT AHIR - PORTFOLIO DESIGN SYSTEM & BASE STYLES
   ======================================================== */

/* --- MODERN EDITORIAL MINIMAL PALETTE --- */
:root {
    --bg-color: #f7f5f0; 
    --surface: #ffffff;
    --surface-subtle: #eeece5;
    --text-main: #111111; 
    --text-muted: #575551;
    --text-light: #8e8b84;
    --accent: #ff4000; 
    --accent-hover: #e03800;
    --accent-soft: rgba(255, 64, 0, 0.08);
    --border: #e3ded5;
    --border-light: #ece7de;
    --card-bg: #fcfbf9;
    --tool-box-bg: #eceae3;
    --tool-box-hover: #ffffff;
    --nav-height: 76px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 9999px;
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 16px 36px rgba(0, 0, 0, 0.08);
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET & GLOBAL --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-display {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    border: none;
    outline: none;
    background: none;
    font-family: inherit;
    cursor: pointer;
}
.tool-svg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- DESKTOP CUSTOM CURSOR --- */
@media (hover: hover) and (pointer: fine) {
    .cursor-dot, .cursor-outline {
        position: fixed;
        top: 0;
        left: 0;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        z-index: 99999;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .cursor-dot {
        width: 7px;
        height: 7px;
        background-color: var(--accent);
    }
    .cursor-outline {
        width: 36px;
        height: 36px;
        border: 1.5px solid var(--accent);
        transition: width 0.25s ease, height 0.25s ease, background-color 0.25s ease, opacity 0.25s ease;
    }
    .cursor-outline.hover-active {
        width: 60px;
        height: 60px;
        background-color: rgba(255, 64, 0, 0.08);
        border-color: rgba(255, 64, 0, 0.3);
    }
    body.mouse-active .cursor-dot,
    body.mouse-active .cursor-outline {
        opacity: 1;
    }
}

@media (hover: none) or (pointer: coarse) {
    .cursor-dot, .cursor-outline {
        display: none !important;
    }
}

/* --- NAVIGATION --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(247, 245, 240, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.04em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    display: inline-block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 6px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.25s ease;
    border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    padding: 9px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    background: var(--text-main);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-cta:hover {
    background: var(--accent);
    transform: translateY(-1px);
    color: #ffffff;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    cursor: pointer;
    gap: 5px;
}

.mobile-toggle span {
    width: 20px;
    height: 2px;
    background-color: var(--text-main);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: rgba(247, 245, 240, 0.98);
    backdrop-filter: blur(20px);
    padding: 2.5rem 1.5rem;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    overflow-y: auto;
}

.mobile-drawer.open {
    transform: translateY(0);
    opacity: 1;
}

.mobile-drawer a {
    font-size: 1.35rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-main);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- HERO --- */
#home {
    min-height: auto;
    display: flex;
    align-items: center;
    padding-top: calc(var(--nav-height) + 1.5rem);
    padding-bottom: 2.25rem;
    position: relative;
    overflow: hidden;
}

.bg-text {
    position: absolute;
    bottom: -5%;
    right: -3%;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(8rem, 20vw, 18rem);
    font-weight: 800;
    color: rgba(17, 17, 17, 0.03);
    line-height: 0.8;
    pointer-events: none;
    user-select: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.75rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.15rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.95rem;
    letter-spacing: -0.04em;
}

.hero-title span {
    color: var(--accent);
}

.hero-desc {
    font-size: clamp(0.95rem, 1.15vw, 15.5px);
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 1.35rem;
    line-height: 1.55;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.35rem;
    border-top: 1px solid var(--border);
    padding-top: 1.1rem;
    max-width: 520px;
}

.stat-item h3 {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.stat-item p {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--text-main);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-secondary {
    background: var(--surface);
    color: var(--text-main);
    border-color: var(--border);
}

.btn-secondary:hover {
    background: #ffffff;
    border-color: var(--text-main);
    transform: translateY(-2px);
}

.hero-photo-frame {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-hover);
}

.hero-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(12%);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.hero-photo-frame:hover img {
    transform: scale(1.03);
    filter: grayscale(0%);
}

.hero-floating-card {
    position: absolute;
    bottom: 20px;
    left: -20px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-hover);
}

.floating-icon-wrap {
    width: 38px;
    height: 38px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.floating-text h4 {
    font-size: 0.9rem;
    font-weight: 700;
}

.floating-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* --- SECTION HEADERS --- */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.75rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 1rem;
}

.section-tag {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.35rem;
    display: block;
}

.section-header h2 {
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 700;
}

.section-header-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
}

/* --- WORK SECTION --- */
#work {
    padding: 60px 0;
    background: var(--surface);
}

.work-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.75rem;
}

.work-tabs {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-color);
    padding: 6px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    max-width: 100%;
    overflow-x: auto;
}

.tab-btn {
    padding: 9px 20px;
    background: transparent;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--text-main);
}

.tab-btn.active {
    background: var(--text-main);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.project-img-wrap {
    position: relative;
    width: 100%;
    height: 300px;
    background: #ede9e0;
    overflow: hidden;
    display: block;
    padding: 0;
}

.project-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-img-wrap img {
    transform: scale(1.05);
}

.project-details {
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.project-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 0.25rem;
    display: block;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0;
}

.project-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
    margin-top: 1rem;
}

.project-pills {
    display: flex;
    gap: 6px;
}

.project-pill {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 9px;
    background: var(--surface-subtle);
    border-radius: 4px;
    color: var(--text-muted);
}

.project-link-btn {
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.project-card:hover .project-link-btn {
    color: var(--accent);
}

/* --- TALENT & SKILLS MATRIX (EDITORIAL BENTO GRID) --- */
#skills {
    padding: 60px 0;
    background: #f4f1ea;
    border-top: 1px solid #d8d4ca;
    border-bottom: 1px solid #d8d4ca;
}

#skills .section-header {
    border-bottom-color: #d8d4ca;
}

.skills-matrix {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #d8d4ca;
    gap: 1px;
    border: 1px solid #d8d4ca;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.skill-cell {
    padding: 2.25rem 1.85rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #f4f1ea;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.skill-cell.cell-light {
    background: #f4f1ea;
}

.skill-cell.cell-tinted {
    background: #ebe7dd;
}

.skill-cell.cell-accent-filler {
    background: #d1cdc2;
    grid-column: span 2;
    min-height: 100%;
}

.skill-cell:not(.cell-accent-filler):hover {
    background: #ffffff !important;
}

.skill-cell-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0.85rem;
}

.skill-cell-icon {
    color: var(--accent);
    font-size: 1.22rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.skill-cell-title {
    font-size: 1.15rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-main);
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.skill-cell-desc {
    font-size: 0.88rem;
    color: #555047;
    line-height: 1.55;
}

/* ========================================================
   --- MY EXPERT AREA / TOOLS (ORIGINAL AUTHENTIC ICONS) ---
   ======================================================== */
#tools {
    padding: 60px 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.tools-intro {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 1.75rem auto;
}

.tools-intro h2 {
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tools-intro p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.tools-subgroup-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tools-subgroup-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.15rem;
    max-width: 1140px;
    margin: 0 auto 2rem auto;
}

.tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.tool-box {
    width: 100%;
    aspect-ratio: 1.35 / 1;
    background: var(--tool-box-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 1.2rem;
}

.tool-card:hover .tool-box {
    transform: translateY(-5px);
    background: var(--tool-box-hover);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    border-color: #d4cec2;
}

.tool-svg {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    margin: 0 auto;
}

.tool-svg img,
.tool-svg svg {
    width: 100%;
    height: 100%;
    max-width: 42px;
    max-height: 42px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.tool-card:hover .tool-svg {
    transform: scale(1.12);
}

.tool-label {
    margin-top: 0.65rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-main);
    transition: color 0.25s ease;
}

.tool-card:hover .tool-label {
    color: var(--accent);
}

/* --- EXPERIENCE SECTION --- */
#experience {
    padding: 60px 0;
    background: var(--bg-color);
}

.exp-container {
    max-width: 980px;
    margin: 0 auto;
}

.exp-list {
    display: flex;
    flex-direction: column;
}

.exp-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2rem;
    padding: 2rem 1.25rem;
    border-bottom: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.exp-card:first-child {
    border-top: 1px solid var(--border);
}

.exp-card:hover {
    background: rgba(255, 255, 255, 0.65);
    transform: translateX(6px);
}

.exp-period {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--accent);
    display: block;
}

.exp-place {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.exp-role {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.exp-company-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.exp-description {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.85rem;
}

.exp-points {
    list-style: none;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.exp-points li {
    font-size: 0.9rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 18px;
    line-height: 1.5;
}

.exp-points li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.exp-badge-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.exp-badge {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-main);
}

/* ========================================================
   --- EDUCATION & CERTIFICATIONS ---
   ======================================================== */
#education {
    padding: 60px 0;
    background: var(--surface);
}

.edu-wrapper {
    max-width: 1080px;
    margin: 0 auto;
}

.edu-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
}

.credential-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.credential-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: #cfc9be;
}

.credential-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--accent);
}

.cred-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.cred-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--bg-color);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--accent);
}

.cred-badge {
    padding: 4px 11px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(255, 64, 0, 0.08);
    color: var(--accent);
}

.cred-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.cred-institute {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.cred-period {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 1rem;
}

.cred-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cred-highlights {
    border-top: 1px solid var(--border-light);
    padding-top: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cred-highlight-item {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cred-highlight-item i {
    color: #10b981;
    font-size: 0.8rem;
}

/* Certificate Visual Preview Card */
.cert-visual-card {
    margin-top: 1.75rem;
    background: var(--bg-color);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1.5rem;
    align-items: center;
}

.cert-thumb {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.cert-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.cert-visual-info h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.cert-visual-info p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0.85rem;
}

.cert-verify-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent);
    padding: 6px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    transition: var(--transition-smooth);
}

.cert-verify-btn:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

/* --- FOOTER / CONTACT --- */
footer {
    padding: 60px 0 32px;
    background: #111111;
    color: #f7f5f0;
}

.footer-cta {
    margin-bottom: 2rem;
}

.footer-heading {
    font-size: clamp(2.2rem, 6.5vw, 4.8rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #ffffff;
}

.footer-heading a {
    color: var(--accent);
    display: inline-block;
    position: relative;
    padding-bottom: 4px;
}

.footer-heading a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background-color: var(--accent);
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
}

.footer-heading a:hover::after {
    width: 100%;
}

.footer-connect-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    padding: 1.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.75rem;
}

.footer-link-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
}

.footer-link-pill i {
    color: var(--accent);
}

.footer-link-pill:hover {
    background: #ffffff;
    color: #111111;
    transform: translateY(-2px);
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    flex-wrap: wrap;
    gap: 1rem;
}

/* --- REVEAL ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
