body {
    
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #0D1117;
    color: #C9D1D9;
}

header {
    background: #161B22;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

header h1 a {
    color: #58A6FF;
    text-decoration: none;
}

nav a {
     
    color: #C9D1D9;
    text-decoration: none;
}

nav a:hover {
    color: #58A6FF;
}

.intro {
    padding: 2rem;
    text-align: center;
}

.accent {
    color: #58A6FF;
}

.button {
    background: #58A6FF;
    color: #0D1117;
    padding: 0.5rem 1rem;
    border: none;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
}

.button:hover {
    background: #1F6FEB;
    color: #fff;
}

.projects {
    padding: 2rem;
}

.project-card {
    background: #161B22;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid #58A6FF;
}

section {
    margin: 2rem auto;
    padding: 1rem 2rem;
    background-color: #161B22;
    border-radius: 8px;
    max-width: 800px;
}

h2 {
    color: #58A6FF;
    margin-bottom: 1rem;
}

ul.edu-list, ul.cert-list {
    list-style: none;
    padding: 0;
}

ul.edu-list li, ul.cert-list li {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #C9D1D9;
}

footer {
    text-align: center;
}

.slideshow {
    position: relative;
    max-width: 700px;
    margin: 2rem auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.6);
}

.slides {
    position: relative;
    height: 400px;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    display: block;
    z-index: 1;
}

.controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 1rem;
}

.controls button {
    background-color: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.controls button:hover {
    background-color: rgba(88, 166, 255, 0.8);
}

.typewriter {
    font-family: 'Courier New', monospace;
    font-size: 1.8rem;
    color: #58A6FF;
    white-space: pre;
    overflow: hidden;
    padding: 1rem 0;
}

.cursor {
    display: inline-block;
    color: #58A6FF;
    font-weight: bold;
    animation: blink 0.7s infinite;
    font-size: 1.8rem;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.tech-stack ul li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.tech-stack ul li img {
    width: 24px;
    height: 24px;
    margin-right: 0.5rem;
    object-fit: contain;
    vertical-align: middle;
}

.progress-bar {
    background-color: #e0e0e0;
    border-radius: 8px;
    height: 12px;
    width: 100%;
    overflow: hidden;
    margin-top: 5px;
    margin-bottom: 15px;
}

.progress {
    height: 100%;
    width: 0;
    background-color: #58A6FF;
    border-radius: 8px;
    transition: width 1.5s ease-in-out;
}

.languages-container {
  display: flex;
  gap: 30px; 
  flex-wrap: wrap; 
  justify-content: start;
}

.language-item {
  width: 150px; 
  display: flex;
  flex-direction: column;
  align-items: center;
}

.language-name {
  font-weight: 600;
  margin-bottom: 8px;
  text-align: center;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background-color: #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.progress {
  height: 100%;
  width: 0;
  background-color: #58A6FF;
  border-radius: 8px;
  transition: width 1.5s ease-in-out;
}

section {
  transition: all 0.3s ease;
}

section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(88, 166, 255, 0.2);
  background-color: #1a1f2b; 
  border: 1px solid #58A6FF; 
}

.contact {
  margin: 2rem auto;
  padding: 1.5rem 2rem;
  background-color: #161B22;
  border-radius: 8px;
  max-width: 800px;
  transition: all 0.3s ease;
}

.contact:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(88, 166, 255, 0.2);
  background-color: #1a1f2b;
  border: 1px solid #58A6FF;
}

.contact-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.contact-list li {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.contact-list a {
  color: #58A6FF;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.project-card .tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 1rem 0;
}

.project-card .tech-item {
    background-color: #1F6FEB;
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.project-card .tech-item:hover {
    background-color: #58A6FF;
    transform: scale(1.05);
}
