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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #081725;
    color: #ffffff;
    line-height: 1.6;
}


/* =========================
   NAVIGATION
========================= */

header {
    background: rgba(8, 23, 37, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

nav {
    max-width: 1400px;
    margin: auto;
    min-height: 80px;

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

    padding: 0 6%;
}

nav h2 {
    font-size: 1.4rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
}

nav a {
    color: #d8e1ea;
    text-decoration: none;
    transition: 0.3s;
}

nav a:hover {
    color: #1687ff;
}


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

.hero {
    max-width: 1400px;
    margin: auto;

    min-height: calc(100vh - 80px);

    padding: 80px 6%;

    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 80px;
}


/* LEFT SIDE */

.hero-intro {
    color: #1687ff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.hero h1 {
    font-size: clamp(3.5rem, 7vw, 6rem);
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero h2 {
    color: #1687ff;
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    margin-bottom: 20px;
}

.hero-focus {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-focus span {
    color: #1687ff;
    margin: 0 7px;
}

.hero-description {
    color: #aebdca;
    font-size: 1.08rem;
    max-width: 650px;
    margin-bottom: 28px;
}


/* CERTIFICATION BADGES */

.hero-certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
}

.hero-certifications span {
    border: 1px solid rgba(22, 135, 255, 0.45);
    background: rgba(22, 135, 255, 0.08);

    padding: 8px 14px;
    border-radius: 30px;

    font-size: 0.9rem;
    color: #dcecff;
}


/* BUTTONS */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.btn {
    display: inline-block;

    padding: 13px 24px;
    border-radius: 7px;

    text-decoration: none;
    font-weight: 700;

    transition: 0.25s;
}

.btn-primary {
    background: #1687ff;
    color: white;
}

.btn-primary:hover {
    background: #0875e8;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid #b9c6d2;
    color: white;
}

.btn-secondary:hover {
    border-color: #1687ff;
    color: #1687ff;
    transform: translateY(-2px);
}


/* GITHUB + LINKEDIN */

.hero-links {
    display: flex;
    gap: 25px;
}

.hero-links a {
    color: #aebdca;
    text-decoration: none;
    font-weight: 600;
}

.hero-links a:hover {
    color: #1687ff;
}


/* =========================
   PROFILE IMAGE
========================= */

.hero-image {
    display: flex;
    justify-content: center;
}

.image-wrapper {
    width: min(420px, 100%);
    aspect-ratio: 1 / 1;

    border-radius: 50%;
    padding: 7px;

    border: 3px solid #1687ff;

    box-shadow:
        0 0 40px rgba(22, 135, 255, 0.15);
}

.image-wrapper img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;

    border-radius: 50%;
}


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

section:not(.hero) {
    max-width: 1400px;
    margin: auto;

    padding: 100px 6%;
    min-height: 50vh;
}

section:not(.hero) > h2 {
    color: #1687ff;
    font-size: 2.2rem;
    margin-bottom: 30px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

    nav ul {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;

        padding-top: 60px;
        gap: 50px;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .image-wrapper {
        width: 280px;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-certifications,
    .hero-buttons,
    .hero-links {
        justify-content: center;
    }

}

/* =========================
   SECTION HEADINGS
========================= */

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

.section-label {
    color: #1687ff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.section-heading h2 {
    color: #ffffff !important;
    font-size: clamp(2.2rem, 4vw, 3.2rem) !important;
    margin-bottom: 12px !important;
}

.heading-line {
    width: 65px;
    height: 3px;
    background: #1687ff;
}


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

.about-section {
    border-top: 1px solid rgba(255,255,255,0.06);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    color: #aebdca;
    font-size: 1.05rem;
}

.about-text p {
    margin-bottom: 20px;
}

.about-text .about-lead {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 500;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.highlight-card {
    min-height: 150px;

    background: #0d2032;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;

    padding: 25px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    transition: 0.25s;
}

.highlight-card:hover {
    transform: translateY(-4px);
    border-color: rgba(22,135,255,0.5);
}

.highlight-number {
    color: #1687ff;
    font-size: 2.3rem;
    font-weight: 800;
}

.highlight-text {
    color: #aebdca;
    font-size: 0.9rem;
}


/* =========================
   EXPERIENCE
========================= */

.experience-section {
    border-top: 1px solid rgba(255,255,255,0.06);
}

.timeline {
    position: relative;
    max-width: 1000px;
}

.timeline::before {
    content: "";
    position: absolute;

    left: 8px;
    top: 8px;
    bottom: 0;

    width: 2px;
    background: rgba(22,135,255,0.25);
}

.timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 35px;
}

.timeline-marker {
    position: absolute;

    left: 0;
    top: 8px;

    width: 18px;
    height: 18px;

    border-radius: 50%;
    background: #1687ff;

    border: 4px solid #081725;

    box-shadow: 0 0 0 2px #1687ff;
}

.experience-card {
    background: #0d2032;

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;

    padding: 32px;

    transition: 0.25s;
}

.experience-card:hover {
    border-color: rgba(22,135,255,0.4);
    transform: translateY(-2px);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    gap: 25px;

    margin-bottom: 20px;
}

.experience-header h3 {
    font-size: 1.35rem;
    margin-top: 5px;
}

.company {
    color: #1687ff;
    font-weight: 600;
}

.experience-date {
    color: #8fa3b5;
    white-space: nowrap;
}

.current-badge {
    display: inline-block;

    color: #72d6a1;
    background: rgba(50,190,120,0.1);
    border: 1px solid rgba(50,190,120,0.25);

    border-radius: 20px;

    padding: 3px 9px;

    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.experience-summary {
    color: #aebdca;
    margin-bottom: 20px;
}

.experience-points {
    color: #c4d0da;
    padding-left: 20px;
    margin-bottom: 25px;
}

.experience-points li {
    margin-bottom: 10px;
}

.experience-points li::marker {
    color: #1687ff;
}

.experience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.experience-tags span {
    background: rgba(22,135,255,0.08);
    color: #9acaff;

    border: 1px solid rgba(22,135,255,0.2);
    border-radius: 20px;

    padding: 5px 11px;

    font-size: 0.8rem;
}


/* =========================
   ABOUT + EXPERIENCE MOBILE
========================= */

@media (max-width: 900px) {

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

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

    .experience-header {
        flex-direction: column;
        gap: 8px;
    }

}


@media (max-width: 550px) {

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

    .timeline-item {
        padding-left: 35px;
    }

    .experience-card {
        padding: 22px;
    }

}


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

.projects-section {
    border-top: 1px solid rgba(255,255,255,0.06);
}

.section-description {
    max-width: 700px;
    color: #aebdca;
    margin-top: 20px;
    font-size: 1.05rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.project-card {
    position: relative;

    background: #0d2032;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;

    padding: 32px;

    display: flex;
    flex-direction: column;

    min-height: 430px;

    transition:
        transform 0.25s,
        border-color 0.25s,
        box-shadow 0.25s;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(22,135,255,0.55);

    box-shadow:
        0 15px 40px rgba(0,0,0,0.18);
}

.featured-project {
    border-color: rgba(22,135,255,0.35);
}

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

    margin-bottom: 25px;
}

.project-number {
    color: #1687ff;
    font-size: 0.85rem;
    font-weight: 800;
}

.project-category {
    color: #8296a8;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.project-icon {
    font-size: 2rem;
    margin-bottom: 18px;
}

.project-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.project-card > p {
    color: #aebdca;
    margin-bottom: 25px;
}

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

    gap: 8px;

    margin-top: auto;
    margin-bottom: 25px;
}

.project-tags span {
    background: rgba(22,135,255,0.08);

    border:
        1px solid rgba(22,135,255,0.2);

    color: #9acaff;

    border-radius: 20px;

    padding: 5px 11px;

    font-size: 0.78rem;
}

.project-link {
    color: #1687ff;

    text-decoration: none;

    font-weight: 700;

    width: fit-content;

    transition: 0.2s;
}

.project-link:hover {
    color: #68afff;
    transform: translateX(3px);
}

.all-projects {
    margin-top: 45px;

    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 18px;
}

.all-projects p {
    color: #aebdca;
}


/* PROJECTS MOBILE */

@media (max-width: 800px) {

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

    .project-card {
        min-height: auto;
    }

}

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

.skills-section,
.certifications-section {
    border-top: 1px solid rgba(255,255,255,0.06);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.skill-card {
    background: #0d2032;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;

    padding: 28px;

    transition: 0.25s;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: rgba(22,135,255,0.5);
}

.skill-icon {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.skill-card h3 {
    font-size: 1.15rem;
    margin-bottom: 20px;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-list span {
    color: #b8c8d6;

    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.08);

    padding: 6px 10px;
    border-radius: 6px;

    font-size: 0.8rem;
}


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

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

.cert-card {
    background: #0d2032;

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;

    padding: 28px;

    display: flex;
    gap: 20px;

    transition: 0.25s;
}

.cert-card:hover {
    transform: translateY(-4px);
    border-color: rgba(22,135,255,0.5);
}

.primary-cert {
    border-color: rgba(22,135,255,0.35);
}

.cert-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.cert-provider {
    color: #1687ff;

    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.cert-content h3 {
    margin: 5px 0 12px;
    font-size: 1.2rem;
}

.cert-content p {
    color: #aebdca;
    font-size: 0.9rem;

    margin-bottom: 18px;
}

.cert-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cert-meta span {
    color: #9acaff;

    background: rgba(22,135,255,0.08);
    border: 1px solid rgba(22,135,255,0.18);

    border-radius: 20px;

    padding: 4px 10px;

    font-size: 0.72rem;
}


/* =========================
   SKILLS/CERT MOBILE
========================= */

@media (max-width: 1000px) {

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

}


@media (max-width: 700px) {

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

}


@media (max-width: 500px) {

    .cert-card {
        flex-direction: column;
    }

}

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

.education-section,
.community-section,
.contact-section {
    border-top: 1px solid rgba(255,255,255,0.06);
}

.education-card {
    background: #0d2032;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;

    padding: 35px;

    display: flex;
    gap: 28px;

    transition: 0.25s;
}

.education-card:hover {
    border-color: rgba(22,135,255,0.5);
    transform: translateY(-3px);
}

.education-icon {
    font-size: 2.5rem;
}

.education-content {
    flex: 1;
}

.education-header {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.education-school {
    color: #1687ff;

    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.education-header h3 {
    font-size: 1.5rem;
    margin: 5px 0;
}

.education-minor {
    color: #c1ced9;
}

.education-date {
    color: #8fa3b5;
    white-space: nowrap;
}

.education-description {
    color: #aebdca;
    max-width: 800px;

    margin: 25px 0;
}

.education-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.education-tags span {
    color: #9acaff;

    background: rgba(22,135,255,0.08);
    border: 1px solid rgba(22,135,255,0.2);

    padding: 5px 11px;
    border-radius: 20px;

    font-size: 0.78rem;
}


/* =========================
   COMMUNITY
========================= */

.community-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.community-card {
    background: #0d2032;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;

    padding: 28px;

    display: flex;
    gap: 20px;

    transition: 0.25s;
}

.community-card:hover {
    border-color: rgba(22,135,255,0.45);
    transform: translateY(-4px);
}

.community-icon {
    font-size: 1.8rem;
}

.community-card h3 {
    font-size: 1.15rem;
}

.community-org {
    color: #1687ff;
    font-size: 0.9rem;
    font-weight: 600;

    margin: 3px 0 12px;
}

.community-card div > p:last-child {
    color: #aebdca;
    font-size: 0.9rem;
}


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

.contact-section {
    text-align: center;
}

.contact-container {
    max-width: 800px;
    margin: auto;

    padding: 40px 0;
}

.contact-container .section-label {
    margin-bottom: 10px;
}

.contact-container h2 {
    color: #ffffff !important;

    font-size: clamp(2.4rem, 5vw, 4rem) !important;

    margin-bottom: 20px !important;
}

.contact-description {
    color: #aebdca;

    max-width: 650px;

    margin: 0 auto 35px;

    font-size: 1.05rem;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 14px;
}


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

footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    background: #06121e;
}

.footer-content {
    max-width: 1400px;

    margin: auto;
    padding: 35px 6%;

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

    gap: 30px;
}

.footer-content h3 {
    font-size: 1.1rem;
}

.footer-content div p,
.footer-copy {
    color: #778b9d;
    font-size: 0.8rem;
}


/* =========================
   EDUCATION / COMMUNITY MOBILE
========================= */

@media (max-width: 750px) {

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

    .education-header {
        flex-direction: column;
        gap: 10px;
    }

    .education-card {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

}

/* =========================
   NAVIGATION POLISH
========================= */

.nav-logo {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
}

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    background: transparent;
    border: 0;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 25px;
    height: 2px;

    margin: 5px auto;

    background: #ffffff;

    transition: 0.25s;
}


/* Prevent sticky header from covering section headings */

section {
    scroll-margin-top: 90px;
}


/* =========================
   MOBILE NAVIGATION
========================= */

@media (max-width: 900px) {

    .menu-toggle {
        display: block;
    }

    nav ul.nav-links {
        display: none;

        position: absolute;

        top: 80px;
        left: 0;
        right: 0;

        padding: 20px 6% 30px;

        background: #081725;

        border-top: 1px solid rgba(255,255,255,0.08);
        border-bottom: 1px solid rgba(255,255,255,0.08);

        flex-direction: column;

        gap: 0;
    }

    nav ul.nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;

        width: 100%;

        padding: 14px 0;

        border-bottom: 1px solid rgba(255,255,255,0.05);
    }


    /* Hamburger → X */

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

}