:root {
  --bg: #0b0f14;
  --card: #0f141b;
  --text: #e6edf3;
  --muted: #a9b1ba;
  --accent: #5b9cff;
  --accent-2: #7cf5ff;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --header-bg: rgba(11, 15, 20, 0.7);
}



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

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}



.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}
.section {
  padding: 72px 0;
  background: var(--bg);
}

.about {
  background: var(--bg);
}

.skills {
  background: var(--bg);
}

.projects {
  background: var(--bg);
}


.hero {
  padding-top: 96px;
  background: var(--bg) radial-gradient(circle at center, rgba(1, 22, 53, 0.1) 0%, transparent 70%);
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-text {
  margin-bottom: 40px;
}

.eyebrow {
  color: var(--text);
  font-weight: 900;
  font-style: italic;
  margin: 0 0 10px;
  font-size: 32px;
}

.hero-name {
  font-size: 100px;
  font-weight: 800;
  line-height: 1;
  margin: 0 0 15px;
  color:#1fc3ff;
  font-style: italic;
  letter-spacing: 4px;
}

.hero-title {
  color: var(--text);
  font-weight: 900;
  font-style: italic;
  margin: 0 0 40px;
  font-size: 32px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.glow-button {
  background: rgba(30, 30, 30, 0.8);
  border: 1px solid rgba(91, 156, 255, 0.3);
  color: var(--text);
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(91, 156, 255, 0.2);
}

.glow-button:hover {
  box-shadow: 0 0 25px rgba(91, 156, 255, 0.4);
  border-color: rgba(91, 156, 255, 0.6);
  transform: translateY(-2px);
}

.tech-btn {
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.2);
}

.tech-btn:hover {
  box-shadow: 0 0 25px rgba(34, 211, 238, 0.4);
  border-color: rgba(34, 211, 238, 0.6);
}

.projects-btn {
  border-color: rgba(124, 245, 255, 0.3);
  box-shadow: 0 0 15px rgba(124, 245, 255, 0.2);
}

.projects-btn:hover {
  box-shadow: 0 0 25px rgba(124, 245, 255, 0.4);
  border-color: rgba(124, 245, 255, 0.6);
}

.social-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 40px;
}

.social-btn {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text);
  font-size: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(91, 156, 255, 0.2);
}

.github-btn {
  background: rgba(30, 30, 30, 0.8);
  border: 1px solid rgba(91, 156, 255, 0.3);
}

.linkedin-btn {
  background: rgba(30, 30, 30, 0.8);
  border: 1px solid rgba(91, 156, 255, 0.3);
}

.email-btn {
  background: rgba(30, 30, 30, 0.8);
  border: 1px solid rgba(91, 156, 255, 0.3);
}

.social-btn:hover {
  box-shadow: 0 0 25px rgba(91, 156, 255, 0.4);
  transform: translateY(-2px);
}

.glow-dots {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
}



@keyframes pulse {
  0%, 100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.2);
  }
}

.btn {
  display: inline-block;
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  transition: 0.2s background;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}
.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
  color: #001020;
}
.btn.ghost:hover {
  background: var(--card);
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.about .highlights {
  margin: 14px 0 22px;
  padding-left: 18px;
  color: var(--muted);
}
.about-media img {
  width: 80%;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.skills-list li {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  color: var(--text);
}

.skills-groups{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:12px}
.skills-groups .group{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:14px}
.skills-groups .group h3{margin:0 0 8px;font-size:18px;color:var(--text)}
@media (max-width: 720px){
  .skills-groups{grid-template-columns:1fr}
}

.projects-header .subtitle {
  color: var(--muted);
}
.slider {
  display: none;
}
.slides {
  display: none;
}
.slide {
  display: none;
}
.slide.active {
  display: none;
}
.slide img {
  display: none;
}


.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  height: 100%;
  padding: 12px;
}
.project-card {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.project-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.project-card .meta { 
  padding: 12px; 
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}
.project-card h3 { margin: 0 0 6px; font-size: 18px; }
.project-card .subtitle { 
  margin: 0 0 0; 
  color: var(--muted);
}
.project-card .actions { 
  display: flex; 
  gap: 8px; 
  margin-top: 8px; 
  align-items: center;
  justify-content: flex-start;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  border-color: color-mix(in oklab, var(--accent), transparent 60%);
}

@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}
.slider-btn:hover {
  background: rgba(0, 0, 0, 0.6);
}
.slider-btn.prev {
  left: 10px;
}
.slider-btn.next {
  right: 10px;
}
.dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}
.dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #577;
  opacity: 0.4;
  cursor: pointer;
}
.dots button[aria-current="true"] {
  background: var(--accent);
  opacity: 1;
}

.contact .contact-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  color: var(--muted);
}
.contact-form {
  display: grid;
  gap: 12px;
  background: var(--card);
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
}
.contact-form input,
.contact-form textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #0c1117;
  color: var(--text);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent), transparent 80%);
}
.contact-form button {
  justify-self: start;
}


[data-theme="light"] .contact-form {
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .contact-form input,
[data-theme="light"] .contact-form textarea {
  background: #f3f6fb;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--text);
}
[data-theme="light"] .contact-form input::placeholder,
[data-theme="light"] .contact-form textarea::placeholder {
  color: #6b7280;
  opacity: 1;
}
[data-theme="light"] .contact .contact-list {
  color: #5b708f;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  margin-top: 32px;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}



@media (max-width: 900px) {
  .hero-name {
    font-size: 56px;
  }
  
  .hero-title {
    font-size: 20px;
  }
  
  .glow-dots {
    right: 5%;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .glow-button {
    width: 200px;
  }
  
  .social-buttons {
    gap: 12px;
  }
  
  .social-btn {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .hero-name {
    font-size: 48px;
  }
  
  .hero-title {
    font-size: 18px;
  }
  
  .glow-dots {
    display: none;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
}
