/* ==========================================
   NKCode.dev Professional Theme
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{
    --primary:#2563eb;
    --linkedin:#0A66C2;
    --instagram:#d62976;
    --github:#24292f;
    --medium:#000;
    --text:#ffffff;
    --text-muted:#94a3b8;
    --card:rgba(255,255,255,.06);
}

body{
    font-family:'Inter',sans-serif;
    background:
        radial-gradient(circle at top,#1e3a8a 0%,#111827 35%,#020617 100%);
    color:var(--text);
    min-height:100vh;
}

.container{
    max-width:1100px;
    margin:auto;
    padding:50px 20px;
}

/* ==========================================
   Hero Card
========================================== */

.hero{
    background:var(--card);
    backdrop-filter:blur(20px);
    border:1px solid rgba(255,255,255,.08);
    border-radius:28px;
    padding:55px;
    text-align:center;
    box-shadow:
        0 20px 60px rgba(0,0,0,.35);
}

.avatar{
    width:130px;
    height:130px;
    border-radius:50%;
    margin:auto;
    background:linear-gradient(135deg,#2563eb,#4f46e5);
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:46px;
    font-weight:800;
    box-shadow:0 15px 40px rgba(37,99,235,.35);
}

h1{
    font-size:54px;
    margin-top:25px;
    font-weight:800;
}

.tag{
    margin-top:10px;
    color:var(--text-muted);
    font-size:18px;
}

.desc{
    max-width:720px;
    margin:28px auto;
    color:#d1d5db;
    line-height:1.9;
    font-size:17px;
}

/* ==========================================
   Social Buttons
========================================== */

.grid{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:18px;
    margin-top:40px;
}

.btn{
    min-width:180px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;

    text-decoration:none;
    color:#fff;

    padding:18px 24px;
    border-radius:14px;

    font-weight:700;
    transition:all .25s ease;

    box-shadow:0 12px 30px rgba(0,0,0,.25);
}

.btn:hover{
    transform:translateY(-4px);
    box-shadow:0 20px 40px rgba(0,0,0,.35);
}

.website{
    background:#2563eb;
}

.website:hover{
    background:#1d4ed8;
}

.linkedin{
    background:#0A66C2;
}

.linkedin:hover{
    background:#004182;
}

.github{
    background:#24292f;
}

.github:hover{
    background:#0d1117;
}

.instagram{
    background:linear-gradient(
        135deg,
        #f58529,
        #dd2a7b,
        #8134af
    );
}

.instagram:hover{
    filter:brightness(1.08);
}

.medium{
    background:#000;
}

.medium:hover{
    background:#222;
}

/* ==========================================
   Sections
========================================== */

.section{
    margin-top:45px;
    background:var(--card);
    backdrop-filter:blur(18px);
    border-radius:22px;
    padding:35px;
}

.section h2{
    text-align:center;
    margin-bottom:28px;
    font-size:28px;
}

/* ==========================================
   Resource Cards
========================================== */

.card{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 22px;
    margin-bottom:16px;

    background:#1f2937;
    border-radius:14px;

    transition:.25s;
}

.card:hover{
    transform:translateY(-3px);
}

.card span{
    font-size:17px;
    font-weight:600;
}

.card a{
    text-decoration:none;
    background:var(--primary);
    color:#fff;
    padding:11px 20px;
    border-radius:8px;
    font-weight:600;
}

.card a:hover{
    background:#1d4ed8;
}

/* ==========================================
   Contact Form
========================================== */

input,
textarea{

    width:100%;
    padding:15px 18px;

    margin-bottom:16px;

    border:none;
    border-radius:12px;

    background:#f8fafc;
    font-size:15px;
}

textarea{
    resize:vertical;
}

button{

    width:100%;

    padding:16px;

    border:none;
    border-radius:12px;

    background:var(--primary);
    color:#fff;

    font-size:16px;
    font-weight:700;

    cursor:pointer;

    transition:.25s;
}

button:hover{
    background:#1d4ed8;
}

/* ==========================================
   Footer
========================================== */

footer{
    text-align:center;
    color:var(--text-muted);
    margin:45px 0 10px;
}

/* ==========================================
   Responsive
========================================== */

@media(max-width:992px){

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

    h1{
        font-size:42px;
    }

}

@media(max-width:600px){

    .hero{
        padding:35px 22px;
    }

    .grid{
        grid-template-columns:1fr;
    }

    h1{
        font-size:34px;
    }

    .avatar{
        width:100px;
        height:100px;
        font-size:34px;
    }

    .card{
        flex-direction:column;
        gap:15px;
        text-align:center;
    }

}

.newsletter-box{
    margin-top:40px;
    padding:35px;
    border-radius:20px;
    text-align:center;
    background:linear-gradient(135deg,#312e81,#4338ca);
}

.subscribe-btn{
    display:inline-block;
    margin-top:20px;
    padding:15px 28px;
    border-radius:12px;
    background:#fff;
    color:#312e81;
    font-weight:700;
    text-decoration:none;
}

.subscribe-btn:hover{
    transform:translateY(-2px);
}

.newsletter-links{

    margin-top:18px;

    text-align:center;

}

.newsletter-links a{

    color:#dbe7ff;

    font-size:14px;

    text-decoration:none;

    opacity:.8;

    transition:.25s;

}

.newsletter-links a:hover{

    opacity:1;

    color:white;

    text-decoration:underline;

}

.file-info{
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.file-title{
    margin:0;
    font-size:18px;
    font-weight:700;
    color:#fff;
    line-height:1.25;
}

.file-meta{

    display:flex;
    align-items:center;
    gap:14px;

    margin-top:4px;

    font-size:11px;      /* smaller */
    font-weight:400;     /* lighter */

    color:#7c879d;       /* softer gray */

    letter-spacing:.2px;

}

.file-meta span{

    display:flex;
    align-items:center;
    gap:4px;

    opacity:.9;

}

.meta-icon{
    font-size:12px;
    opacity:.75;
}
.file-meta span{
    display:flex;
    align-items:center;
}

.file-meta .dot{
    width:4px;
    height:4px;
    border-radius:50%;
    background:#64748b;
}