
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: var(--bg-light);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-text {
  max-width: 500px;
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.hero-avatar {
  flex-shrink: 0;
}

.avatar-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: bold;
  color: var(--text-light);
}

.avatar-img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
}

.avatar-img::before {
  content: "EK";
  font-size: 3rem;
  font-weight: bold;
  color: var(--text-light);
}

.hero-content-text {
  flex: 1;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 450px;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  width: 400px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-hover);
  overflow: hidden;
  transition: var(--transition);
}

.hero-card:hover {
  box-shadow: var(--shadow-hover);
}

.card-header {
  background: var(--bg-light);
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.card-dots {
  display: flex;
  gap: 8px;
}

.card-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-light);
  opacity: 0.6;
}

.card-dots span:nth-child(1) {
  background: #ff5f57;
}

.card-dots span:nth-child(2) {
  background: #ffbd2e;
}

.card-dots span:nth-child(3) {
  background: #28ca42;
}

.card-content {
  padding: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  line-height: 1.6;
}

.code-line {
  margin-bottom: 8px;
  opacity: 0;
  animation: typewriter 0.8s ease-in-out forwards;
}

.code-line:nth-child(1) { animation-delay: 0.2s; }
.code-line:nth-child(2) { animation-delay: 0.4s; }
.code-line:nth-child(3) { animation-delay: 0.6s; }
.code-line:nth-child(4) { animation-delay: 0.8s; }
.code-line:nth-child(5) { animation-delay: 1.0s; }

.indent {
  padding-left: 20px;
}

.keyword {
  color: #c792ea;
  font-weight: 600;
}

.variable {
  color: #82aaff;
}

.operator {
  color: #89ddff;
}

.string {
  color: #c3e88d;
}

.array {
  color: #f78c6c;
}

.function {
  color: #82aaff;
}

.bracket {
  color: var(--text);
}

[data-theme="light"] .keyword {
  color: #7c3aed;
}

[data-theme="light"] .variable {
  color: #1e40af;
}

[data-theme="light"] .operator {
  color: #0891b2;
}

[data-theme="light"] .string {
  color: #16a34a;
}

[data-theme="light"] .array {
  color: #ea580c;
}

[data-theme="light"] .function {
  color: #1e40af;
}

@keyframes typewriter {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


.about {
  background: var(--bg-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-main {
  height: 100%;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.about-card:hover {
  box-shadow: var(--shadow-hover);
}

.about-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}

.about-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.about-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.about-description {
  flex: 1;
  margin-bottom: 32px;
}

.about-description p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 16px;
}

.about-description p:last-child {
  margin-bottom: 0;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.stat-card:hover {
  box-shadow: var(--shadow-hover);
}

.stat-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin: 0 auto 12px;
}

.stat-content {
  text-align: center;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.skills-main {
  height: 100%;
}

.skills-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.skills-card:hover {
  box-shadow: var(--shadow-hover);
}

.skills-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}

.skills-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.skills-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  flex: 1;
}

.skill-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.skill-badge:hover {
  box-shadow: var(--shadow-hover);
}

.skill-badge i {
  color: var(--accent);
  font-size: 14px;
}

.skill-badge span {
  font-size: 14px;
  font-weight: 500;
}

.skills-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
  color: var(--text-light);
}

.placeholder-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-light);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--text-light);
}


.projects {
  background: var(--bg-light);
}

.projects-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 25px;
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.filter-btn:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.filter-btn i {
  font-size: 16px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.project-item {
  transition: all 0.3s ease;
}

.project-item.hidden {
  display: none;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  box-shadow: var(--shadow-hover);
}

.project-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-category {
  display: flex;
  gap: 8px;
}

.category-badge {
  background: var(--accent);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  flex: 1;
  line-height: 1.3;
}

.project-links {
  display: flex;
  gap: 8px;
}

.project-link {
  width: 36px;
  height: 36px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
  font-size: 16px;
}

.project-link:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.project-description {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
  font-size: 15px;
}

.project-technologies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tech-badge {
  background: var(--bg-light);
  color: var(--text-light);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.tech-badge:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.projects-actions {
  text-align: center;
}

.projects-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}


.contact {
  background: var(--bg-light);
  padding: 80px 0;
  margin-bottom: 0;
}

.contact-email-content {
  text-align: center;
  margin-top: 30px;
}

.contact-email-content .email-icon {
  width: 80px;
  height: 80px;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--text);
  font-size: 32px;
}


[data-theme="light"] .contact-email-content .email-icon {
  color: #000000 !important;
}

[data-theme="dark"] .contact-email-content .email-icon {
  color: #ffffff !important;
}

.contact-email-content p {
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.6;
  font-size: 16px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn-large {
  padding: 15px 40px;
  font-size: 18px;
  font-weight: 600;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-main,
.contact-info {
  height: 100%;
}

.contact-card,
.info-card,
.social-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
  height: 100%;
}

.contact-header,
.info-header,
.social-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}

.contact-icon,
.info-icon,
.social-icon {
  width: 50px;
  height: 50px;
  background: transparent;
  color: var(--text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}


[data-theme="light"] .contact-icon i,
[data-theme="light"] .info-icon i,
[data-theme="light"] .social-icon i,
[data-theme="light"] .email-icon i,
[data-theme="light"] .item-icon i {
  color: #000000 !important;
}


[data-theme="dark"] .contact-icon i,
[data-theme="dark"] .info-icon i,
[data-theme="dark"] .social-icon i,
[data-theme="dark"] .email-icon i,
[data-theme="dark"] .item-icon i {
  color: #ffffff !important;
}

.contact-header h3,
.info-header h3,
.social-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-light);
  color: var(--text);
  font-size: 16px;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--text);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.btn {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
}

.btn-primary {
  background: var(--text);
  color: var(--bg-card);
  border-color: var(--text);
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.item-icon {
  width: 40px;
  height: 40px;
  background: transparent;
  color: var(--text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}


[data-theme="light"] .item-icon {
  color: #000000 !important;
}

[data-theme="dark"] .item-icon {
  color: #ffffff !important;
}

.item-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.item-content p {
  color: var(--text-light);
  font-size: 14px;
}

.social-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid var(--border);
}

.social-section .social-header {
  margin-bottom: 24px;
  padding-bottom: 0;
  border-bottom: none;
}

.social-section .social-header h3 {
  font-size: 1.25rem;
}

.social-section .social-icon {
  width: 40px;
  height: 40px;
  font-size: 16px;
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-link {
  width: 50px;
  height: 50px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.social-link i {
  font-size: 20px;
  color: var(--text);
}


[data-theme="light"] .social-link i {
  color: #000000 !important;
}

[data-theme="dark"] .social-link i {
  color: #ffffff !important;
}


.contact-alert {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  max-width: 400px;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-hover);
  backdrop-filter: blur(10px);
}

.contact-alert.success {
  background: var(--bg-card);
  border: 1px solid #28a745;
  color: #28a745;
}

.contact-alert.danger {
  background: var(--bg-card);
  border: 1px solid #dc3545;
  color: #dc3545;
}

.alert-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.alert-content i {
  font-size: 18px;
}

.alert-content .emoji {
  font-size: 20px;
  margin-left: auto;
  color: inherit;
  opacity: 1;
}

[data-theme="light"] .alert-content .emoji {
  color: inherit;
  opacity: 1;
}

[data-theme="dark"] .alert-content .emoji {
  color: inherit;
  opacity: 1;
}




@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 20px 0;
  }
  
  .hero-content {
    display: block;
    text-align: center;
  }
  
  .hero-text {
    display: block;
    margin-bottom: 30px;
  }
  
  .hero-avatar {
    margin: 0 auto 20px auto;
  }
  
  .avatar-img {
    width: 120px;
    height: 120px;
    font-size: 2rem;
  }
  
  .avatar-img::before {
    font-size: 2rem;
  }
  
  .hero-content-text {
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
  
  .hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
    padding: 0 20px;
  }
  
  .hero-actions {
    display: block;
    text-align: center;
  }
  
  .hero-actions .btn {
    display: block;
    width: 200px;
    margin: 10px auto;
    padding: 15px 25px;
    font-size: 16px;
  }
  
  .hero-visual {
    display: block;
    margin-top: 30px;
  }
  
  .hero-card {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }
  
  .card-content {
    padding: 15px;
    font-size: 12px;
  }
}


@media (max-width: 768px) {
  .contact {
    padding: 40px 0;
  }
  
  .contact-content {
    display: block;
  }
  
  .contact-main {
    margin-bottom: 30px;
  }
  
  .contact-card,
  .info-card {
    padding: 25px 20px;
    margin-bottom: 20px;
  }
  
  .contact-header,
  .info-header {
    display: block;
    text-align: center;
    margin-bottom: 25px;
  }
  
  .contact-icon,
  .info-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
    margin: 0 auto 15px auto;
  }
  
  .contact-header h3,
  .info-header h3 {
    font-size: 1.4rem;
    margin: 0;
  }
  
  .contact-email-content {
    text-align: center;
    margin-top: 20px;
  }
  
  .contact-email-content .email-icon {
    width: 70px;
    height: 70px;
    font-size: 28px;
    margin: 0 auto 20px auto;
  }
  
  .contact-email-content p {
    font-size: 16px;
    margin-bottom: 25px;
    padding: 0 15px;
    line-height: 1.6;
  }
  
  .btn-large {
    display: block;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    padding: 15px 25px;
    font-size: 16px;
  }
  
  .info-items {
    display: block;
  }
  
  .info-item {
    display: block;
    padding: 20px;
    margin-bottom: 15px;
    text-align: center;
  }
  
  .item-icon {
    width: 50px;
    height: 50px;
    font-size: 18px;
    margin: 0 auto 15px auto;
  }
  
  .item-content h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  
  .item-content p {
    font-size: 15px;
  }
  
  .social-section {
    margin-top: 30px;
    padding-top: 25px;
    text-align: center;
  }
  
  .social-section .social-header {
    display: block;
    margin-bottom: 25px;
  }
  
  .social-section .social-header h3 {
    font-size: 1.3rem;
    margin: 0;
  }
  
  .social-section .social-icon {
    width: 50px;
    height: 50px;
    font-size: 18px;
    margin: 0 auto 15px auto;
  }
  
  .social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .social-link {
    width: 55px;
    height: 55px;
  }
  
  .social-link i {
    font-size: 22px;
  }
  
  .contact-alert {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
}


@media (max-width: 768px) {
  .about-content {
    display: block;
  }
  
  .about-main {
    margin-bottom: 30px;
  }
  
  .about-card,
  .skills-card {
    padding: 25px 20px;
    margin-bottom: 20px;
  }
  
  .about-header,
  .skills-header {
    display: block;
    text-align: center;
    margin-bottom: 20px;
  }
  
  .about-icon,
  .skills-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
    margin: 0 auto 15px auto;
  }
  
  .about-header h3,
  .skills-header h3 {
    font-size: 1.4rem;
    margin: 0;
  }
  
  .about-description p {
    font-size: 16px;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 15px;
  }
  
  .about-stats {
    display: block;
  }
  
  .stat-card {
    display: block;
    padding: 20px;
    margin-bottom: 15px;
    text-align: center;
  }
  
  .stat-icon {
    width: 50px;
    height: 50px;
    font-size: 18px;
    margin: 0 auto 15px auto;
  }
  
  .stat-number {
    font-size: 2rem;
    margin-bottom: 8px;
  }
  
  .stat-label {
    font-size: 14px;
  }
  
  .skills-grid {
    display: block;
  }
  
  .skill-badge {
    display: block;
    padding: 15px 20px;
    margin-bottom: 10px;
    text-align: center;
    font-size: 15px;
  }
}


@media (max-width: 768px) {
  .projects-filters {
    display: block;
    margin-bottom: 30px;
  }
  
  .filter-btn {
    display: block;
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 10px;
    font-size: 16px;
    text-align: center;
  }
  
  .filter-btn i {
    font-size: 16px;
    margin-right: 10px;
  }
  
  .projects-grid {
    display: block;
  }
  
  .project-item {
    margin-bottom: 25px;
  }
  
  .project-card {
    border-radius: 15px;
    overflow: hidden;
  }
  
  .project-image {
    height: 220px;
  }
  
  .project-content {
    padding: 25px 20px;
  }
  
  .project-header {
    display: block;
    text-align: center;
    margin-bottom: 20px;
  }
  
  .project-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }
  
  .project-links {
    display: flex;
    justify-content: center;
    gap: 15px;
  }
  
  .project-link {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
  
  .project-description {
    font-size: 16px;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .project-technologies {
    display: block;
    text-align: center;
  }
  
  .tech-badge {
    display: inline-block;
    font-size: 14px;
    padding: 8px 15px;
    margin: 5px;
    border-radius: 20px;
  }
}


@media (max-width: 768px) {
  .education-content {
    display: block;
  }
  
  .education-main {
    margin-bottom: 30px;
  }
  
  .education-card,
  .experience-card {
    padding: 25px 20px;
    margin-bottom: 20px;
  }
  
  .education-header,
  .experience-header {
    display: block;
    text-align: center;
    margin-bottom: 25px;
  }
  
  .education-icon,
  .experience-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
    margin: 0 auto 15px auto;
  }
  
  .education-header h3,
  .experience-header h3 {
    font-size: 1.4rem;
    margin: 0;
  }
  
  .education-items,
  .experience-items {
    padding-left: 0;
  }
  
  .education-items::before,
  .experience-items::before {
    display: none;
  }
  
  .education-item,
  .experience-item {
    margin-bottom: 20px;
    padding-left: 0;
  }
  
  .education-dot,
  .experience-dot {
    display: none;
  }
  
  .education-info,
  .experience-info {
    padding: 20px;
    text-align: center;
  }
  
  .education-period,
  .experience-period {
    font-size: 14px;
    padding: 8px 15px;
    margin-bottom: 15px;
  }
  
  .education-title,
  .experience-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  
  .education-school,
  .experience-company {
    font-size: 1rem;
    margin-bottom: 10px;
  }
  
  .education-field {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }
  
  .education-description,
  .experience-description {
    font-size: 15px;
    line-height: 1.6;
  }
}


@media (max-width: 768px) {
  .section {
    padding: 40px 0;
  }
  
  .section-header {
    margin-bottom: 30px;
    text-align: center;
  }
  
  .section-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
    padding: 0 20px;
    line-height: 1.5;
  }
  
  .container {
    padding: 0 20px;
  }
  
  .btn {
    padding: 12px 25px;
    font-size: 15px;
    border-radius: 25px;
  }
  
  .btn-large {
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 30px;
  }
  
  .card {
    border-radius: 20px;
    padding: 25px 20px;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 18px;
  }
}


@media (max-width: 480px) {
  .hero {
    padding: 20px 0;
  }
  
  .avatar-img {
    width: 100px;
    height: 100px;
    font-size: 1.8rem;
  }
  
  .avatar-img::before {
    font-size: 1.8rem;
  }
  
  .hero-title {
    font-size: 1.9rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-description {
    font-size: 0.95rem;
    padding: 0 10px;
  }
  
  .hero-actions .btn {
    width: 180px;
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .hero-card {
    max-width: 300px;
  }
  
  .card-content {
    padding: 12px;
    font-size: 11px;
  }
  
  .section {
    padding: 30px 0;
  }
  
  .section-title {
    font-size: 1.9rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .contact-card,
  .info-card,
  .about-card,
  .skills-card,
  .education-card,
  .experience-card {
    padding: 20px 15px;
  }
  
  .project-content {
    padding: 20px 15px;
  }
  
  .project-image {
    height: 200px;
  }
  
  .btn-large {
    padding: 12px 20px;
    font-size: 15px;
    max-width: 200px;
  }
  
  .social-link {
    width: 50px;
    height: 50px;
  }
  
  .social-link i {
    font-size: 20px;
  }
  
  .filter-btn {
    padding: 12px 15px;
    font-size: 14px;
  }
  
  .skill-badge {
    padding: 12px 15px;
    font-size: 14px;
  }
  
  .tech-badge {
    font-size: 13px;
    padding: 6px 12px;
  }
}


.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  font-size: 1.125rem;
  cursor: pointer;
  z-index: 1000;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.back-to-top:hover {
  background: var(--text);
  color: var(--bg-card);
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }
}
.footer {
  background: #000000;
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  margin-top: 3rem;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-text {
  color: #ffffff;
  font-size: 0.875rem;
  margin: 0;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  color: #ffffff;
  text-decoration: none;
  border-radius: 50%;
  transition: var(--transition);
}

.footer-social-link:hover {
  color: #ffffff;
  background: #333333;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .footer {
    padding: 1rem 0;
    margin-top: 2rem;
  }
}

@media (max-width: 480px) {
  .footer-social {
    gap: 0.75rem;
  }
  
  .footer-social-link {
    width: 1.75rem;
    height: 1.75rem;
  }
}
.education {
  background: var(--bg-light);
}

.education-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.education-main,
.experience-main {
  height: 100%;
}

.education-card,
.experience-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
  height: 100%;
}

.education-header,
.experience-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}

.education-icon,
.experience-icon {
  width: 50px;
  height: 50px;
  background: transparent;
  color: var(--text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.education-header h3,
.experience-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.education-items,
.experience-items {
  position: relative;
  padding-left: 30px;
}

.education-items::before,
.experience-items::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.education-item,
.experience-item {
  position: relative;
  margin-bottom: 32px;
  padding-left: 20px;
}

.education-dot,
.experience-dot {
  position: absolute;
  left: -8px;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--text);
  border-radius: 50%;
  border: 3px solid var(--bg-card);
  z-index: 1;
}

.education-info,
.experience-info {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.education-period,
.experience-period {
  display: inline-block;
  background: var(--bg-card);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid var(--border);
}

.education-title,
.experience-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.education-school,
.experience-company {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 8px;
}

.education-field {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 12px;
  font-style: italic;
}

.education-description,
.experience-description {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 14px;
  margin: 0;
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-text {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }
  
  .avatar-img {
    width: 120px;
    height: 120px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-card {
    width: 320px;
  }
  
  .card-content {
    padding: 16px;
    font-size: 12px;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-card,
  .skills-card {
    padding: 24px;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .stat-card {
    padding: 16px 12px;
  }
  
  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
  }
  
  .skill-badge {
    padding: 10px 12px;
  }
  
  .about-header,
  .skills-header {
    gap: 12px;
    margin-bottom: 20px;
  }
  
  .about-icon,
  .skills-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .about-header h3,
  .skills-header h3 {
    font-size: 1.25rem;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .projects-filters {
    gap: 8px;
    margin-bottom: 32px;
  }
  
  .filter-btn {
    padding: 10px 16px;
    font-size: 13px;
  }
  
  .filter-btn i {
    font-size: 14px;
  }
  
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .project-card {
    border-radius: 12px;
  }
  
  .project-image {
    height: 180px;
  }
  
  .project-content {
    padding: 20px;
  }
  
  .project-title {
    font-size: 1.125rem;
  }
  
  .project-description {
    font-size: 14px;
  }
  
  .project-link {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  
  .tech-badge {
    font-size: 11px;
    padding: 4px 8px;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-card,
  .info-card {
    padding: 24px;
  }
  
  .contact-header,
  .info-header {
    gap: 12px;
    margin-bottom: 24px;
  }
  
  .contact-icon,
  .info-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .contact-header h3,
  .info-header h3 {
    font-size: 1.25rem;
  }
  
  .contact-form {
    gap: 20px;
  }
  
  .info-item {
    padding: 16px;
  }
  
  .item-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  
  .social-links {
    gap: 16px;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
  }
  
  .social-link i {
    font-size: 16px;
  }
  
  .social-section {
    margin-top: 24px;
    padding-top: 20px;
  }
  
  .social-section .social-header h3 {
    font-size: 1.125rem;
  }
  
  .social-section .social-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  
  .education-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .education-card,
  .experience-card {
    padding: 24px;
  }
  
  .education-header,
  .experience-header {
    gap: 12px;
    margin-bottom: 24px;
  }
  
  .education-icon,
  .experience-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .education-header h3,
  .experience-header h3 {
    font-size: 1.25rem;
  }
  
  .education-items,
  .experience-items {
    padding-left: 20px;
  }
  
  .education-item,
  .experience-item {
    margin-bottom: 24px;
    padding-left: 16px;
  }
  
  .education-info,
  .experience-info {
    padding: 16px;
  }
}

@media (max-width: 768px) {
  .section {
    text-align: center;
  }
  
  .section-header {
    text-align: center;
  }
  
  .container {
    text-align: center;
  }
  
  .hero {
    min-height: 80vh;
    padding-top: 60px;
    text-align: center;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-text {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
  }
  
  .avatar-img {
    width: 120px;
    height: 120px;
    font-size: 2rem;
  }
  
  .avatar-img::before {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .hero-description {
    font-size: 1rem;
    max-width: 100%;
  }
  
  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }
  
  .hero-card {
    width: 100%;
    max-width: 350px;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-content: center;
  }
  
  .projects-content {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    justify-content: center;
  }
  
  .project-card {
    padding: 20px;
  }
  
  .project-header h3 {
    font-size: 1.25rem;
  }
  
  .project-tech {
    gap: 8px;
  }
  
  .tech-badge {
    padding: 4px 8px;
    font-size: 11px;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .contact-form {
    padding: 24px;
  }
  
  .contact-info {
    padding: 24px;
  }
  
  .social-section {
    margin-top: 20px;
    padding-top: 16px;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .education-content {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  
  .education-card,
  .experience-card {
    padding: 20px;
  }
  
  .education-header,
  .experience-header {
    gap: 12px;
    margin-bottom: 20px;
  }
  
  .education-icon,
  .experience-icon {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  
  .education-header h3,
  .experience-header h3 {
    font-size: 1.125rem;
  }
  
  .education-items,
  .experience-items {
    padding-left: 16px;
  }
  
  .education-item,
  .experience-item {
    margin-bottom: 20px;
    padding-left: 12px;
  }
  
  .education-info,
  .experience-info {
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .section {
    text-align: center;
  }
  
  .section-header {
    text-align: center;
  }
  
  .container {
    text-align: center;
  }
  
  .hero {
    min-height: 70vh;
    padding-top: 40px;
    text-align: center;
  }
  
  .hero-content {
    gap: 32px;
    text-align: center;
  }
  
  .hero-text {
    gap: 20px;
    text-align: center;
  }
  
  .avatar-img {
    width: 100px;
    height: 100px;
    font-size: 1.5rem;
  }
  
  .avatar-img::before {
    font-size: 1.5rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .hero-description {
    font-size: 0.9rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .hero-card {
    max-width: 300px;
    padding: 16px;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
    gap: 16px;
    justify-content: center;
  }
  
  .projects-grid {
    gap: 16px;
    justify-content: center;
  }
  
  .project-card {
    padding: 16px;
  }
  
  .project-header h3 {
    font-size: 1.125rem;
  }
  
  .project-tech {
    gap: 6px;
  }
  
  .tech-badge {
    padding: 3px 6px;
    font-size: 10px;
  }
  
  .contact-form,
  .contact-info {
    padding: 20px;
  }
  
  .social-icon {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  
  .education-card,
  .experience-card {
    padding: 16px;
  }
  
  .education-header,
  .experience-header {
    gap: 10px;
    margin-bottom: 16px;
  }
  
  .education-icon,
  .experience-icon {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  
  .education-header h3,
  .experience-header h3 {
    font-size: 1rem;
  }
  
  .education-items,
  .experience-items {
    padding-left: 12px;
  }
  
  .education-item,
  .experience-item {
    margin-bottom: 16px;
    padding-left: 10px;
  }
  
  .education-info,
  .experience-info {
    padding: 10px;
  }
}
