
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: #FFFFFF;
  background-color: rgba(0, 0, 0, .8);
}

img {
  max-width: 100%;
  display: block;
}

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

a:hover {
  text-decoration: underline;
}


.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 12px;
  background: white;
  border: 2px solid #111827;
  border-radius: 10px;
  z-index: 9999;
}


.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(108, 230, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.site-header h1{
  font-size: 1.25rem;
  margin: 0;
  letter-spacing: -0.02em;
}

.tagline {
  margin: 2px 0 0;
  font-size: 0.95rem;
  color: #4b5563;

}

.nav{ 
  list-style:none;
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a:hover{
  background: rgba(17, 24, 39, 0.06);
  text-decoration: none;
}


main {
padding: 28px 0 56px;
}

/* .hero {
padding: 28px 0 18px;
}

.hero h2{
font-size: clamp(1.8rem, 3vw, 2.4rem);
margin: 0 0 8px;
letter-spacing: -0.03em;
}

.hero p{ 
  margin: 0 0 16px;
  color: #374151;
  max-width: 65ch;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
} */

.hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.hero-text {
  max-width: 60%;
  color: white;
}

.hero-image {
  flex-shrink: 0;
}

.hero-image img {
  width: 200px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(17, 24, 39, 0.15);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.img-text{
  font-style: italic;
  margin-top: 10px;
  font-size: 0.95rem;
  color: #ffffff;
  text-align: center;
  
}

.card,
.project-card {
  background: #22242b;
  color: white;
  border: 1px solid rgba(17,24,39, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(4, 80, 245, 0.13);
}

.proj-text{
  color: #ffffff;
}
.card{
  padding: 18px;
  margin: 18px 0;

}

.card h2,
.card p {
  color: white; 
  margin-top: 0;
}

#projects{
  margin-top: 18px;
}

#projects {
  margin: 22px 0 12px;
}

.grid  {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}

.project-card {
  padding: 16px;
  transition: transform 160ms ease, box-shadow  160ms ease, border-color 160ms ease;
}

.project-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 42px  rgba(108, 230, 255, 0.85);
  border-color:  rgba(3, 25, 29, 0.363);
}

.project-card h3 {
  margin: 0 0 6px;
  letter-spacing: -0.02em;
  color: white; 
}
.project-card p {
  margin: 0 0 12px;
  color: #d1d5db;
}

.tags {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0 0 12px;
  flex-wrap: wrap;
}

.tags li {
  font-size: 0.85rem;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(108, 230, 255, 0.15);
  color: white;
}

.links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.links a {
  font-weight: 700;
  color: #2563eb;
}

.links a:hover {
  text-decoration: underline;
}

.skills-list{
margin: 0;
padding-left: 18px;
color: #FFFFFF;
}
.card {
  transition: transform 160ms ease,
              box-shadow 160ms ease,
              border-color 160ms ease;
}
.card:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 42px  rgba(108, 230, 255, 0.85);
  border-color:  rgba(3, 25, 29, 0.363);
}

.btn{
display: inline-flex;
align-items: center;
justify-content: center;
padding: 10px 14px;
border-radius: 12px;
border: 1px solid rgba(17, 24, 39, 0.12);
background: rgba(108, 230, 255, 0.85);
color: black;
font-weight: 800;
text-decoration: none;
transition: transform 160ms ease, opacity 160ms ease, background 160ms ease;
}


.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
  opacity: 0.95;
}

.btn:active{
  transform: translateY(0);
}

.btnoutline{

  background: transparent;
  color: #111827;
}

.contact-form {
  margin-top: 12px;
  display: grid;
  gap: 10px;
  max-width: 520px;
}

label {
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.18);
  background: white;
  font: inherit;
}

input:focus,
textarea:focus,
.nav a:focus,
.btn:focus,
.links a:focus {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 2px;
}

input:invalid,
textarea:invalid {
  border-color: rgba(108, 230, 255, 0.85);
}


.site-footer{
  padding: 24px 0 36px;
  color: #4b5563;
}

.footer-inner{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top:1px solid rgba(17, 24, 39, 0.08);
  padding-top: 16px;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-start;
  }
}

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

  .card {
    padding: 16px;
  }
}