:root {
    --bg: #0b1220;
    --card: #0f1724;
    --text: #e6eef6;
    --muted: #9aa6b2;
    --accent: #2dd4bf;
    --accent-contrast: #042a27;
    --maxw: 1100px
}

[data-theme="light"] {
    --bg: #ffffff;
    --card: #ffffff;
    --text: #0f1724;
    --muted: #6b7280;
    --accent: #0ea5a4;
    --accent-contrast: #052828
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: Inter, system-ui, Roboto, Arial;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased
}

a{
  color: green;
}

a:hover{
  color: red;
}

a:active{
  color: blue;
}

.btn.highlight {
  background: linear-gradient(90deg, #25D366, #128C7E);
  color: white;
}
.btn.highlight:hover {
  filter: brightness(1.1);
}

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 1rem
}

.site-header {
    position: sticky;
    top: 0;
    backdrop-filter: blur(6px);
    z-index: 60;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03)
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem
}

.brand h1 {
    margin: 0;
    font-size: 1.05rem
}

.role {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem
}

.nav {
    display: flex;
    gap: 0.6rem;
    align-items: center
}

.nav a {
    color: var(--text);
    text-decoration: none;
    padding: 0.35rem 0.6rem;
    border-radius: 6px
}

.nav a:focus {
    outline: 3px solid rgba(45, 212, 191, 0.18);
    outline-offset: 3px;
    border-radius: 6px
}

.hamburger {
    display: none;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 1.2rem;
    padding: 0.3rem;
    border-radius: 6px
}

.hamburger:focus {
    outline: 3px solid rgba(45, 212, 191, 0.18)
}

.btn {
    background: var(--accent);
    border: none;
    color: var(--accent-contrast);
    padding: 0.45rem 0.8rem;
    border-radius: 8px;
    cursor: pointer
}

.btn:focus {
    box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.12);
    outline: none
}

.btn.alt {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text)
}

.hero {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 1rem;
    align-items: start;
    padding: 1.2rem 0
}

.card {
    background: var(--card);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6)
}

.lead {
    color: var(--muted);
    margin-top: 0.6rem
}

.section {
    padding: 1.2rem 0
}

.timeline {
    display: grid;
    gap: 0.9rem
}

.exp-card {
    background: transparent;
    padding: 0.8rem;
    border-radius: 8px
}

.exp-note {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: var(--accent) !important;
  font-style: italic;
  text-align: left;
  margin-top: 1rem;
}

.muted {
    color: var(--muted)
}

.small {
    font-size: 0.9rem
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.9rem
}

.skill {
    background: var(--card);
    padding: 0.8rem;
    border-radius: 8px
}

.bar {
    height: 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-top: 0.5rem;
    overflow: hidden
}

.bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--accent), #0891b2);
    transition: width 900ms cubic-bezier(.2, .8, .2, 1)
}

.skill-filters {
    margin-bottom: 1rem;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap
}

.filter {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    color: var(--text);
    cursor: pointer
}

.filter:focus {
    outline: 3px solid rgba(45, 212, 191, 0.15);
    outline-offset: 2px
}

.filter.active {
    border-color: var(--accent);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25)
}

.swiper {
    padding: 1rem;
    border-radius: 8px;
    background: transparent
}

.swiper-slide {
    padding: 0.8rem
}

.contact-row {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-start;
}

form label {
    display: block;
    margin-bottom: 0.6rem
}

input, textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

[data-theme="light"] input,
[data-theme="light"] textarea {
  border-color: rgba(0, 0, 0, 0.25);
  background: rgba(0, 0, 0, 0.02);
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  outline: none;
  background: rgba(45, 212, 191, 0.08);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15);
}

input:hover,
textarea:hover {
  border-color: rgba(45, 212, 191, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

input::placeholder,
textarea::placeholder {
  color: rgba(230, 238, 246, 0.6);
}

[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder {
  color: rgba(15, 23, 36, 0.6);
}

.form-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.site-footer {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    margin-top: 2rem;
    text-align: center
}

.visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap
}

.sr-only {
    position: relative;
    left: -9999px
}

#contact {
  background: linear-gradient(160deg, rgba(45,212,191,0.15), rgba(15,23,36,0.9));
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}
#contact:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.45);
}

#contact-heading {
  text-align: center;
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
  padding-bottom: 0.3rem;
}
#contactForm {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  background: var(--card);
  padding: 1rem;
  border-radius: 12px;
}
#contactForm textarea {
  grid-column: 1 / -1;
}
#contact.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}



@media(max-width:920px) {
    .hero {
        grid-template-columns: 1fr
    }

    .nav {
        display: none
    }

    .hamburger {
        display: block
    }
}

@media(max-width:600px) {
    .hero-right {
        order: 2
    }

    .hero-left {
        order: 1
    }

    .header-inner {
        padding: 0.6rem
    }

    .btn {
        padding: 0.5rem
    }
}

html {
    scroll-behavior: smooth
}