/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: #09090b;
    color: #f4f4f5;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: min(1120px, 90%);
    margin: auto;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(15px);

    border-bottom: 1px solid #27272a;
}

.nav-container {
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.7rem;
    font-weight: 800;
}

.logo span {
    color: #a78bfa;
}

nav {
    display: flex;
    gap: 28px;
}

nav a {
    color: #a1a1aa;
    font-size: 0.9rem;

    transition: 0.3s;
}

nav a:hover {
    color: #ffffff;
}

.menu-btn {
    display: none;

    background: none;
    border: none;

    color: white;
    font-size: 1.5rem;

    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    padding-top: 100px;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(124, 58, 237, 0.18),
            transparent 35%
        );
}

.hero-content {
    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 70px;

    align-items: center;
}

.hero-small {
    color: #a78bfa;

    font-weight: 600;

    margin-bottom: 12px;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 6rem);

    line-height: 0.95;

    letter-spacing: -4px;
}

.hero h1 span {
    color: #a78bfa;
}

.hero h2 {
    margin-top: 25px;

    font-size: 1.2rem;

    color: #d4d4d8;

    font-weight: 500;
}

.hero-description {
    margin-top: 20px;

    max-width: 600px;

    color: #a1a1aa;
}

.hero-buttons {
    display: flex;

    gap: 15px;

    margin-top: 30px;
}

.btn {
    padding: 12px 22px;

    border-radius: 8px;

    font-weight: 600;

    transition: 0.3s;
}

.primary-btn {
    background: #8b5cf6;
}

.primary-btn:hover {
    background: #7c3aed;

    transform: translateY(-2px);
}

.secondary-btn {
    border: 1px solid #3f3f46;

    color: #e4e4e7;
}

.secondary-btn:hover {
    background: #18181b;
}

.social-links {
    display: flex;

    gap: 20px;

    margin-top: 30px;
}

.social-links a {
    color: #71717a;

    font-size: 0.85rem;

    transition: 0.3s;
}

.social-links a:hover {
    color: #a78bfa;
}


/* =========================
   HERO CARD
========================= */

.hero-card {
    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;
}

.profile-circle {
    width: 170px;
    height: 170px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 3rem;
    font-weight: 800;

    color: white;

    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #4f46e5
        );

    box-shadow:
        0 0 80px rgba(124, 58, 237, 0.3);
}

.code-window {
    width: 100%;
    max-width: 420px;

    margin-top: -20px;

    background: #111113;

    border: 1px solid #27272a;

    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.code-header {
    padding: 12px;

    border-bottom: 1px solid #27272a;
}

.code-header span {
    display: inline-block;

    width: 9px;
    height: 9px;

    margin-right: 5px;

    border-radius: 50%;

    background: #52525b;
}

pre {
    padding: 25px;

    color: #c4b5fd;

    font-size: 0.85rem;

    overflow-x: auto;
}


/* =========================
   SECTIONS
========================= */

.section {
    padding: 110px 0;
}

.section-heading {
    margin-bottom: 55px;
}

.section-heading p,
.section-label {
    color: #8b5cf6;

    font-size: 0.8rem;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 10px;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);

    line-height: 1.1;
}

.section-heading h2 span,
.contact-section h2 span {
    color: #a78bfa;
}


/* =========================
   ABOUT
========================= */

.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;
}

.about-text p {
    color: #a1a1aa;

    margin-bottom: 20px;
}

.text-link {
    color: #a78bfa;

    font-weight: 600;
}

.about-stats {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.stat-card {
    padding: 30px;

    border: 1px solid #27272a;

    background: #111113;

    border-radius: 12px;
}

.stat-card h3 {
    font-size: 1.4rem;
}

.stat-card p {
    color: #71717a;

    margin-top: 5px;
}


/* =========================
   SKILLS
========================= */

.skills-section {
    background: #0d0d0f;
}

.skills-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.skill-card {
    padding: 30px;

    background: #111113;

    border: 1px solid #27272a;

    border-radius: 12px;

    transition: 0.3s;
}

.skill-card:hover {
    transform: translateY(-5px);

    border-color: #52525b;
}

.skill-icon {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #18181b;

    color: #a78bfa;

    border-radius: 8px;

    font-size: 0.75rem;

    font-weight: 700;

    margin-bottom: 20px;
}

.skill-card h3 {
    margin-bottom: 15px;
}

.tags,
.project-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}

.tags span,
.project-tags span {
    padding: 5px 10px;

    border-radius: 5px;

    background: #18181b;

    color: #a1a1aa;

    font-size: 0.75rem;
}


/* =========================
   PROJECTS
========================= */

.projects-grid {
    display: grid;

    gap: 20px;
}

.project-card {
    position: relative;

    display: grid;

    grid-template-columns: 100px 1fr;

    gap: 30px;

    padding: 40px;

    background: #111113;

    border: 1px solid #27272a;

    border-radius: 15px;

    transition: 0.3s;
}

.project-card:hover {
    border-color: #52525b;

    transform: translateY(-4px);
}

.project-number {
    font-size: 3rem;

    color: #27272a;

    font-weight: 800;
}

.project-type {
    color: #8b5cf6;

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 1px;

    margin-bottom: 8px;
}

.project-content h3 {
    font-size: 1.8rem;

    margin-bottom: 12px;
}

.project-content p {
    color: #a1a1aa;

    max-width: 750px;
}

.project-content ul {
    margin: 20px 0;
}

.project-content li {
    color: #a1a1aa;

    margin-bottom: 7px;
}

.project-content li::before {
    content: "→";

    color: #a78bfa;

    margin-right: 10px;
}

.project-tags {
    margin-top: 20px;
}

.project-links {
    display: flex;

    gap: 20px;

    margin-top: 25px;
}

.project-links a {
    color: #c4b5fd;

    font-weight: 600;
}


/* =========================
   EDUCATION
========================= */

.education-section {
    background: #0d0d0f;
}

.timeline {
    max-width: 850px;

    margin: auto;
}

.timeline-item {
    position: relative;

    padding-left: 45px;

    padding-bottom: 50px;

    border-left: 1px solid #3f3f46;
}

.timeline-dot {
    position: absolute;

    left: -6px;

    top: 0;

    width: 11px;
    height: 11px;

    border-radius: 50%;

    background: #8b5cf6;
}

.timeline-content span {
    color: #8b5cf6;

    font-size: 0.8rem;

    font-weight: 600;
}

.timeline-content h3 {
    margin-top: 8px;

    font-size: 1.4rem;
}

.timeline-content h4 {
    color: #d4d4d8;

    font-weight: 500;
}

.timeline-content p {
    color: #71717a;

    margin-top: 5px;
}

.timeline-content strong {
    display: inline-block;

    margin-top: 8px;

    color: #a1a1aa;
}


/* =========================
   CERTIFICATIONS
========================= */

.certifications-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;
}

.cert-card {
    padding: 25px;

    background: #111113;

    border: 1px solid #27272a;

    border-radius: 10px;

    transition: 0.3s;
}

.cert-card:hover {
    transform: translateY(-4px);

    border-color: #52525b;
}

.cert-card span {
    color: #52525b;

    font-size: 0.75rem;
}

.cert-card h3 {
    margin-top: 15px;

    font-size: 1rem;
}

.cert-card p {
    color: #71717a;

    font-size: 0.85rem;
}


/* =========================
   PROFILES
========================= */

.profiles-section {
    padding: 100px 0;

    background: #0d0d0f;
}

.profiles-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;
}

.profile-card {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 25px;

    background: #111113;

    border: 1px solid #27272a;

    border-radius: 10px;

    transition: 0.3s;
}

.profile-card:hover {
    border-color: #8b5cf6;

    transform: translateY(-4px);
}

.profile-card h3 {
    font-size: 1rem;
}

.profile-card p {
    color: #71717a;

    font-size: 0.75rem;
}

.profile-card > span {
    color: #a78bfa;

    font-size: 1.3rem;
}


/* =========================
   CONTACT
========================= */

.contact-section {
    background:
        radial-gradient(
            circle at 50% 100%,
            rgba(124, 58, 237, 0.15),
            transparent 40%
        );
}

.contact-container {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.contact-section h2 {
    font-size: clamp(2.2rem, 5vw, 4rem);

    line-height: 1;

    margin-bottom: 25px;
}

.contact-section > .container > div:first-child > p:last-child {
    color: #a1a1aa;

    max-width: 550px;
}

.contact-details {
    display: flex;

    flex-direction: column;

    gap: 25px;
}

.contact-details > * {
    padding-bottom: 20px;

    border-bottom: 1px solid #27272a;

    color: #d4d4d8;
}

.contact-details span {
    display: block;

    color: #71717a;

    font-size: 0.75rem;

    margin-bottom: 5px;
}

.contact-details a:hover {
    color: #a78bfa;
}


/* =========================
   FOOTER
========================= */

footer {
    border-top: 1px solid #27272a;

    padding: 25px 0;

    color: #52525b;

    font-size: 0.75rem;
}

.footer-content {
    display: flex;

    justify-content: space-between;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

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

    .hero-card {
        display: none;
    }

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

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

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

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

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

}


@media (max-width: 700px) {

    nav {
        position: absolute;

        top: 75px;

        left: 0;

        width: 100%;

        padding: 25px;

        display: none;

        flex-direction: column;

        background: #111113;

        border-bottom: 1px solid #27272a;
    }

    nav.active {
        display: flex;
    }

    .menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 3.5rem;

        letter-spacing: -2px;
    }

    .skills-grid,
    .certifications-grid,
    .profiles-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        grid-template-columns: 1fr;

        padding: 25px;
    }

    .project-number {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;

        gap: 5px;
    }

}