:root{
  --ink:#e9e7f2;
  --muted:#a9a5b8;
  --purple:#9b7cf6;
  --purple2:#b49cff;
  --lav:#17152a;
  --line:#302c48;
  --white:#121021;
  --shadow:0 18px 45px rgba(0,0,0,.28);
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0}
  html{
    scroll-behavior:smooth}
  body{
    font-family:Inter,Arial,sans-serif;
    color:var(--ink);
    background:#0f0d1a;
    line-height:1.7}
    a{color:inherit;
      text-decoration:none
    }
.container{
  width:min(1180px,92%);
  margin:auto
}
.site-header{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(15,13,26,.92);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line)
}
.nav{height:74px;
  display:flex;
  align-items:center;
  justify-content:space-between
}
.brand{
  font-size:26px;
  font-weight:800;
  letter-spacing:-1px
}
.brand span{
  color:var(--purple);
  margin-right:8px
}.nav-links{display:flex;
  gap:25px;
  align-items:center;
  font-size:14px;
  font-weight:600;
  color:#c3bfd0
}
.nav-links a{transition:.25s}
.nav-links a:hover,
.nav-links .active{
  color:var(--purple)
}.nav-cta{background:var(--purple);
  color:#fff!important;
  padding:11px 18px;
  border-radius:11px;
  box-shadow:0 8px 20px rgba(113,82,232,.25)
}
.nav-toggle{display:none;
  border:0;
  background:none;

  font-size:24px
}
.hero{
  overflow:hidden;
  background:radial-gradient(circle at 75% 40%,
  #282044 0,transparent 34%),
  linear-gradient(180deg,#141225 0,#0f0d1a 100%);
  padding:85px 0 95px
}
.hero-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:50px
}
.eyebrow{
  display:inline-flex;
  padding:7px 14px;
  border:1px solid #e2dbff;
  border-radius:999px;
  background:#17152a;
  color:var(--purple);
  font-size:13px;
  font-weight:700;
  margin-bottom:20px
}
.hero h1{font-size:clamp(48px,6vw,78px);
  line-height:1.05;
  letter-spacing:-3px
}.hero h1 span,.hero h2 span,
.page-hero h1 span{
  color:var(--purple)
}
.hero h2{
  font-size:25px;
  margin:20px 0 14px;
  color:#bdb8ca
}
.hero-text{
  max-width:610px;
  color:var(--muted);
  font-size:16px
}
.button-row{
  display:flex;
  gap:14px;
  margin:30px 0
}
.btn{display:inline-block;
  padding:12px 20px;
  border-radius:10px;
  font-weight:700;
  font-size:14px;
  transition:.25s;
  border:1px solid transparent
}
.btn:hover {
    transform: translateY(-2px);
}

.primary {
    background: var(--purple);
    color: #fff;
    box-shadow: 0 10px 25px rgba(113, 82, 232, .22);
}

.secondary,
.outline {
    background: #0f0d1a;
    border-color: #40385d;
    color: #c9c2db;
}

.social-row {
    display: flex;
    gap: 12px;
}

.social-row a {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    background: #0f0d1a;
    box-shadow: 0 8px 20px rgba(40, 35, 80, .06);
    transition: .25s;
}

.social-row a:hover {
    color: var(--purple);
    transform: translateY(-3px);
}


/* Hero Photo */

.hero-photo {
    position: relative;
    display: flex;
    justify-content: center;
}

.photo-ring {
    width: min(410px, 75vw);
    aspect-ratio: 1;
    border-radius: 50%;
    padding: 12px;
    background: #0f0d1a;
    box-shadow: 0 20px 55px rgba(113, 82, 232, .18);
    border: 7px solid #282340;
}

.photo-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.float-dot {
    position: absolute;
    border-radius: 50%;
    background: #8265ed;
    animation: float 4s ease-in-out infinite;
}

.dot-one {
    width: 26px;
    height: 26px;
    right: 8%;
    bottom: 20%;
}

.dot-two {
    width: 18px;
    height: 18px;
    left: 13%;
    top: 13%;
    background: #514477;
    animation-delay: 1s;
}


/* Sections */

.section {
    padding: 90px 0;
}

.soft {
    background: var(--lav);
}

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

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

.section-heading h2 {
    font-size: 36px;
    letter-spacing: -1px;
}

.section-heading p {
    color: var(--muted);
}

.card-grid {
    display: grid;
    gap: 25px;
}

.card-grid.three {
    grid-template-columns: repeat(3, 1fr);
}

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


/* Cards */

.project-card,
.simple-card,
.project-large,
.certificate-card,
.skill-card,
.resume-card,
.info-card {
    background: #0f0d1a;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(35, 28, 80, .04);
    transition: .3s;
}

.project-card:hover,
.simple-card:hover,
.project-large:hover,
.certificate-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.project-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.green {
    background: #193025;
}

.blue {
    background: #192844;
}

.orange {
    background: #0f0d1a0e5;
}

.project-card h3,
.simple-card h3 {
    font-size: 18px;
}

.project-card p,
.simple-card p,
.project-large p,
.certificate-card p {
    color: var(--muted);
    font-size: 14px;
    margin: 10px 0 20px;
}

.tags {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin: 15px 0;
}

.tags span {
    background: #292344;
    color: #b6a4ff;
    padding: 4px 9px;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
}

.project-card > a {
    color: var(--purple);
    font-weight: 700;
    font-size: 13px;
}

.more-link {
    margin-top: 28px;
}


/* Page Hero */

.page-hero {
    padding: 90px 0 70px;
    background: linear-gradient(135deg, #17152a, #0f0d1a);
}

.page-hero h1 {
    font-size: clamp(42px, 6vw, 64px);
    line-height: 1.1;
    letter-spacing: -2px;
    max-width: 800px;
}

.page-hero p {
    max-width: 700px;
    color: var(--muted);
    margin-top: 16px;
}


/* Split Section */

.split {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 60px;
    align-items: start;
}

.split h2 {
    font-size: 32px;
    margin-bottom: 18px;
}

.split p {
    color: var(--muted);
    margin-bottom: 18px;
}

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


/* Check List */

.check-list {
    list-style: none;
}

.check-list li {
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

.check-list li:before {
    content: "✓";
    color: var(--purple);
    font-weight: 800;
    margin-right: 9px;
}


/* Simple Cards */

.simple-card > span {
    font-size: 30px;
}


/* Timeline */

.timeline {
    max-width: 850px;
}

.timeline-item {
    position: relative;
    padding: 0 0 55px 45px;
    border-left: 2px solid #e5dfff;
}

.timeline-item:last-child {
    border-left-color: transparent;
}

.timeline-dot {
    position: absolute;
    left: -9px;
    top: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--purple);
    box-shadow: 0 0 0 6px #f0ebff;
}

.timeline-item small {
    color: var(--purple);
    font-weight: 700;
}

.timeline-item h2 {
    margin: 5px 0 8px;
}

.timeline-item p {
    color: var(--muted);
}


/* Projects */

.project-large {
    min-height: 300px;
}

.project-number {
    color: var(--purple);
    font-weight: 800;
}

.project-large h2 {
    font-size: 25px;
    margin: 8px 0;
}

.small {
    padding: 9px 15px;
}


/* Skills */

.skill-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.skill-card h2 {
    font-size: 19px;
    margin-bottom: 18px;
}

.skill-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    font-size: 13px;
}

.skill-row span {
    color: var(--muted);
    text-align: right;
}

.tags.big span {
    padding: 8px 11px;
}


/* Certificates */

.certificate-placeholder {
    height: 190px;
    border-radius: 12px;
    background: linear-gradient(135deg, #24203a, #18152a);
    display: grid;
    place-items: center;
    text-align: center;
    color: #a49bb9;
    font-weight: 700;
    margin-bottom: 18px;
}


/* Resume */

.resume-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.resume-card.full {
    grid-column: 1 / -1;
}


/* Contact */

.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.contact-info p {
    color: var(--muted);
    margin-bottom: 18px;
}

.contact-info a {
    display: block;
    color: var(--purple);
    font-weight: 700;
    margin: 12px 0;
}

.contact-form {
    display: grid;
    gap: 17px;
    background: #0f0d1a;
    border: 1px solid var(--line);
    padding: 30px;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.contact-form label {
    font-size: 13px;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
    border: 1px solid #3b3652;
    border-radius: 9px;
    padding: 12px;
    font: inherit;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px #f0ecff;
}


/* Footer */

.footer {
    border-top: 1px solid var(--line);
    padding: 28px 0;
    color: #858096;
    font-size: 13px;
}


/* Reveal Animation */

.reveal,
.project-card,
.simple-card,
.project-large,
.certificate-card,
.skill-card,
.resume-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s ease, transform .7s ease;
}

.visible {
    opacity: 1;
    transform: none;
}

.delay {
    transition-delay: .15s;
}

@keyframes float {
    50% {
        transform: translateY(-12px);
    }
}


/* Responsive */

@media (max-width: 900px) {

    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        background: #0f0d1a;
        border-bottom: 1px solid var(--line);
        padding: 20px;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 7px 0;
    }

    .hero-grid,
    .split,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-photo {
        order: -1;
    }

    .hero {
        padding-top: 55px;
    }

    .card-grid.three,
    .skill-layout {
        grid-template-columns: 1fr;
    }

    .card-grid.two,
    .resume-grid {
        grid-template-columns: 1fr;
    }

    .resume-card.full {
        grid-column: auto;
    }

    .hero {
        text-align: center;
    }

    .hero-text {
        margin: auto;
    }

    .button-row,
    .social-row {
        justify-content: center;
    }

    .page-hero {
        text-align: center;
    }

    .page-hero p {
        margin: 15px auto;
    }

    .photo-ring {
        width: min(330px, 70vw);
    }
}


/* Dark Aesthetic Refinements */

body {
    color-scheme: dark;
}

.project-card,
.simple-card,
.project-large,
.certificate-card,
.skill-card,
.resume-card,
.info-card,
.contact-form {
    background: #17152a;
}

.contact-form input, .contact-form textarea {
  background: #100e1c;
  color: #e9e7f2;
}
.contact-form input::placeholder, .contact-form textarea::placeholder {
  color: #777188;
}
.photo-ring { background: #17152a; }
.social-row a { 
  background: #17152a;
   color: #dcd8e8; }
.nav-links a { color: #c3bfd0; }
.nav-links a:hover, .nav-links .active { color: #b19cff; }
.project-card:hover, .simple-card:hover, .project-large:hover, .certificate-card:hover {
  border-color: #514574;
}
.footer { background: #0d0b16; }


/* GitHub live projects */
.project-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:28px;
  padding:15px 18px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#141225;
  color:var(--ink)
}

.toolbar-note{
  color:var(--muted);
  font-size:13px
}

.project-search{
  width:min(300px,100%);
  background:#0f0d1a;
  border:1px solid #40385d;
  color:var(--ink);
  border-radius:10px;
  padding:10px 13px;
  outline:none
}
.project-search:focus{
  border-color:var(--purple)
}
.project-loading,.project-empty,.github-error{
  grid-column:1/-1;
  padding:45px;
  text-align:center;
  border:1px dashed var(--line);
  border-radius:18px;
  color:var(--muted)
}
.loading-dot{
  display:inline-block;
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--purple);
  margin-right:9px;
  animation:pulse 1s infinite
}
.project-meta{
  display:flex;
  gap:16px;
  color:var(--muted);
  font-size:12px;
  margin:8px 0
}
.experience-tags{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:14px 0 20px
}
.experience-tags span{
  font-size:11px;
  font-weight:700;
  padding:4px 9px;
  border-radius:7px;
  background:#292344;
  color:#b6a4ff
}
.certificate-image-wrap{
  height:250px;
  border-radius:12px;
  overflow:hidden;
  background:#18152a;
  margin-bottom:20px;
  border:1px solid var(--line)
}
.certificate-image-wrap img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block
}
.certificate-placeholder{height:100%;
  display:grid;
  place-items:center;
  text-align:center;
  color:#a49bb9;
  font-weight:700;
  line-height:1.5
}
.certificate-type{
  font-size:11px;
  font-weight:800;
  color:var(--purple);
  letter-spacing:1.5px
}
.certificate-content h3{
  font-size:22px;
  margin:5px 0
}
.certificate-content p{
  margin-bottom:15px!important
}
@keyframes pulse{50%{opacity:.35}}
@media(max-width:800px){.project-toolbar{align-items:stretch;flex-direction:column}.project-search{width:100%}}
