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

body {
    font-family: "Poppins", sans-serif;
    color: #f9fafb;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a, #1f2937, #0f766e, #7c3aed);
    background-size: 300% 300%;
    animation: gradientMove 18s ease infinite;
}

/* Animated gradient background */
@keyframes gradientMove {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 1000px;
    margin: 100px auto 40px;
    padding: 0 16px;
}

/* HEADER & NAVBAR */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    backdrop-filter: blur(10px);
    background: rgba(15, 23, 42, 0.7);
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    z-index: 100;
}

.logo {
    font-weight: 600;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.logo span {
    color: #38bdf8;
}

.nav-link {
    margin-left: 18px;
    text-decoration: none;
    color: #e5e7eb;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #22c55e, #38bdf8, #a855f7);
    transition: width 0.25s ease;
}

.nav-link:hover {
    color: #ffffff;
}

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

/* CARDS */

.card {
    background: rgba(15, 23, 42, 0.85);
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.4);
    margin-bottom: 26px;
    transform: translateY(20px);
    opacity: 0;
}

/* visible class added by jQuery */
.card.visible {
    transform: translateY(0);
    opacity: 1;
    transition: all 0.6s ease;
}

/* HERO SECTION */

.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.hero-text {
    flex: 1 1 300px;
}

.tagline {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: #a5b4fc;
}

.hero-text h1 {
    font-size: 2.3rem;
    margin: 8px 0;
}

.hero-text h2 {
    font-weight: 400;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #c4b5fd;
}

.hero-text p {
    font-size: 0.96rem;
    color: #e5e7eb;
    max-width: 480px;
    line-height: 1.6;
}

.hero-buttons {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.primary-btn {
    background: linear-gradient(90deg, #22c55e, #38bdf8, #a855f7);
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.5);
    color: #0f172a;
    font-weight: 600;
}

.outline-btn {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.9);
    color: #e5e7eb;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.9);
}

/* PROFILE CIRCLE */

.hero-photo {
    flex: 0 0 220px;
    text-align: center;
}

.profile-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, #f97316, #e11d48, #6366f1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 8px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
    border: 3px solid rgba(248, 250, 252, 0.7);
}

.profile-circle span {
    font-size: 3rem;
    font-weight: 600;
    color: #f9fafb;
}

.photo-note {
    font-size: 0.8rem;
    color: #cbd5f5;
}

/* STATS */

.stats-section h3 {
    margin-bottom: 14px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
}

.stat-box {
    padding: 14px;
    border-radius: 14px;
    background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.25), transparent 60%);
    border: 1px solid rgba(148, 163, 184, 0.4);
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 600;
}

.stat-label {
    font-size: 0.85rem;
    color: #e5e7eb;
}

/* PAGE TITLES */

.page-title {
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.page-subtitle {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: #cbd5f5;
}

/* RESUME SECTIONS */

.resume-section {
    margin-bottom: 22px;
}

.resume-section h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    border-left: 3px solid #38bdf8;
    padding-left: 8px;
}

.resume-item {
    margin-bottom: 14px;
}

.resume-item h3 {
    font-size: 1rem;
}

.item-meta {
    font-size: 0.82rem;
    color: #a5b4fc;
    margin-bottom: 4px;
}

.resume-item p {
    font-size: 0.9rem;
    color: #e5e7eb;
}

/* SKILL CHIPS */

.chip-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip-list li {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    font-size: 0.82rem;
    background: rgba(15, 23, 42, 0.9);
}

/* CONTACT LIST */

.contact-list {
    list-style: none;
    font-size: 0.9rem;
}

.contact-list li {
    margin-bottom: 4px;
}

/* BIO TABLE */

.bio-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 18px;
    font-size: 0.9rem;
}

.bio-table th,
.bio-table td {
    padding: 10px 12px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    vertical-align: top;
}

.bio-table th {
    width: 30%;
    text-align: left;
    background: rgba(15, 23, 42, 0.9);
}

.declaration {
    font-size: 0.9rem;
    margin-top: 8px;
}

/* FOOTER */

.site-footer {
    text-align: center;
    padding: 18px 12px 26px;
    font-size: 0.8rem;
    color: #e5e7eb;
}

/* RESPONSIVE */

@media (max-width: 640px) {
    .site-header {
        padding: 0 16px;
    }

    .nav-link {
        margin-left: 10px;
        font-size: 0.82rem;
    }

    .hero {
        flex-direction: column-reverse;
    }

    .profile-circle {
        width: 150px;
        height: 150px;
    }
}
.site-header.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.9);
}
/* REAL PHOTO CIRCLE */
.profile-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 4px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
    animation: photoPop 0.8s ease;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Smooth animation */
@keyframes photoPop {
    0% { transform: scale(0.6); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

