/* ============================================================
   ALI FALAH PORTFOLIO — SITE.CSS
   Premium Dark Theme · Gold Accent · Glassmorphism
   ============================================================ */

/* --- FONTS & VARIABLES --- */
:root {
    --gold: #f5c518;
    --gold-dim: #c9a012;
    --gold-glow: rgba(245, 197, 24, 0.25);
    --bg: #050810;
    --bg-2: #0b0f1a;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(245, 197, 24, 0.3);
    --text: #e8eaf0;
    --text-muted: #8892a4;
    --white: #ffffff;
    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --font-arabic: 'Noto Kufi Arabic', sans-serif;
    --radius: 14px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & BASE --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: clip;
}

    body[dir="rtl"] {
        font-family: var(--font-arabic), var(--font-body);
    }

/* --- GRID BACKGROUND --- */
.grid-bg {
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(245, 197, 24, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(245, 197, 24, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* --- GLOW ORBS --- */
.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
    animation: orbFloat 10s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(245, 197, 24, 0.06);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(59, 130, 246, 0.05);
    bottom: 10%;
    right: -50px;
    animation-delay: -4s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(245, 197, 24, 0.04);
    top: 50%;
    left: 40%;
    animation-delay: -7s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

/* --- NAVBAR --- */
.site-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(5, 8, 16, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

    .site-navbar.scrolled {
        padding: 0.6rem 0;
        background: rgba(5, 8, 16, 0.95);
        box-shadow: 0 4px 30px rgba(0,0,0,0.4);
    }

.brand-logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white) !important;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.brand-bracket {
    color: var(--gold);
}

.site-navbar .nav-link {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-muted) !important;
    text-transform: uppercase;
    padding: 0.4rem 0.75rem !important;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

    .site-navbar .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: var(--gold);
        border-radius: 2px;
        transition: var(--transition);
    }

    .site-navbar .nav-link:hover,
    .site-navbar .nav-link.active {
        color: var(--white) !important;
    }

        .site-navbar .nav-link:hover::after,
        .site-navbar .nav-link.active::after {
            width: 70%;
        }

.lang-toggle-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.05em;
}

    .lang-toggle-btn:hover {
        background: var(--gold);
        color: #000;
        box-shadow: 0 0 16px var(--gold-glow);
    }

/* Custom hamburger */
.custom-toggler {
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

    .custom-toggler span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--text);
        border-radius: 2px;
        transition: var(--transition);
    }

/* --- SECTION COMMON --- */
.section-pad {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    margin: 0.3rem 0 1rem;
    letter-spacing: -0.02em;
}

.section-sub {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto;
}

.section-line {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    border-radius: 2px;
    margin: 0 auto;
}

.gold {
    color: var(--gold);
}

.gold-text {
    color: var(--gold);
    font-weight: 600;
}

/* --- HERO SECTION --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    position: relative;
    z-index: 1;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-greeting {
    font-size: 1rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.hero-name {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.name-line {
    display: block;
    color: var(--white);
}

    .name-line.gold {
        color: var(--gold);
        text-shadow: 0 0 40px var(--gold-glow);
    }

.hero-role {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    min-height: 2rem;
}

.role-prefix, .role-suffix {
    color: var(--gold);
    opacity: 0.7;
}

.typed-text {
    color: var(--white);
}

.cursor-blink {
    color: var(--gold);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-bio {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 500px;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 2rem;
}

.btn-primary-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.75rem 1.8rem;
    background: var(--gold);
    color: #000;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: var(--transition);
    box-shadow: 0 0 20px var(--gold-glow);
}

    .btn-primary-glow:hover {
        background: #fff;
        color: #000;
        box-shadow: 0 0 40px rgba(255,255,255,0.2);
        transform: translateY(-2px);
    }

.btn-outline-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.75rem 1.8rem;
    background: transparent;
    color: var(--gold);
    border: 1.5px solid var(--gold);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
}

    .btn-outline-glow:hover {
        background: var(--gold);
        color: #000;
        box-shadow: 0 0 20px var(--gold-glow);
        transform: translateY(-2px);
    }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

    .btn-ghost:hover {
        background: var(--bg-card-hover);
        border-color: var(--border-gold);
        color: var(--white);
        transform: translateY(-2px);
    }

.hero-socials {
    display: flex;
    gap: 14px;
}

.h-social {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

    .h-social:hover {
        border-color: var(--gold);
        color: var(--gold);
        box-shadow: 0 0 12px var(--gold-glow);
        transform: translateY(-3px);
    }

/* --- ID CARD --- */
.hero-card-wrap {
    position: relative;
    width: 430px;
    height: 560px;
    margin-left: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1600px;
    transform: translateY(-35px);
}

.id-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(245, 197, 24, 0.2);
    backdrop-filter: blur(30px);
    border-radius: 24px;
    padding: 2rem;
    width: 280px;
    box-shadow: 0 0 60px rgba(245, 197, 24, 0.1), 0 30px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
    transition: transform 0.1s ease;
    position: relative;
    z-index: 2;
}

.id-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.id-card-logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    color: var(--white);
}

.id-badge {
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--gold);
    background: rgba(245,197,24,0.1);
    border: 1px solid var(--border-gold);
    padding: 3px 8px;
    border-radius: 20px;
}

.id-card-avatar {
    display: flex;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.avatar-ring {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: conic-gradient(var(--gold), transparent, var(--gold));
    padding: 3px;
    animation: spinRing 6s linear infinite;
}

@keyframes spinRing {
    to {
        transform: rotate(360deg);
    }
}

.avatar-inner {
    width: 100%;
    height: 100%;
    background: var(--bg-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--gold);
}

.id-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
    text-align: center;
    margin-bottom: 0.2rem;
}

.id-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 1rem;
}

.id-divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 1rem;
}

.id-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.id-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

    .id-row i {
        color: var(--gold);
        width: 14px;
    }

.id-card-footer {
    margin-top: 1rem;
}

.id-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #22c55e;
    justify-content: center;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(34,197,94,0.4);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(34,197,94,0);
    }
}

.card-glow-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(245,197,24,0.1);
    animation: ringExpand 4s ease-in-out infinite;
}

.ring-1 {
    width: 350px;
    height: 350px;
    animation-delay: 0s;
}

.ring-2 {
    width: 450px;
    height: 450px;
    animation-delay: -2s;
}

@keyframes ringExpand {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.1;
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: scrollBounce 1.8s ease-in-out infinite;
    text-align: center;
}

.scroll-dot {
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}

/* --- ABOUT SECTION --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-lead {
    font-size: 1.15rem;
    color: var(--white);
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.about-body {
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 1rem;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1.5rem;
}

.tag {
    padding: 5px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.82rem;
    color: var(--text-muted);
    transition: var(--transition);
}

    .tag:hover {
        border-color: var(--gold);
        color: var(--gold);
    }

.stat-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

    .stat-card:hover {
        border-color: var(--border-gold);
        box-shadow: 0 0 20px var(--gold-glow);
        transform: translateY(-4px);
    }

.stat-icon {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 0.8rem;
}

.stat-label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--white);
    margin-bottom: 0.4rem;
}

.stat-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- SKILLS SECTION --- */
.skills-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.skill-cat-btn {
    padding: 0.5rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 0.83rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.03em;
}

    .skill-cat-btn:hover, .skill-cat-btn.active {
        background: var(--gold);
        border-color: var(--gold);
        color: #000;
    }

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.4rem;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

    .skill-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(245,197,24,0.04), transparent);
        opacity: 0;
        transition: var(--transition);
    }

    .skill-card:hover {
        border-color: var(--border-gold);
        transform: translateY(-6px);
        box-shadow: 0 0 24px var(--gold-glow);
    }

        .skill-card:hover::before {
            opacity: 1;
        }

    .skill-card.hidden {
        display: none;
    }

.skill-icon-wrap {
    width: 56px;
    height: 56px;
    background: rgba(245,197,24,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
}

.skill-ico {
    font-size: 1.5rem;
    color: var(--gold);
}

.skill-ico-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--gold);
}

.skill-name {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.8rem;
}

.skill-bar {
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.6rem;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-dim));
    border-radius: 4px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-badge {
    font-size: 0.68rem;
    color: var(--gold);
    background: rgba(245,197,24,0.1);
    border: 1px solid rgba(245,197,24,0.2);
    padding: 2px 8px;
    border-radius: 10px;
    letter-spacing: 0.05em;
}

/* --- PROJECTS SECTION --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

    .project-card:hover {
        border-color: var(--border-gold);
        box-shadow: 0 0 40px rgba(245,197,24,0.08), 0 20px 40px rgba(0,0,0,0.4);
        transform: translateY(-8px);
    }

.project-img-wrap {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245,197,24,0.08), rgba(59,130,246,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.5;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5,8,16,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.proj-overlay-btn {
    width: 46px;
    height: 46px;
    background: rgba(245,197,24,0.15);
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    transform: scale(0.8);
}

.project-card:hover .proj-overlay-btn {
    transform: scale(1);
}

.proj-overlay-btn:hover {
    background: var(--gold);
    color: #000;
}

.project-body {
    padding: 1.5rem;
}

.project-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.project-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1.2rem;
}

.proj-tag {
    padding: 3px 10px;
    background: rgba(245,197,24,0.08);
    border: 1px solid rgba(245,197,24,0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 600;
}

.project-btns {
    display: flex;
    gap: 10px;
}

.btn-proj-view, .btn-proj-github {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 0.83rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-proj-view {
    background: var(--gold);
    color: #000;
}

    .btn-proj-view:hover {
        background: #fff;
        color: #000;
    }

.btn-proj-github {
    background: var(--bg-card-hover);
    border: 1px solid var(--border);
    color: var(--text);
}

    .btn-proj-github:hover {
        border-color: var(--gold);
        color: var(--gold);
    }

/* --- CERTIFICATES SECTION --- */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.cert-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
}

    .cert-card:hover {
        border-color: var(--border-gold);
        box-shadow: 0 0 20px var(--gold-glow);
        transform: translateY(-4px);
    }

.cert-icon-wrap {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: rgba(245,197,24,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-ico {
    font-size: 1.4rem;
    color: var(--gold);
}

.cert-body {
    flex: 1;
}

.cert-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.2rem;
}

.cert-issuer {
    font-size: 0.82rem;
    color: var(--gold);
    margin-bottom: 0.1rem;
}

.cert-date {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.cert-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    padding: 6px;
}

    .cert-link:hover {
        color: var(--gold);
    }

/* --- CONTACT SECTION --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 50px;
    align-items: start;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.2rem 1.5rem;
    margin-bottom: 14px;
    transition: var(--transition);
}

    .contact-info-card:hover {
        border-color: var(--border-gold);
    }

.ci-icon {
    width: 44px;
    height: 44px;
    background: rgba(245,197,24,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--gold);
    flex-shrink: 0;
}

.ci-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ci-val {
    font-weight: 600;
    color: var(--white);
    font-size: 0.95rem;
}

.contact-socials {
    display: flex;
    gap: 12px;
    margin-top: 1.5rem;
}

.c-social {
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
}

    .c-social:hover {
        border-color: var(--gold);
        color: var(--gold);
        box-shadow: 0 0 12px var(--gold-glow);
    }

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.form-row-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-field {
    margin-bottom: 16px;
}

.field-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.field-input, .field-textarea {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

    .field-input:focus, .field-textarea:focus {
        border-color: var(--gold);
        box-shadow: 0 0 12px var(--gold-glow);
        background: rgba(245,197,24,0.03);
    }

    .field-input::placeholder, .field-textarea::placeholder {
        color: rgba(255,255,255,0.2);
    }

.field-textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit-glow {
    width: 100%;
    padding: 0.9rem;
    background: var(--gold);
    color: #000;
    border: none;
    border-radius: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    letter-spacing: 0.03em;
}

    .btn-submit-glow:hover {
        background: #fff;
        box-shadow: 0 0 30px rgba(255,255,255,0.15);
        transform: translateY(-2px);
    }

/* --- FOOTER --- */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    position: relative;
    z-index: 1;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

    .social-link:hover {
        border-color: var(--gold);
        color: var(--gold);
    }

/* --- ANIMATIONS --- */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

    .fade-up.visible {
        opacity: 1;
        transform: translateY(0);
    }

.delay-1 {
    transition-delay: 0.1s !important;
}

.delay-2 {
    transition-delay: 0.2s !important;
}

.delay-3 {
    transition-delay: 0.3s !important;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-card-wrap {
        display: none;
    }

    .hero-btns, .hero-socials {
        justify-content: center;
    }

    .hero-bio {
        margin: 0 auto 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row-duo {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-pad {
        padding: 70px 0;
    }

    .stat-cards-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .certs-grid {
        grid-template-columns: 1fr;
    }
}

/* RTL Support */
[dir="rtl"] .section-line {
    background: linear-gradient(270deg, var(--gold), transparent);
}

[dir="rtl"] .hero-bio {
    margin-right: 0;
}

[dir="rtl"] .navbar-nav {
    padding-right: 0;
}
@media (max-width: 768px) {
    .glow-orb {
        filter: blur(70px);
        opacity: 0.5;
    }

    .grid-bg {
        background-size: 40px 40px;
    }
}

/* --- REALISTIC EMPLOYEE BADGE --- */
.employee-badge-area {
    position: relative;
    width: 430px;
    height: 540px;
    margin-left: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    perspective: 1600px;
    transform: translateY(-25px);
    overflow: visible;
}

.employee-badge-rig {
    position: relative;
    width: 270px;
    height: 520px;
    transform-origin: 50% 0;
    cursor: grab;
    user-select: none;
    will-change: transform;
}

.employee-lanyard {
    position: absolute;
    top: -45px;
    left: 50%;
    width: 30px;
    height: 210px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #050505, #202020 45%, #070707);
    border-radius: 18px;
    z-index: 1;
}

    .employee-lanyard span {
        position: absolute;
        top: 58px;
        left: 50%;
        transform: translateX(-50%) rotate(90deg);
        color: rgba(255,255,255,.5);
        font-size: 8px;
        font-weight: 900;
        letter-spacing: 4px;
        white-space: nowrap;
    }

.employee-metal-ring {
    position: absolute;
    top: 145px;
    left: 50%;
    width: 32px;
    height: 32px;
    transform: translateX(-50%);
    border: 5px solid #b9b9b9;
    border-radius: 50%;
    z-index: 4;
}

.employee-metal-clip {
    position: absolute;
    top: 172px;
    left: 50%;
    width: 15px;
    height: 44px;
    transform: translateX(-50%);
    background: linear-gradient(#d6d6d6, #777);
    border-radius: 14px;
    z-index: 3;
}

.employee-badge-card {
    position: absolute;
    top: 205px;
    left: 50%;
    width: 235px;
    transform: translateX(-50%);
    background: #f3f3f1;
    border-radius: 18px;
    padding: 12px;
    z-index: 2;
    box-shadow: 0 35px 85px rgba(0,0,0,.72), 0 0 55px rgba(245,197,24,.13), inset 0 1px 0 rgba(255,255,255,.9);
}

.employee-badge-slot {
    width: 54px;
    height: 13px;
    background: #0d1018;
    border-radius: 24px;
    margin: 0 auto 11px;
}

.employee-badge-photo {
    width: 100%;
    height: 260px;
    background: #111;
    border-radius: 13px;
    overflow: hidden;
}

    .employee-badge-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top center;
        filter: grayscale(100%) contrast(1.08);
    }

.employee-badge-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    background: #10131c;
    font-family: var(--font-display);
    font-size: 2.7rem;
    font-weight: 900;
}

.employee-badge-info {
    text-align: center;
    padding: 13px 6px 8px;
}

    .employee-badge-info h3 {
        margin: 0;
        color: #111;
        font-family: var(--font-display);
        font-size: 1.2rem;
        font-weight: 900;
    }

    .employee-badge-info p {
        margin: 4px 0 0;
        color: #555;
        font-size: .78rem;
        font-weight: 700;
    }

.employee-badge-footer {
    height: 32px;
    background: #0d1018;
    color: var(--gold);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: .64rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.employee-status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(34,197,94,.75);
}
@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .employee-badge-area {
        width: 100%;
        height: 440px;
        margin: 20px auto 0;
        transform: translateY(0);
        justify-content: center;
    }

    .employee-badge-rig {
        transform: scale(.78);
        transform-origin: top center;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: auto;
        padding-bottom: 40px;
    }

    .employee-badge-area {
        height: 520px;
        margin-top: 20px;
        overflow: visible;
    }

    .employee-badge-rig {
        transform: scale(.58);
        transform-origin: top center;
    }

    .scroll-indicator {
        display: none;
    }
}
/* ============================================================
   CODING MASCOT 3D SCENE
   ============================================================ */

.coding-mascot-section {
    position: relative;
    z-index: 2;
    padding: 40px 0 110px;
}

.coding-scene-card {
    position: relative;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 40px;
    align-items: center;
    min-height: 520px;
    padding: 40px;
    border-radius: 34px;
    background: radial-gradient(circle at 75% 40%, rgba(245,197,24,.10), transparent 38%), linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
    border: 1px solid rgba(255,255,255,.08);
    overflow: hidden;
    box-shadow: 0 45px 100px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06);
}

.coding-scene-text {
    position: relative;
    z-index: 3;
}

    .coding-scene-text .section-header,
    .coding-scene-text .section-title,
    .coding-scene-text .section-sub {
        text-align: left;
        margin-left: 0;
    }

.coding-scene-3d {
    position: relative;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    cursor: pointer;
    user-select: none;
}

.desk-shadow {
    position: absolute;
    bottom: 70px;
    width: 360px;
    height: 70px;
    background: radial-gradient(ellipse, rgba(0,0,0,.65), transparent 70%);
    filter: blur(8px);
    transform: rotateX(65deg);
}

.mascot-wrap {
    position: absolute;
    top: 42px;
    left: 50%;
    width: 160px;
    height: 210px;
    transform: translateX(-50%);
    z-index: 4;
    animation: mascotFloat 3.2s ease-in-out infinite;
}

.mascot-head {
    position: absolute;
    top: 0;
    left: 50%;
    width: 130px;
    height: 112px;
    transform: translateX(-50%);
    background: linear-gradient(145deg, #f5c518, #c99000);
    border-radius: 52% 52% 45% 45%;
    box-shadow: inset 0 6px 0 rgba(255,255,255,.18), 0 18px 32px rgba(0,0,0,.35);
}

.mascot-ear {
    position: absolute;
    top: 5px;
    width: 46px;
    height: 46px;
    background: linear-gradient(145deg, #f5c518, #b98200);
    border-radius: 50%;
    z-index: 1;
}

    .mascot-ear.left {
        left: 12px;
    }

    .mascot-ear.right {
        right: 12px;
    }

.mascot-eye {
    position: absolute;
    top: 42px;
    width: 13px;
    height: 13px;
    background: #10131c;
    border-radius: 50%;
    animation: mascotBlink 4s infinite;
}

    .mascot-eye.left {
        left: 37px;
    }

    .mascot-eye.right {
        right: 37px;
    }

.mascot-nose {
    position: absolute;
    top: 62px;
    left: 50%;
    width: 17px;
    height: 12px;
    transform: translateX(-50%);
    background: #10131c;
    border-radius: 50%;
}

.mascot-mouth {
    position: absolute;
    top: 78px;
    left: 50%;
    width: 34px;
    height: 13px;
    transform: translateX(-50%);
    border-bottom: 3px solid #10131c;
    border-radius: 0 0 24px 24px;
}

.mascot-body {
    position: absolute;
    top: 94px;
    left: 50%;
    width: 116px;
    height: 102px;
    transform: translateX(-50%);
    background: linear-gradient(145deg, #1b2130, #0d1018);
    border-radius: 34px 34px 42px 42px;
    box-shadow: 0 22px 40px rgba(0,0,0,.38);
}

.mascot-arm {
    position: absolute;
    top: 46px;
    width: 34px;
    height: 78px;
    background: #f5c518;
    border-radius: 18px;
    transform-origin: top center;
}

    .mascot-arm.left {
        left: -18px;
        transform: rotate(24deg);
        animation: typingLeft 0.45s ease-in-out infinite;
    }

    .mascot-arm.right {
        right: -18px;
        transform: rotate(-24deg);
        animation: typingRight 0.45s ease-in-out infinite;
    }

.mini-keyboard-3d {
    position: absolute;
    bottom: 70px;
    left: 50%;
    width: 430px;
    padding: 18px;
    border-radius: 28px;
    transform: translateX(-50%) rotateX(58deg) rotateZ(-10deg);
    transform-style: preserve-3d;
    display: grid;
    grid-template-columns: repeat(4, 82px);
    gap: 12px;
    background: linear-gradient(145deg, #111622, #05070d);
    box-shadow: 0 50px 90px rgba(0,0,0,.75), 0 0 80px rgba(245,197,24,.10), inset 0 1px 0 rgba(255,255,255,.08);
    animation: keyboardBreath 3s ease-in-out infinite;
}

.mini-key {
    height: 52px;
    border-radius: 14px;
    transform: translateZ(22px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 900;
    color: #fff;
    box-shadow: 0 12px 0 rgba(0,0,0,.55), 0 22px 28px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.28);
    animation: keyTyping 1.2s ease-in-out infinite;
}

    .mini-key:nth-child(2n) {
        animation-delay: .15s;
    }

    .mini-key:nth-child(3n) {
        animation-delay: .3s;
    }

.angry-bubble {
    position: absolute;
    top: 18px;
    right: 34px;
    z-index: 7;
    background: #fff;
    color: #111;
    border-radius: 20px 20px 20px 4px;
    padding: 10px 15px;
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 900;
    box-shadow: 0 16px 35px rgba(0,0,0,.35);
    opacity: 0;
    transform: translateY(10px) scale(.85);
    transition: .25s ease;
}

    .angry-bubble.show {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

.coding-scene-3d.angry .mascot-head {
    background: linear-gradient(145deg, #ef4444, #991b1b);
}

.coding-scene-3d.angry .mascot-ear {
    background: linear-gradient(145deg, #ef4444, #991b1b);
}

.coding-scene-3d.angry .mascot-eye {
    width: 18px;
    height: 5px;
    border-radius: 4px;
    transform: rotate(-12deg);
}

    .coding-scene-3d.angry .mascot-eye.right {
        transform: rotate(12deg);
    }

.coding-scene-3d.angry .mascot-mouth {
    width: 28px;
    height: 4px;
    border-bottom: 4px solid #10131c;
    border-radius: 8px;
}

.coding-scene-3d.angry .mini-keyboard-3d {
    animation: keyboardShake .25s ease-in-out infinite;
}

.key-yellow {
    background: linear-gradient(145deg, #f5c518, #b98200);
    color: #111;
}

.key-blue {
    background: linear-gradient(145deg, #2563eb, #1e3a8a);
}

.key-cyan {
    background: linear-gradient(145deg, #06b6d4, #0e7490);
}

.key-green {
    background: linear-gradient(145deg, #22c55e, #15803d);
}

.key-purple {
    background: linear-gradient(145deg, #8b5cf6, #5b21b6);
}

.key-orange {
    background: linear-gradient(145deg, #f97316, #c2410c);
}

.key-dark {
    background: linear-gradient(145deg, #1f2937, #05070d);
}

@keyframes mascotFloat {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes mascotBlink {
    0%, 92%, 100% {
        transform: scaleY(1);
    }

    95% {
        transform: scaleY(.15);
    }
}

@keyframes typingLeft {
    0%, 100% {
        transform: rotate(24deg) translateY(0);
    }

    50% {
        transform: rotate(12deg) translateY(10px);
    }
}

@keyframes typingRight {
    0%, 100% {
        transform: rotate(-24deg) translateY(10px);
    }

    50% {
        transform: rotate(-12deg) translateY(0);
    }
}

@keyframes keyboardBreath {
    0%, 100% {
        transform: translateX(-50%) rotateX(58deg) rotateZ(-10deg) translateY(0);
    }

    50% {
        transform: translateX(-50%) rotateX(60deg) rotateZ(-8deg) translateY(-8px);
    }
}

@keyframes keyTyping {
    0%, 100% {
        transform: translateZ(22px);
    }

    50% {
        transform: translateZ(12px) translateY(6px);
    }
}

@keyframes keyboardShake {
    0%, 100% {
        transform: translateX(-50%) rotateX(58deg) rotateZ(-10deg);
    }

    50% {
        transform: translateX(calc(-50% + 5px)) rotateX(58deg) rotateZ(-8deg);
    }
}

@media (max-width: 992px) {
    .coding-scene-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px 20px;
    }

    .coding-scene-text .section-title,
    .coding-scene-text .section-sub {
        text-align: center;
    }

    .coding-scene-3d {
        height: 420px;
        transform: scale(.88);
    }
}

@media (max-width: 576px) {
    .coding-mascot-section {
        padding: 20px 0 70px;
    }

    .coding-scene-card {
        min-height: 560px;
        padding: 24px 14px;
    }

    .coding-scene-3d {
        height: 360px;
        transform: scale(.72);
    }

    .mini-keyboard-3d {
        width: 340px;
        grid-template-columns: repeat(4, 62px);
        gap: 9px;
    }

    .mini-key {
        height: 42px;
        font-size: .62rem;
    }

    .angry-bubble {
        right: 8px;
        top: 8px;
        font-size: .65rem;
    }
}


    




