/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  background-color: #0f172a;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  justify-content: center;
}

.nav-logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: #60a5fa;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #e5e7eb;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #60a5fa;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #e5e7eb;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: white;
  padding-top: 80px;
}

.projects {
  padding: 100px 0;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-greeting {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.hero-name {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.typewriter {
  border-right: 2px solid white;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  50% {
    border-color: white;
  }
  51%,
  100% {
    border-color: transparent;
  }
}

.hero-location {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-location i {
  margin-right: 0.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: #60a5fa;
  color: white;
}

.btn-primary:hover {
  background: transparent;
  color: white;
  border-color: #60a5fa;
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: white;
}

.btn-outline:hover {
  background: #60a5fa;
  color: #0f172a;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-placeholder {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease;
}

.profile-img:hover {
  transform: scale(1.05);
}

/* Section Styles */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #f1f5f9;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  border-radius: 2px;
}

.section-title-left {
  text-align: left;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #f1f5f9;
  position: relative;
}

.section-title-left::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  border-radius: 2px;
}

.section-title-right {
  text-align: left;
  font-size: 2.5rem;
  font-weight: 700;
  color: #f1f5f9;
  position: relative;
}

.section-title-right::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  border-radius: 2px;
}

/* About Section */
.about {
  padding: 100px 0;
  background: #1e293b;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: #cbd5e1;
}

.about-text h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #f1f5f9;
}

.current-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-badge {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stat-card {
  background: #334155;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.stat-card h3 {
  margin-bottom: 1.5rem;
  color: #f1f5f9;
  font-size: 1.2rem;
}

.education-item {
  margin-bottom: 1.5rem;
}

.education-item h3 {
  color: #60a5fa;
  margin-bottom: 0.5rem;
}

.education-item p {
  color: #94a3b8;
  font-size: 0.9rem;
}

.language-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.language-item span:first-child {
  min-width: 80px;
  font-weight: 500;
}

.progress-bar {
  flex: 1;
  height: 8px;
  background: #475569;
  border-radius: 4px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  border-radius: 4px;
  transition: width 1s ease;
}

/* Skills Section */
.skills {
  padding: 100px 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.skill-category {
  background: #1e293b;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.skill-category:hover {
  transform: translateY(-5px);
}

.skill-category h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  color: #f1f5f9;
  font-size: 1.2rem;
}

.skill-category i {
  color: #60a5fa;
  font-size: 1.3rem;
}

.skill-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-item {
  background: #334155;
  color: #cbd5e1;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Skills Personal Section */
.skills-personal-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
  padding: 3rem;
  background: #1e293b;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.personal-skills-column h3,
.languages-column h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #f1f5f9;
  text-align: center;
}

/* Personal Skills Grid */
.personal-skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.personal-skill-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(51, 65, 85, 0.5);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.personal-skill-item:hover {
  background: rgba(51, 65, 85, 0.8);
  transform: translateX(5px);
}

.personal-skill-item i {
  color: #10b981;
  font-size: 1.1rem;
  min-width: 16px;
}

.personal-skill-item span {
  color: #cbd5e1;
  font-weight: 500;
  font-size: 0.95rem;
}

/* Languages Section */
.languages-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.language-skill {
  padding: 1rem;
  background: rgba(51, 65, 85, 0.3);
  border-radius: 8px;
}

.language-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.language-name {
  font-weight: 600;
  font-size: 1.1rem;
  color: #f1f5f9;
}

.language-level {
  font-size: 0.85rem;
  color: #94a3b8;
  font-style: italic;
}

.language-percentage {
  font-weight: 600;
  color: #60a5fa;
  font-size: 1rem;
}

.language-progress {
  width: 100%;
  height: 8px;
  background: #475569;
  border-radius: 4px;
  overflow: hidden;
}

.language-progress-fill {
  height: 100%;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  border-radius: 4px;
  transition: width 1.5s ease;
}

/* Experience Section */
.experience {
  padding: 100px 0;
  background: #1e293b;
}

.timeline {
  position: relative;
  margin-bottom: 4rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 80px;
}

.timeline-dot {
  position: absolute;
  left: 21px;
  top: 0;
  width: 18px;
  height: 18px;
  background: #60a5fa;
  border-radius: 50%;
  border: 4px solid #334155;
  box-shadow: 0 0 0 4px #475569;
}

.timeline-content {
  background: #334155;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.timeline-content h3 {
  color: #f1f5f9;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.timeline-content h4 {
  color: #60a5fa;
  margin-bottom: 0.5rem;
}

.company-link {
  color: #60a5fa;
  text-decoration: none;
  margin-top: auto;
  transition: color 0.3s ease;
}

.company-link:hover {
  text-decoration: underline;
}

.company-date-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.company-date-row h4 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.company-date-row .timeline-date {
  margin: 0;
}

.timeline-date {
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
  display: block;
}

.timeline-content p {
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.work-description {
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 1rem;
  padding-left: 0;
  list-style: none;
}

.work-description li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.work-description li::before {
  content: '•';
  color: #ffffff;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
}

.responsibilities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.responsibility {
  background: #1e293b;
  color: #60a5fa;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}

.volunteering-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #f1f5f9;
}

.volunteering-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.volunteer-item {
  background: #334155;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.volunteer-item h4 {
  color: #f1f5f9;
  margin-bottom: 0.5rem;
}

.volunteer-date {
  color: #60a5fa;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
  display: block;
}

.volunteer-item p {
  color: #cbd5e1;
  line-height: 1.6;
}

/* Portfolio Section */
.projects {
  padding: 100px 0;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.certificate-item {
  background: #1e293b;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
}

.certificate-item:hover {
  transform: translateY(-5px);
}

.certificate-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.certificate-icon i {
  font-size: 2rem;
  color: white;
}

.certificate-item h4 {
  color: #f1f5f9;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.certificate-item p {
  color: #94a3b8;
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: #1e293b;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #334155;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.contact-item a {
  text-decoration: none;
  color: #94a3b8;
}

.contact-item i {
  font-size: 1.5rem;
  color: #60a5fa;
  min-width: 30px;
}

.contact-item h4 {
  color: #f1f5f9;
  margin-bottom: 0.25rem;
}

.contact-item p {
  color: #94a3b8;
  margin: 0;
}

.contact-form {
  background: #334155;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #f1f5f9;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #475569;
  border-radius: 8px;
  font-size: 1rem;
  background: #1e293b;
  color: #e5e7eb;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #60a5fa;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  background: #1e293b;
  color: white;
  padding: 2rem 0;
  text-align: center;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  justify-content: center;
}

.social-links {
  display: flex;
  gap: 3rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: #334155;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.social-link:hover {
  background: #60a5fa;
}

.project-link {
  text-decoration: none;
}

/* Project Links */
.project-links {
  display: flex;
  gap: 1rem;
  margin: 1rem 0 1rem 0;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(96, 165, 250, 0.3);
}

.btn-secondary {
  background: #334155;
  color: #f1f5f9;
  border: 2px solid #475569;
}

.btn-secondary:hover {
  background: #475569;
  border-color: #60a5fa;
  color: #60a5fa;
  transform: translateY(-2px);
}

.project-status {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: #1e293b;
  color: #94a3b8;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 2px solid #334155;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: #1e293b;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-name {
    font-size: 2.5rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-title-left,
  .section-title-right {
    font-size: 2rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer .container {
    flex-direction: column;
    gap: 1rem;
  }

  .skills-personal-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }

  .personal-skills-grid {
    grid-template-columns: 1fr;
  }

  .language-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .timeline::before {
    left: 15px;
  }

  .timeline-item {
    padding-left: 50px;
  }

  .timeline-dot {
    left: 6px;
  }

  .project-links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn {
    justify-content: center;
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
  }

  .project-features h4 {
    font-size: 1rem;
  }

  .project-features li {
    font-size: 0.9rem;
    padding: 0.35rem 0;
  }

  .screenshots-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .screenshot-item img {
    height: 180px;
  }

  .project-screenshots h4 {
    font-size: 1rem;
  }
}
