/* =========================================================
   IS. — PROFESSIONAL PORTFOLIO
   ========================================================= */

:root {
    --bg: #f7f7f5;
    --white: #ffffff;
    --black: #111111;
    --dark: #151515;
    --muted: #737373;
    --line: #e6e6e3;
    --accent: #6c5ce7;
    --accent-light: #eeeaff;
    --green: #35c759;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: var(--bg);
    color: var(--black);
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}

section {
    scroll-margin-top: 80px;
}


/* =========================================================
   NAVBAR
========================================================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    z-index: 999;

    background: rgba(247, 247, 245, 0.88);
    backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.navbar {
    max-width: 1240px;
    margin: auto;

    padding: 18px 35px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: "Space Grotesk", sans-serif;

    font-size: 27px;
    font-weight: 700;

    letter-spacing: -2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    position: relative;

    color: #555;
    font-size: 12px;
    font-weight: 600;

    transition: 0.25s;
}

.nav-links a:hover {
    color: var(--black);
}

.nav-links a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -7px;

    width: 0;
    height: 1.5px;

    background: var(--black);

    transition: 0.25s;
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-icon {
    display: none;

    border: none;
    background: none;

    font-size: 20px;

    cursor: pointer;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 100vh;

    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;

    padding: 140px 30px 90px;

    background: #111111;

    color: white;
}

.hero-grid {
    position: absolute;
    inset: 0;

    opacity: 0.16;

    background-image:
        linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);

    background-size: 70px 70px;

    mask-image: linear-gradient(
        to bottom,
        black,
        transparent 90%
    );
}

.hero-grid::after {
    content: "";

    position: absolute;

    width: 550px;
    height: 550px;

    right: -180px;
    top: 80px;

    border-radius: 50%;

    background: rgba(108,92,231,0.16);

    filter: blur(80px);
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 950px;
    margin: auto;

    text-align: center;
}

.availability {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 7px 13px;

    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 30px;

    background: rgba(255,255,255,0.04);

    color: #bcbcbc;

    font-size: 10px;
    font-weight: 600;

    margin-bottom: 28px;
}

.availability span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--green);

    box-shadow: 0 0 10px rgba(53,199,89,0.7);
}

.hero-small {
    color: #999;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 18px;
}

.hero h1 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(48px, 7vw, 84px);

    line-height: 1;

    letter-spacing: -4px;

    margin-bottom: 25px;
}

.hero h1 span {
    display: block;

    color: #9b91ff;
}

.hero h2 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(22px, 3vw, 34px);

    line-height: 1.25;

    font-weight: 500;

    color: #e7e7e7;

    margin-bottom: 22px;
}

.hero h2 strong {
    color: white;
}

.hero-description {
    max-width: 620px;

    margin: auto;

    color: #999;

    font-size: 14px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;

    margin-top: 35px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 13px 20px;

    border-radius: 6px;

    font-size: 12px;
    font-weight: 700;

    transition: 0.3s;
}

.btn-primary {
    background: white;
    color: #111;
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: #9b91ff;
    color: white;
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.18);
    color: white;
}

.btn-outline:hover {
    background: white;
    color: #111;
    transform: translateY(-3px);
}

.hero-socials {
    margin-top: 27px;

    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-socials a {
    display: flex;
    align-items: center;
    gap: 7px;

    color: #777;

    font-size: 11px;

    transition: 0.3s;
}

.hero-socials a:hover {
    color: white;
}

.scroll-indicator {
    position: absolute;

    left: 35px;
    bottom: 30px;

    display: flex;
    align-items: center;
    gap: 9px;

    color: #666;

    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-indicator span {
    width: 28px;
    height: 1px;

    background: #555;
}


/* =========================================================
   SECTION
========================================================= */

.section {
    max-width: 1240px;

    margin: auto;

    padding: 120px 35px;
}

.section-heading {
    margin-bottom: 65px;
}

.section-heading > span {
    display: block;

    color: var(--accent);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2.5px;

    margin-bottom: 13px;
}

.section-heading h2 {
    max-width: 650px;

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(36px, 5vw, 55px);

    line-height: 1.05;

    letter-spacing: -2.5px;
}

.section-heading h2 em {
    color: var(--accent);

    font-style: normal;
}


/* =========================================================
   ABOUT
========================================================= */

.about-section {
    background: var(--bg);
}

.about-layout {
    display: grid;

    grid-template-columns: 1.25fr 0.75fr;

    gap: 90px;
}

.about-main {
    max-width: 680px;
}

.about-lead {
    font-family: "Space Grotesk", sans-serif;

    font-size: 23px !important;

    line-height: 1.4;

    color: #222 !important;

    margin-bottom: 28px !important;
}

.about-main p {
    color: #686868;

    font-size: 14px;

    margin-bottom: 18px;
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.education-card,
.focus-card {
    padding: 28px;

    background: white;

    border: 1px solid var(--line);

    border-radius: 10px;
}

.card-label {
    color: #999;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 22px;
}

.education-item {
    padding: 17px 0;

    border-bottom: 1px solid var(--line);
}

.education-item:first-of-type {
    padding-top: 0;
}

.education-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.education-year {
    color: var(--accent);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1px;

    margin-bottom: 5px;
}

.education-item h3 {
    font-family: "Space Grotesk", sans-serif;

    font-size: 15px;

    margin-bottom: 2px;
}

.education-item p {
    color: #888;

    font-size: 11px;
}

.focus-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.focus-list span {
    display: flex;
    align-items: center;
    gap: 11px;

    color: #555;

    font-size: 12px;
    font-weight: 600;
}

.focus-list i {
    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 5px;

    background: var(--accent-light);

    color: var(--accent);

    font-size: 11px;
}


/* =========================================================
   SKILLS
========================================================= */

.skills-section {
    max-width: none;

    background: #111;

    color: white;
}

.skills-section .section-heading {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

.skills-section .section-heading > span {
    color: #9b91ff;
}

.skills-section .section-heading h2 {
    color: white;
}

.skills-grid {
    max-width: 1170px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid #2a2a2a;
    border-left: 1px solid #2a2a2a;
}

.skill-item {
    position: relative;

    min-height: 220px;

    padding: 28px;

    border-right: 1px solid #2a2a2a;
    border-bottom: 1px solid #2a2a2a;

    transition: 0.3s;
}

.skill-item:hover {
    background: #181818;
}

.skill-number {
    color: #555;

    font-size: 9px;

    margin-bottom: 35px;
}

.skill-item i {
    color: #9b91ff;

    font-size: 29px;

    margin-bottom: 16px;
}

.skill-item h3 {
    font-family: "Space Grotesk", sans-serif;

    font-size: 17px;

    margin-bottom: 6px;
}

.skill-item p {
    color: #777;

    font-size: 11px;
}


/* =========================================================
   PROJECTS
========================================================= */

.projects-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}

.project-card {
    position: relative;

    padding: 34px;

    min-height: 390px;

    background: white;

    border: 1px solid var(--line);

    border-radius: 10px;

    transition: 0.35s;
}

.project-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 25px 60px rgba(0,0,0,0.08);
}

.project-top {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 45px;
}

.project-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--accent-light);

    color: var(--accent);

    border-radius: 7px;

    font-size: 19px;
}

.project-type {
    color: #999;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.project-card h3 {
    font-family: "Space Grotesk", sans-serif;

    font-size: 27px;

    letter-spacing: -1px;

    margin-bottom: 13px;
}

.project-card > p {
    max-width: 530px;

    color: #707070;

    font-size: 13px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 6px;

    margin-top: 25px;
}

.tech-tags span {
    padding: 5px 9px;

    border: 1px solid var(--line);

    border-radius: 4px;

    color: #777;

    font-size: 9px;
    font-weight: 700;
}

.project-button {
    position: absolute;

    left: 34px;
    bottom: 30px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #222;

    font-size: 10px;
    font-weight: 800;

    transition: 0.25s;
}

.project-button:hover {
    color: var(--accent);
}

.project-private {
    position: absolute;

    left: 34px;
    bottom: 31px;

    color: #999;

    font-size: 10px;
    font-weight: 700;
}


/* =========================================================
   EXPERIENCE
========================================================= */

.experience-section {
    background: #f1f1ee;

    max-width: none;
}

.experience-section > * {
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
}

.timeline {
    position: relative;

    padding-left: 30px;
}

.timeline::before {
    content: "";

    position: absolute;

    left: 5px;
    top: 0;
    bottom: 0;

    width: 1px;

    background: #d8d8d5;
}

.timeline-item {
    position: relative;

    padding-bottom: 30px;
}

.timeline-dot {
    position: absolute;

    left: -30px;
    top: 4px;

    width: 11px;
    height: 11px;

    border-radius: 50%;

    background: var(--accent);

    border: 3px solid #f1f1ee;
}

.timeline-content {
    max-width: 750px;

    padding: 30px;

    background: white;

    border: 1px solid var(--line);

    border-radius: 9px;
}

.timeline-date {
    color: var(--accent);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.5px;

    margin-bottom: 9px;
}

.timeline-content h3 {
    font-family: "Space Grotesk", sans-serif;

    font-size: 24px;
}

.timeline-content h4 {
    color: #666;

    font-size: 13px;
    font-weight: 600;

    margin-bottom: 13px;
}

.timeline-content p {
    color: #707070;

    font-size: 13px;
}

.timeline-tags {
    display: flex;

    gap: 6px;

    margin-top: 18px;
}

.timeline-tags span {
    padding: 5px 8px;

    background: #f2f2f0;

    border-radius: 4px;

    color: #777;

    font-size: 9px;
}


/* =========================================================
   CERTIFICATIONS
========================================================= */

.certifications-section {
    max-width: none;

    background: #111;

    color: white;
}

.certifications-section > * {
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
}

.section-heading.light > span {
    color: #9b91ff;
}

.section-heading.light h2 {
    color: white;
}

.section-heading.light p {
    max-width: 500px;

    color: #777;

    font-size: 13px;

    margin-top: 15px;
}

.certificates-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;
}

.certificate-card {
    position: relative;

    min-height: 150px;

    display: flex;
    align-items: center;

    gap: 20px;

    padding: 24px;

    background: #181818;

    border: 1px solid #282828;

    border-radius: 8px;

    transition: 0.3s;
}

.certificate-card:hover {
    background: #1e1e1e;

    border-color: #3b3b3b;

    transform: translateY(-4px);
}

.certificate-card.featured {
    grid-column: span 2;

    background:
        linear-gradient(
            135deg,
            #1d1b31,
            #181818
        );

    border-color: #35315b;
}

.certificate-icon {
    width: 53px;
    height: 53px;

    min-width: 53px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #242424;

    border-radius: 7px;

    color: #9b91ff;

    font-size: 20px;
}

.certificate-icon.google {
    background: rgba(108,92,231,0.15);
}

.certificate-content {
    padding-right: 25px;
}

.certificate-category {
    color: #777;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.certificate-content h3 {
    font-family: "Space Grotesk", sans-serif;

    font-size: 17px;

    color: #f2f2f2;

    margin-top: 5px;
}

.certificate-content p {
    color: #888;

    font-size: 11px;

    margin-top: 4px;
}

.certificate-badge {
    display: inline-block;

    margin-top: 10px;

    padding: 4px 7px;

    background: rgba(108,92,231,0.15);

    color: #9b91ff;

    border-radius: 3px;

    font-size: 7px;
    font-weight: 800;

    letter-spacing: 1px;
}

.certificate-arrow {
    position: absolute;

    right: 20px;
    top: 20px;

    color: #555;

    font-size: 11px;

    transition: 0.3s;
}

.certificate-card:hover .certificate-arrow {
    color: #9b91ff;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    padding-top: 120px;
    padding-bottom: 120px;
}

.contact-box {
    padding: 65px;

    background: #111;

    border-radius: 10px;

    color: white;
}

.contact-heading > span {
    color: #9b91ff;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 2px;
}

.contact-heading h2 {
    max-width: 700px;

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(35px, 5vw, 58px);

    line-height: 1.05;

    letter-spacing: -2px;

    margin-top: 15px;
}

.contact-heading h2 em {
    color: #9b91ff;

    font-style: normal;
}

.contact-heading p {
    max-width: 500px;

    color: #777;

    font-size: 13px;

    margin-top: 17px;
}

.contact-actions {
    display: flex;
    align-items: center;

    justify-content: space-between;

    margin-top: 45px;

    padding-top: 25px;

    border-top: 1px solid #2a2a2a;
}

.contact-email {
    display: flex;
    align-items: center;
    gap: 10px;

    color: white;

    font-size: 13px;
    font-weight: 600;
}

.contact-email i {
    color: #9b91ff;
}

.contact-socials {
    display: flex;
    gap: 9px;
}

.contact-socials a {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #303030;

    border-radius: 50%;

    color: #888;

    font-size: 13px;

    transition: 0.3s;
}

.contact-socials a:hover {
    color: white;

    border-color: #9b91ff;

    background: #9b91ff;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    background: #0b0b0b;

    border-top: 1px solid #222;

    color: #666;
}

.footer-inner {
    max-width: 1240px;

    margin: auto;

    padding: 23px 35px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-inner > span {
    color: white;

    font-family: "Space Grotesk", sans-serif;

    font-weight: 700;
}

.footer-inner p,
.footer-inner small {
    font-size: 9px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 10px;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .certificates-grid {
        grid-template-columns: 1fr;
    }

    .certificate-card.featured {
        grid-column: span 1;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .navbar {
        padding: 17px 20px;
    }

    .menu-icon {
        display: block;
        color: white;
    }

    header {
        background: rgba(17,17,17,0.94);
    }

    .logo {
        color: white;
    }

    .nav-links {
        position: absolute;

        top: 64px;
        left: 0;

        width: 100%;

        padding: 25px;

        display: none;

        flex-direction: column;

        align-items: center;

        gap: 20px;

        background: #111;

        border-top: 1px solid #222;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        color: #aaa;

        font-size: 12px;
    }

    .hero {
        padding: 120px 20px 90px;
    }

    .hero h1 {
        font-size: 46px;

        letter-spacing: -2.5px;
    }

    .hero h2 {
        font-size: 21px;
    }

    .hero-description {
        font-size: 12px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 230px;
    }

    .scroll-indicator {
        display: none;
    }

    .section {
        padding: 85px 20px;
    }

    .section-heading {
        margin-bottom: 45px;
    }

    .section-heading h2 {
        font-size: 39px;
    }

    .about-lead {
        font-size: 20px !important;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-item {
        min-height: 190px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        min-height: 410px;
    }

    .certificates-grid {
        grid-template-columns: 1fr;
    }

    .certificate-card {
        min-height: 145px;
    }

    .certificate-card.featured {
        grid-column: span 1;
    }

    .contact-box {
        padding: 35px 25px;
    }

    .contact-actions {
        flex-direction: column;

        align-items: flex-start;

        gap: 25px;
    }

    .footer-inner {
        flex-direction: column;

        gap: 7px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .hero h1 {
        font-size: 38px;
    }

    .hero h2 {
        font-size: 19px;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .project-card {
        padding: 25px;
    }

    .contact-heading h2 {
        font-size: 37px;
    }
}