:root {
    --bg: #000;
    --bg-alt: #0a0a0a;
    --card: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    --text: #fff;
    --muted: #9ca3af;
    --accent: #3b82f6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* NAV */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, .8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.nav-container {
    max-width: 1500px;
    margin: auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
}

.navbar a {
    color: var(--muted);
    margin-left: 1.5rem;
    text-decoration: none;
}

.navbar a:hover {
    color: var(--text);
}

.navbar a:active {
    color: white;
}

/* BURGER MENU */

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.burger span {
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: 0.3s;
}

/* MOBILE NAV */

@media (max-width: 768px) {

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 2rem 0;
        display: none;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

    .burger {
        display: flex;
    }

    .navbar a {
        margin: 0;
        font-size: 1.1rem;
    }
}

/* SECTIONS */
.section {
    padding: 8rem 1.5rem 5rem;
    max-width: 1500px;
    margin: auto;
}

/* HERO */
.hero-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    letter-spacing: 0.15em;
}

.tag {
    color: var(--accent);
    font-weight: 600;
}

.hero-image img {
    width: 100%;
    border-radius: 16px;
    opacity: .85;
}

/* BUTTONS */
.btn {
    padding: .75rem 2rem;
    display: inline-block;
    text-decoration: none;
    margin-right: 1rem;
}

.btn.primary {
    background: white;
    color: black;
}

.btn.outline {
    border: 1px solid var(--border);
    color: white;
}

/* DIVIDER */
.divider {
    width: 5rem;
    height: 4px;
    background: white;
    margin: 1rem 0 3rem;
}

/* CARDS */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: 14px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0 1.25rem;
}

.card-tags span {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ddd;
}

.card-divider {
    height: 1px;
    width: 100%;
    background: rgba(255, 255, 255, 0.12);
    margin: 1.25rem 0;
}

.card-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-checklist li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #cfcfcf;
}

.card-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #3b82f6;
    font-weight: bold;
}

/* GRIDS */
.about-grid,
.portfolio-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* ABOUT ME */

.about-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.about-info-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
}

.about-info-card h3 {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.about-info-card p,
.about-info-card small {
    color: #ccc;
}

.about-icon {
    font-size: 1.2rem;
    color: var(--accent);
}

/* SKILLS */

.skills-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.skills-card h3 {
    margin-bottom: 1.5rem;
}

.skills-grid {
    display: grid;
    gap: 1.25rem;
}

.skill-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
    align-items: center;
}

.skill-percent {
    color: #bbb;
    font-size: 0.85rem;
}

.skill-bar {
    grid-column: 1 / -1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
}

.skill-bar div {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}

/* EXPERIENCE */

.experience-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.experience-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
}

.experience-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.experience-date {
    font-size: 0.85rem;
    color: var(--muted);
}

.experience-location {
    margin-top: 0.4rem;
    font-size: 0.85rem;
    color: #bbb;
}

.experience-role {
    margin-top: 0.6rem;
    font-weight: 700;
    color: var(--accent);
}

.experience-card ul {
    margin-top: 1rem;
    padding-left: 1.2rem;
}

.experience-card li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #ddd;
}

/* TIMELINE */
.timeline-item {
    padding: 1.5rem;
    border-left: 3px solid var(--accent);
    margin-bottom: 1.5rem;
}

/* EDUCATION */

.edu-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.edu-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
}

.edu-icon {
    font-size: 1.4rem;
}

.edu-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.edu-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.edu-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.edu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.edu-top h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.edu-year {
    font-size: 0.9rem;
    color: var(--muted);
}

.edu-location {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #bbb;
}

.edu-degree {
    margin-top: 0.75rem;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.95rem;
}

.edu-detail {
    margin-top: 0.35rem;
    font-size: 0.9rem;
    color: #cfcfcf;
}

/* CERTIFICATIONS */

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.cert-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.cert-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
}

.cert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cert-header h3 {
    font-size: 1rem;
    font-weight: 700;
}

.cert-year {
    font-size: 0.85rem;
    color: var(--muted);
}

.cert-org {
    color: var(--accent);
    font-weight: 600;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.cert-location {
    font-size: 0.85rem;
    color: #bbb;
}

/* Continuous Learning Card */

.learning-card {
    margin-top: 3rem;
    background: linear-gradient(135deg, #0b1220, #1b1033);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border);
}

.learning-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.learning-card p {
    color: #ccc;
    max-width: 900px;
    line-height: 1.6;
}


/* CONTACT SECTION */
.contact-section {
    max-width: 1200px;
    margin: auto;
    padding-top: 3rem;
}

.contact-section h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-align: center;
}

.underline {
    width: 100px;
    height: 3px;
    background: white;
    margin: 0.5rem auto 1.75rem;
    border-radius: 2px;
}

.contact-intro {
    color: var(--muted);
    margin-bottom: 3rem;
    font-size: 1rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.contact-form input,
.contact-form textarea {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: var(--text);
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #777;
}

.btn-send {
    background: white;
    color: black;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
}

.btn-send:hover {
    background: #e5e5e5;
}

.send-icon {
    font-size: 1.1rem;
}

/* Info Cards */

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: var(--card);
    border-radius: 10px;
    padding: 1.5rem;
    color: #ddd;
}

.info-card h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.info-card p {
    line-height: 1.5;
    color: #bbb;
}

.email-link {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #a1a1ff;
}

.email-link a {
    color: #a1a1ff;
    text-decoration: none;
}

.email-link a:hover {
    text-decoration: underline;
}

.email-link svg {
    stroke: #a1a1ff;
    fill: none;
}

/* Social Buttons */

.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--card);
    border-radius: 8px;
    color: #ddd;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.social-btn svg {
    fill: #777;
    transition: fill 0.3s ease;
}

.social-btn:hover {
    background: #222;
    color: white;
}

.social-btn:hover svg {
    fill: #a1a1ff;
}

/* Responsive */

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-intro {
        margin-bottom: 2rem;
    }
}

/* FOOTER */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--border);
    color: var(--muted);
}


/* Made by Bl4ckBD */
/* If you don't believe me, then I guess there's nothing I can do about it.*/
/* Maybe I had help with the choosing of the colors, okay? */

/*Hi there Stranger that's currently checking out this code, how are you feeling today? */