/* MD Ibnul Personal Portfolio – Eye-Comfort, Dynamic & High-Contrast Mobile-First CSS */
:root {
    --pf-dark: #0b192c;
    --pf-accent: #0d9488;
    --pf-accent-deep: #0f766e;
    --pf-accent-soft: #ccfbf1;
    --pf-gold: #d97706;
    --pf-gold-soft: #fef3c7;
    --pf-surface: #fafaf9;
    --pf-card-bg: #ffffff;
    --pf-ink: #1e293b;
    --pf-muted: #475569;
    --pf-border: #e7e5e4;
    --ipf-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.ipf-hero, .ipf-section {
    font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif;
    color: var(--pf-ink);
    line-height: 1.68;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}
.ipf-hero *, .ipf-section * {
    box-sizing: border-box;
}
.ipf-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Dynamic Mesh-Accent Hero (Soft Warm Alabaster + Subtle Teal/Gold Ambient Glow) */
.ipf-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 18%, rgba(13, 148, 136, 0.12) 0%, transparent 44%),
        radial-gradient(circle at 10% 85%, rgba(217, 119, 6, 0.08) 0%, transparent 42%),
        linear-gradient(145deg, #fafaf9 0%, #f1f5f9 55%, #ecfdf5 100%);
    padding: 60px 0 68px;
    border-bottom: 1px solid var(--pf-border);
}
.ipf-hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 42px;
    align-items: center;
}
.ipf-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #ffffff;
    color: var(--pf-accent-deep);
    border: 1px solid rgba(13, 148, 136, 0.28);
    box-shadow: 0 4px 14px rgba(11, 25, 44, 0.05);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 15px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.ipf-pill::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--pf-gold);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2);
}
.ipf-hero-title {
    font-size: clamp(32px, 4.6vw, 50px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 10px;
    color: var(--pf-dark);
    letter-spacing: -0.02em;
}
.ipf-bn-sub {
    display: inline-block;
    font-size: 0.62em;
    font-weight: 600;
    color: var(--pf-muted);
    margin-left: 6px;
}
.ipf-hero-tagline {
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--pf-accent-deep), var(--pf-accent), var(--pf-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 14px;
}
.ipf-hero-bio {
    font-size: 15.5px;
    color: #334155;
    margin: 0 0 26px;
    max-width: 600px;
}

/* Attention-Grabbing Dynamic Buttons */
.ipf-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}
.ipf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.28s var(--ipf-ease), box-shadow 0.28s var(--ipf-ease), background 0.28s ease, border-color 0.28s ease;
    border: 1.5px solid transparent;
    -webkit-tap-highlight-color: transparent;
}
.ipf-btn-primary {
    background: linear-gradient(135deg, var(--pf-dark) 0%, #162e4d 100%);
    color: #ffffff !important;
    box-shadow: 0 8px 20px -6px rgba(11, 25, 44, 0.35);
}
.ipf-btn-primary:hover {
    background: linear-gradient(135deg, var(--pf-accent-deep) 0%, var(--pf-accent) 100%);
    box-shadow: 0 12px 24px -6px rgba(13, 148, 136, 0.42);
    transform: translate3d(0, -2px, 0);
}
.ipf-btn-outline {
    background: #ffffff;
    color: var(--pf-dark) !important;
    border-color: #cbd5e1;
}
.ipf-btn-outline:hover {
    border-color: var(--pf-accent);
    color: var(--pf-accent-deep) !important;
    background: #f0fdfa;
}
.ipf-btn-ghost {
    background: var(--pf-gold-soft);
    color: #92400e !important;
    border-color: rgba(217, 119, 6, 0.25);
}
.ipf-btn-ghost:hover {
    background: #fde68a;
}

/* Eye-Comfort Hero Stats Strip */
.ipf-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding-top: 22px;
    border-top: 1px solid #e2e8f0;
}
.ipf-stat {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(226, 232, 240, 0.9);
    padding: 12px 14px;
    border-radius: 12px;
}
.ipf-stat strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--pf-dark);
    line-height: 1.2;
}
.ipf-stat span {
    font-size: 12px;
    color: var(--pf-muted);
    font-weight: 600;
}

/* Portrait Photo Frame with Dual-Tone Glow */
.ipf-hero-media {
    display: flex;
    justify-content: center;
}
.ipf-photo-card {
    position: relative;
    width: 100%;
    max-width: 380px;
}
.ipf-photo-backdrop {
    position: absolute;
    inset: 14px -12px -14px 12px;
    background: linear-gradient(135deg, var(--pf-accent) 0%, var(--pf-gold) 100%);
    border-radius: 24px;
    opacity: 0.22;
    z-index: 0;
}
.ipf-portrait-img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 4/4.6;
    object-fit: cover;
    object-position: center top;
    border-radius: 22px;
    border: 4px solid #ffffff;
    box-shadow: 0 20px 44px rgba(11, 25, 44, 0.16);
    display: block;
    background: var(--pf-dark);
}
.ipf-photo-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    z-index: 2;
    background: rgba(11, 25, 44, 0.9);
    backdrop-filter: blur(8px);
    color: #f8fafc;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ipf-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
    flex-shrink: 0;
}

/* Eye-Comfort Alternating Sections (Warm Alabaster & Soft Ivory) */
.ipf-section {
    padding: 68px 0;
    background: var(--pf-surface);
}
.ipf-bg-white {
    background: #ffffff;
}
.ipf-bg-dark {
    background:
        radial-gradient(circle at 85% 15%, rgba(13, 148, 136, 0.22) 0%, transparent 45%),
        linear-gradient(145deg, var(--pf-dark) 0%, #102542 100%);
    color: #f8fafc;
}
.ipf-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pf-accent-deep);
    background: #f0fdfa;
    border: 1px solid rgba(13, 148, 136, 0.22);
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
}
.ipf-eyebrow-light {
    color: #5eead4;
    background: rgba(13, 148, 136, 0.18);
    border-color: rgba(94, 234, 212, 0.25);
}
.ipf-section-heading {
    font-size: clamp(24px, 3.2vw, 35px);
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1.24;
    color: var(--pf-dark);
    letter-spacing: -0.015em;
}
.ipf-text-white {
    color: #ffffff !important;
}
.ipf-section-head {
    margin-bottom: 34px;
}

/* About Grid */
.ipf-about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 40px;
    align-items: start;
}
.ipf-about-photo-wrap {
    position: relative;
}
.ipf-about-img {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center top;
    border-radius: 20px;
    border: 3px solid #ffffff;
    box-shadow: 0 14px 32px rgba(11, 25, 44, 0.1);
    display: block;
}
.ipf-edu-card {
    margin-top: 16px;
    background: #fafaf9;
    border: 1px solid var(--pf-border);
    border-left: 4px solid var(--pf-accent);
    border-radius: 12px;
    padding: 15px 17px;
}
.ipf-edu-card small {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: var(--pf-accent-deep);
    letter-spacing: 0.05em;
}
.ipf-edu-card strong {
    display: block;
    font-size: 15px;
    margin: 2px 0;
    color: var(--pf-dark);
}
.ipf-edu-card span {
    font-size: 13px;
    color: var(--pf-muted);
}
.ipf-body-text {
    font-size: 15.5px;
    color: #334155;
    margin: 0 0 18px;
}
.ipf-info-list {
    display: grid;
    gap: 8px;
    font-size: 14px;
    color: var(--pf-ink);
    margin-bottom: 22px;
    padding: 15px 16px;
    background: #fafaf9;
    border-radius: 12px;
    border: 1px solid var(--pf-border);
}
.ipf-skills-wrap {
    display: grid;
    gap: 16px;
}
.ipf-skill-group h4 {
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--pf-muted);
    margin: 0 0 8px;
}
.ipf-skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ipf-skill-tag {
    background: #f0fdfa;
    color: var(--pf-accent-deep);
    border: 1px solid #99f6e4;
    padding: 6px 13px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.22s ease;
}
.ipf-skill-tag:hover {
    background: var(--pf-accent);
    color: #ffffff;
    border-color: var(--pf-accent);
}

/* Portfolio Filter & Cards */
.ipf-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}
.ipf-filter-btn {
    background: #ffffff;
    border: 1px solid #d6d3d1;
    color: var(--pf-ink);
    padding: 8px 17px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.22s var(--ipf-ease);
}
.ipf-filter-btn.is-active, .ipf-filter-btn:hover {
    background: var(--pf-dark);
    color: #ffffff;
    border-color: var(--pf-dark);
    box-shadow: 0 6px 16px -4px rgba(11, 25, 44, 0.28);
}
.ipf-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.ipf-project-card {
    background: var(--pf-card-bg);
    border: 1px solid var(--pf-border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}
.ipf-project-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.ipf-project-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.ipf-project-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.ipf-cat-badge {
    background: #f0fdfa;
    color: var(--pf-accent-deep);
    border: 1px solid rgba(13, 148, 136, 0.2);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}
.ipf-year {
    font-size: 12px;
    color: var(--pf-gold);
    font-weight: 700;
}
.ipf-project-card h3 {
    font-size: 17.5px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--pf-dark);
}
.ipf-project-card p {
    font-size: 14px;
    color: var(--pf-muted);
    margin: 0 0 14px;
    flex: 1;
}
.ipf-project-meta {
    font-size: 12px;
    color: var(--pf-ink);
    background: #fafaf9;
    border: 1px solid #f5f5f4;
    padding: 10px 12px;
    border-radius: 10px;
    display: grid;
    gap: 4px;
}
.ipf-link-arrow {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--pf-accent-deep);
    text-decoration: none;
}

/* Experience & Achievements */
.ipf-exp-grid, .ipf-ach-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.ipf-exp-card, .ipf-ach-card {
    background: #ffffff;
    border: 1px solid var(--pf-border);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 2px 8px rgba(11, 25, 44, 0.03);
}
.ipf-exp-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.ipf-role-tag {
    background: var(--pf-gold-soft);
    color: #92400e;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
}
.ipf-period, .ipf-ach-date {
    font-size: 12px;
    font-weight: 700;
    color: var(--pf-accent-deep);
}
.ipf-exp-card h3, .ipf-ach-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 4px 0;
    color: var(--pf-dark);
}
.ipf-org, .ipf-ach-issuer {
    font-size: 13px;
    font-weight: 600;
    color: var(--pf-muted);
    margin-bottom: 8px;
}
.ipf-exp-card p, .ipf-ach-card p {
    font-size: 14px;
    color: var(--pf-muted);
    margin: 0;
}

/* Contact Section */
.ipf-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
}
.ipf-contact-desc {
    color: #cbd5e1;
    font-size: 15px;
    margin: 0 0 20px;
}
.ipf-contact-items {
    display: grid;
    gap: 10px;
    font-size: 14px;
    color: #e2e8f0;
    margin-bottom: 22px;
}
.ipf-contact-items a {
    color: #5eead4;
    text-decoration: none;
}
.ipf-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.ipf-social-btn {
    padding: 10px 18px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.22s ease;
}
.ipf-social-btn:hover {
    background: var(--pf-accent);
    border-color: var(--pf-accent);
}
.ipf-social-btn.ipf-wa {
    background: #059669;
    border-color: #10b981;
}
.ipf-contact-form {
    background: #ffffff;
    color: var(--pf-ink);
    padding: 26px;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}
.ipf-contact-form h3 {
    margin: 0 0 16px;
    font-size: 19px;
    font-weight: 800;
    color: var(--pf-dark);
}
.ipf-field {
    margin-bottom: 14px;
}
.ipf-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--pf-ink);
}
.ipf-field input, .ipf-field textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: #fafaf9;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.ipf-field input:focus, .ipf-field textarea:focus {
    outline: none;
    border-color: var(--pf-accent);
    background: #ffffff;
}
.ipf-full-btn {
    width: 100%;
}
.ipf-form-status {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
}

/* Mobile-First Responsive Breakpoints */
@media (max-width: 900px) {
    .ipf-hero-grid, .ipf-about-grid, .ipf-contact-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .ipf-hero-media {
        order: -1;
    }
    .ipf-photo-card, .ipf-about-img {
        max-width: 300px;
        margin: 0 auto;
    }
    .ipf-projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .ipf-hero {
        padding: 34px 0 46px;
    }
    .ipf-section {
        padding: 46px 0;
    }
    .ipf-projects-grid, .ipf-exp-grid, .ipf-ach-grid {
        grid-template-columns: 1fr;
    }
    .ipf-hero-actions .ipf-btn {
        width: 100%;
    }
    .ipf-hero-stats {
        gap: 8px;
    }
    .ipf-stat {
        padding: 10px;
    }
    .ipf-stat strong {
        font-size: 18px;
    }
    .ipf-stat span {
        font-size: 11px;
    }
}

/* === Smart GPU-Accelerated Animations (Mobile & PC Optimized) === */
.ipf-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--pf-dark), var(--pf-accent), var(--pf-gold));
    z-index: 99999;
    pointer-events: none;
    transition: width 0.08s linear;
}

.ipf-anim-ready .ipf-reveal {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition: opacity 0.62s var(--ipf-ease), transform 0.62s var(--ipf-ease);
    will-change: opacity, transform;
}
.ipf-anim-ready .ipf-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@keyframes ipfPortraitFloat {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -6px, 0); }
}
.ipf-photo-card, .ipf-photo-frame, .ipf-hero-photo-wrap {
    animation: ipfPortraitFloat 5.5s ease-in-out infinite;
    will-change: transform;
}

.ipf-card, .ipf-project-card, .ipf-exp-card, .ipf-ach-card, .ipf-skill-card, .ipf-stat {
    transition: transform 0.28s var(--ipf-ease), box-shadow 0.28s var(--ipf-ease), border-color 0.28s ease;
    -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) and (pointer: fine) {
    .ipf-card:hover, .ipf-project-card:hover, .ipf-exp-card:hover, .ipf-ach-card:hover, .ipf-skill-card:hover, .ipf-stat:hover {
        transform: translate3d(0, -5px, 0);
        box-shadow: 0 16px 32px -12px rgba(11, 25, 44, 0.14);
        border-color: var(--pf-accent);
    }
}
.ipf-btn:active, .ipf-filter-btn:active, .ipf-project-card:active, .ipf-card:active {
    transform: scale(0.98);
}

.ipf-project-card.is-hidden {
    display: none;
}
.ipf-project-card.ipf-filtering-in {
    animation: ipfCardPop 0.36s var(--ipf-ease) forwards;
}
@keyframes ipfCardPop {
    from { opacity: 0; transform: scale(0.96) translate3d(0, 10px, 0); }
    to { opacity: 1; transform: scale(1) translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .ipf-anim-ready .ipf-reveal,
    .ipf-photo-card,
    .ipf-photo-frame,
    .ipf-hero-photo-wrap,
    .ipf-card,
    .ipf-project-card,
    .ipf-btn {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}


/* === Smart Contact Hub, Search Bar & Interactive Quick Chips === */
.ipf-hero-quick-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.ipf-qchip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: var(--pf-dark) !important;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(11, 25, 44, 0.04);
    transition: all 0.22s var(--ipf-ease);
}
.ipf-qchip:hover {
    border-color: var(--pf-accent);
    background: #f0fdfa;
    color: var(--pf-accent-deep) !important;
    transform: translateY(-1px);
}
.ipf-qchip-wa {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46 !important;
}

/* Projects Toolbar: Filter Pills + Instant Search */
.ipf-projects-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
}
.ipf-projects-toolbar .ipf-filter-bar {
    margin-bottom: 0;
}
.ipf-count {
    display: inline-block;
    margin-left: 5px;
    padding: 1px 7px;
    border-radius: 999px;
    font-size: 11px;
    background: rgba(15, 23, 42, 0.08);
    color: inherit;
}
.ipf-filter-btn.is-active .ipf-count {
    background: rgba(255, 255, 255, 0.2);
}
.ipf-search-wrap {
    flex: 0 1 280px;
    width: 100%;
}
.ipf-search-input {
    width: 100%;
    padding: 9px 15px;
    border-radius: 999px;
    border: 1.5px solid #d6d3d1;
    background: #ffffff;
    font-size: 13.5px;
    font-family: inherit;
    color: var(--pf-ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ipf-search-input:focus {
    outline: none;
    border-color: var(--pf-accent);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.14);
}

/* Smart Contact Cards */
.ipf-avail-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #a7f3d0;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.ipf-contact-cards {
    display: grid;
    gap: 12px;
    margin-bottom: 22px;
}
.ipf-c-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 13px 15px;
    transition: background 0.22s ease, border-color 0.22s ease;
}
.ipf-c-card:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(94, 234, 212, 0.4);
}
.ipf-c-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: rgba(13, 148, 136, 0.25);
    color: #5eead4;
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ipf-c-meta {
    flex: 1;
    min-width: 0;
}
.ipf-c-meta small {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-bottom: 2px;
}
.ipf-c-meta a, .ipf-c-meta span {
    display: block;
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    word-break: break-word;
}
.ipf-c-meta a:hover {
    color: #5eead4;
}
.ipf-c-meta .ipf-c-sub {
    font-size: 12.5px;
    font-weight: 500;
    color: #cbd5e1;
    margin-top: 2px;
}
.ipf-c-meta .ipf-c-sub a {
    display: inline;
    font-size: 12.5px;
    font-weight: 600;
    color: #99f6e4;
}
.ipf-copy-btn {
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #f8fafc !important;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.ipf-copy-btn:hover, .ipf-copy-btn.is-copied {
    background: var(--pf-accent);
    border-color: var(--pf-accent);
    color: #ffffff !important;
}
.ipf-vcard-btn {
    cursor: pointer;
    background: rgba(217, 119, 6, 0.22);
    border-color: rgba(251, 191, 36, 0.35);
}
.ipf-vcard-btn:hover {
    background: var(--pf-gold);
    border-color: var(--pf-gold);
}

/* Contact Form Select & Dual Submit Buttons */
.ipf-field select {
    width: 100%;
    padding: 11px 13px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: #fafaf9;
    color: var(--pf-ink);
}
.ipf-field select:focus {
    outline: none;
    border-color: var(--pf-accent);
    background: #ffffff;
}
.ipf-form-actions {
    display: grid;
    gap: 10px;
}
.ipf-btn-wa-outline {
    background: #ecfdf5;
    color: #065f46 !important;
    border: 1.5px solid #6ee7b7;
}
.ipf-btn-wa-outline:hover {
    background: #059669;
    color: #ffffff !important;
    border-color: #059669;
}

@media (max-width: 640px) {
    .ipf-search-wrap {
        flex: 1 1 100%;
    }
}


/* === Attractive & Professional Motion System (GPU-Composited) === */
:root {
    --ipf-ease-pro: cubic-bezier(0.16, 1, 0.3, 1);
    --ipf-ease-spring: cubic-bezier(0.34, 1.36, 0.64, 1);
}

@keyframes ipfAmbientGlow {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.85;
    }
    50% {
        transform: translate3d(-14px, 10px, 0) scale(1.06);
        opacity: 1;
    }
}

.ipf-hero::after {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.16) 0%, rgba(217, 119, 6, 0.08) 45%, transparent 72%);
    pointer-events: none;
    z-index: 0;
    animation: ipfAmbientGlow 9s ease-in-out infinite;
    will-change: transform, opacity;
}
.ipf-hero > .ipf-container {
    position: relative;
    z-index: 1;
}

/* Directional & Staggered Scroll Reveals */
.ipf-anim-ready .ipf-reveal {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition: opacity 0.68s var(--ipf-ease-pro), transform 0.68s var(--ipf-ease-pro);
    will-change: opacity, transform;
}
.ipf-anim-ready .ipf-reveal-left {
    opacity: 0;
    transform: translate3d(-26px, 0, 0);
    transition: opacity 0.68s var(--ipf-ease-pro), transform 0.68s var(--ipf-ease-pro);
    will-change: opacity, transform;
}
.ipf-anim-ready .ipf-reveal-right {
    opacity: 0;
    transform: translate3d(26px, 0, 0);
    transition: opacity 0.68s var(--ipf-ease-pro), transform 0.68s var(--ipf-ease-pro);
    will-change: opacity, transform;
}
.ipf-anim-ready .ipf-reveal.is-visible,
.ipf-anim-ready .ipf-reveal-left.is-visible,
.ipf-anim-ready .ipf-reveal-right.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Subtle Light Sweep on Primary CTA */
.ipf-btn-primary {
    position: relative;
    overflow: hidden;
}
.ipf-btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 65%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
    transform: skewX(-20deg);
    transition: left 0.65s var(--ipf-ease-pro);
    pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
    .ipf-btn-primary:hover::after {
        left: 140%;
    }
}

/* Top Accent Bar Reveal on Cards */
.ipf-project-card::before,
.ipf-exp-card::before,
.ipf-ach-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pf-accent), var(--pf-gold));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.36s var(--ipf-ease-pro);
    z-index: 2;
}
.ipf-exp-card, .ipf-ach-card {
    position: relative;
    overflow: hidden;
}
@media (hover: hover) and (pointer: fine) {
    .ipf-project-card:hover::before,
    .ipf-exp-card:hover::before,
    .ipf-ach-card:hover::before {
        transform: scaleX(1);
    }
    .ipf-project-thumb img {
        transition: transform 0.45s var(--ipf-ease-pro);
    }
    .ipf-project-card:hover .ipf-project-thumb img {
        transform: scale(1.04);
    }
}
.ipf-project-thumb {
    overflow: hidden;
}

/* Skill Tag Micro-Lift */
.ipf-skill-tag {
    transition: transform 0.24s var(--ipf-ease-spring), background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
@media (hover: hover) and (pointer: fine) {
    .ipf-skill-tag:hover {
        transform: translate3d(0, -2px, 0) scale(1.02);
    }
}

/* Gentle Pulse on Availability & Photo Status Dot */
@keyframes ipfStatusPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45); }
    50% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
}
.ipf-dot {
    animation: ipfStatusPulse 2.4s ease-in-out infinite;
}

/* Contact Card Subtle Shift on Hover */
@media (hover: hover) and (pointer: fine) {
    .ipf-c-card {
        transition: transform 0.26s var(--ipf-ease-pro), background 0.22s ease, border-color 0.22s ease;
    }
    .ipf-c-card:hover {
        transform: translate3d(4px, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ipf-hero::after,
    .ipf-dot,
    .ipf-btn-primary::after,
    .ipf-project-card::before,
    .ipf-exp-card::before,
    .ipf-ach-card::before,
    .ipf-project-thumb img,
    .ipf-skill-tag,
    .ipf-c-card {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}


/* === Sleek Bento Contact Hub (No Form, High-Impact Layout) === */
.ipf-contact-v2 {
    position: relative;
    overflow: hidden;
    padding: 80px 0 88px;
}
.ipf-contact-glow {
    position: absolute;
    inset: -30% auto auto 50%;
    transform: translateX(-50%);
    width: 680px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.24) 0%, rgba(217, 119, 6, 0.1) 48%, transparent 72%);
    pointer-events: none;
    z-index: 0;
}
.ipf-contact-hub-wrap {
    position: relative;
    z-index: 1;
}
.ipf-contact-hero-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 42px;
}
.ipf-contact-title {
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}
.ipf-contact-desc-center {
    margin: 0 auto 28px;
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.7;
}
.ipf-contact-primary-ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.ipf-cta-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: transform 0.28s var(--ipf-ease-pro), background 0.25s ease, box-shadow 0.28s ease, border-color 0.25s ease;
}
.ipf-cta-pill:hover {
    transform: translate3d(0, -3px, 0);
    border-color: rgba(94, 234, 212, 0.5);
    background: rgba(255, 255, 255, 0.14);
}
.ipf-cta-wa {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    border-color: #34d399;
    box-shadow: 0 12px 26px -8px rgba(16, 185, 129, 0.48);
}
.ipf-cta-wa:hover {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    box-shadow: 0 16px 32px -8px rgba(16, 185, 129, 0.6);
}
.ipf-cta-vcard {
    background: rgba(217, 119, 6, 0.2);
    border-color: rgba(251, 191, 36, 0.42);
}
.ipf-cta-vcard:hover {
    background: var(--pf-gold);
    border-color: var(--pf-gold);
}
.ipf-cta-arrow {
    transition: transform 0.25s ease;
}
.ipf-cta-pill:hover .ipf-cta-arrow {
    transform: translateX(3px);
}

/* 4-Card Responsive Bento Grid */
.ipf-contact-bento {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.ipf-bento-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 22px 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s var(--ipf-ease-pro), background 0.25s ease, border-color 0.25s ease, box-shadow 0.3s ease;
}
.ipf-bento-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #5eead4, var(--pf-gold));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s var(--ipf-ease-pro);
}
@media (hover: hover) and (pointer: fine) {
    .ipf-bento-card:hover {
        transform: translate3d(0, -5px, 0);
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(94, 234, 212, 0.42);
        box-shadow: 0 18px 36px -12px rgba(0, 0, 0, 0.35);
    }
    .ipf-bento-card:hover::before {
        transform: scaleX(1);
    }
}
.ipf-bento-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}
.ipf-bento-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(13, 148, 136, 0.26);
    border: 1px solid rgba(94, 234, 212, 0.25);
    color: #5eead4;
    font-size: 17px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ipf-bento-card small {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    color: #94a3b8;
    margin-bottom: 5px;
}
.ipf-bento-val {
    display: block;
    font-size: 15.5px;
    font-weight: 700;
    color: #ffffff !important;
    text-decoration: none !important;
    word-break: break-word;
    line-height: 1.35;
}
a.ipf-bento-val:hover {
    color: #5eead4 !important;
}
.ipf-bento-sub {
    margin-top: 6px;
    font-size: 12.5px;
    color: #cbd5e1;
}
.ipf-bento-sub a {
    color: #99f6e4;
    text-decoration: none;
    font-weight: 600;
}
.ipf-contact-footer-links {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

@media (max-width: 980px) {
    .ipf-contact-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .ipf-contact-v2 {
        padding: 56px 0 64px;
    }
    .ipf-contact-bento {
        grid-template-columns: 1fr;
    }
    .ipf-contact-primary-ctas .ipf-cta-pill {
        width: 100%;
        justify-content: center;
    }
}

/* === Universal Mobile + PC Smooth Motion Enhancements === */
.ipf-bento-card {
    -webkit-tap-highlight-color: transparent;
}
.ipf-project-card:active::before,
.ipf-exp-card:active::before,
.ipf-ach-card:active::before,
.ipf-bento-card:active::before {
    transform: scaleX(1);
}
.ipf-project-card:active .ipf-project-thumb img {
    transform: scale(1.03);
}
.ipf-cta-pill:active,
.ipf-qchip:active,
.ipf-skill-tag:active,
.ipf-bento-card:active {
    transform: scale(0.98);
}


/* === Simple Work Summary Strip === */
.ipf-summary-section {
    padding: 46px 0;
    background: #ffffff;
    border-top: 1px solid var(--pf-border);
    border-bottom: 1px solid var(--pf-border);
}
.ipf-summary-intro {
    max-width: 680px;
    margin: 0 0 24px;
    font-size: 15px;
    color: var(--pf-muted);
}
.ipf-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.ipf-summary-card {
    background: #fafaf9;
    border: 1px solid var(--pf-border);
    border-top: 3px solid var(--pf-accent);
    border-radius: 14px;
    padding: 18px 18px 20px;
}
.ipf-summary-card:nth-child(2) {
    border-top-color: var(--pf-gold);
}
.ipf-summary-card:nth-child(3) {
    border-top-color: var(--pf-dark);
}
.ipf-summary-card:nth-child(4) {
    border-top-color: #059669;
}
.ipf-summary-num {
    font-size: 24px;
    font-weight: 800;
    color: var(--pf-dark);
    line-height: 1.15;
    margin-bottom: 6px;
}
.ipf-summary-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--pf-dark);
    margin: 0 0 6px;
}
.ipf-summary-desc {
    font-size: 13px;
    color: var(--pf-muted);
    margin: 0;
    line-height: 1.55;
}
@media (max-width: 900px) {
    .ipf-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .ipf-summary-section {
        padding: 36px 0;
    }
    .ipf-summary-grid {
        grid-template-columns: 1fr;
    }
}


/* === Distinct Separation Between Experience & Achievements + Company/Org Logo Badge === */
.ipf-exp-section-separated {
    background: #ffffff;
    border-top: 2px solid var(--pf-border);
    border-bottom: 2px solid var(--pf-border);
}
.ipf-ach-section-separated {
    background: linear-gradient(180deg, #fafaf9 0%, #f5f5f4 100%);
    border-top: 2px solid rgba(217, 119, 6, 0.22);
}
.ipf-eyebrow-gold {
    color: #92400e;
    background: var(--pf-gold-soft);
    border-color: rgba(217, 119, 6, 0.28);
}
.ipf-section-head-split {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--pf-border);
}
.ipf-section-head-split .ipf-section-heading {
    margin-bottom: 0;
}
.ipf-section-subnote {
    margin: 0;
    max-width: 420px;
    font-size: 14px;
    color: var(--pf-muted);
    line-height: 1.55;
}
.ipf-card-brand-row {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 6px 0 8px;
}
.ipf-entity-logo-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid var(--pf-border);
    box-shadow: 0 2px 6px rgba(11, 25, 44, 0.05);
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ipf-entity-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}
.ipf-card-brand-title {
    flex: 1;
    min-width: 0;
}
.ipf-card-brand-title h3 {
    margin: 0 0 3px;
}
.ipf-card-brand-title .ipf-org,
.ipf-card-brand-title .ipf-ach-issuer {
    margin-bottom: 0;
}
@media (max-width: 640px) {
    .ipf-entity-logo-box {
        width: 42px;
        height: 42px;
    }
}


/* === Distinct Leadership Section Styling === */
.ipf-lead-section-separated {
    background: #f8fafc;
    border-top: 2px solid rgba(13, 148, 136, 0.25);
    border-bottom: 2px solid var(--pf-border);
}
.ipf-eyebrow-teal {
    color: var(--pf-accent-deep);
    background: #f0fdfa;
    border-color: rgba(13, 148, 136, 0.3);
}
.ipf-role-tag-teal {
    background: #ccfbf1;
    color: #0f766e;
}


/* === Distinct Organized Events Section Styling === */
.ipf-events-section-separated {
    background: #ffffff;
    border-top: 2px solid rgba(11, 25, 44, 0.14);
}
.ipf-eyebrow-navy {
    color: var(--pf-dark);
    background: #f1f5f9;
    border-color: rgba(11, 25, 44, 0.22);
}
.ipf-role-tag-navy {
    background: #e2e8f0;
    color: var(--pf-dark);
}
