* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #0a0a0a;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

.icon {
  width: 20px;
  height: 20px;
}

.hidden {
  display: none;
}

/* Banner */
.banner {
  position: fixed;
  top: 0px;
  left: 0;
  right: 0;
  z-index: 60;
  background: linear-gradient(90deg, #0EB2BB, #007BFF);
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  animation: slideDown 0.5s ease 0.3s both;
}


@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.banner-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.banner-text {
  font-size: 24px;
  font-weight: 500;
}

.banner-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255,255,255,0.2);
  border-radius: 50px;
  color: white;
  text-decoration: none;
  font-size: 24px;
  font-weight: 500;
  transition: all 0.3s;
}

.banner-btn:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.05);
}

.banner-close {
  background: none;
  border: none;
  color: white;
  padding: 4px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.banner-close:hover {
  background: rgba(255,255,255,0.2);
}

/* Navigation */
.nav {
  position: fixed;
  top: 48px;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(17, 17, 17, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #2a2a2a;
}

.nav.top-zero {
  top: 0 !important;
  transition: top 0.3s ease; /* Smooth transition when banner closes */
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(90deg, #0EB2BB, #007BFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  cursor: pointer;
  transition: transform 0.3s;
}



.nav-logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: none;
  gap: 32px;
}


@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
}

.nav-link:hover {
  color: #0EB2BB;
  transform: scale(1.1);
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: #ccc;
  padding: 8px;
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  display: none;
  padding: 16px 0;
}

.mobile-menu.active {
  display: block;
}

.mobile-link {
  display: block;
  padding: 12px 24px;
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s;
}

.mobile-link:hover {
  color: #fff;
  background: #2a2a2a;
  border-radius: 8px;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-content {
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
  }
}

.hero-image {
  flex-shrink: 0;
  animation: scaleIn 0.8s ease 0.2s both;
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.hero-image img {
  width: 256px;
  height: 256px;
  border-radius: 50%;
  border: 4px solid #0EB2BB;
  box-shadow: 0 0 30px rgba(14, 178, 187, 0.3);
  object-fit: cover;
}

.hero-text {
  flex: 1;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-text {
    text-align: left;
  }
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 24px;
  background: linear-gradient(90deg, #0EB2BB, #007BFF, #006666);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  animation: fadeIn 0.8s ease 0.3s both;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 64px;
  }
}

.hero-subtitle {
  font-size: 24px;
  margin-bottom: 16px;
  animation: fadeIn 1s ease 0.5s both;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 32px;
  }
}

.hero-tagline {
  font-size: 18px;
  color: #999;
  margin-bottom: 32px;
  animation: fadeIn 1s ease 0.7s both;
}

.hero-social {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
  animation: fadeIn 1s ease 0.9s both;
}

@media (min-width: 768px) {
  .hero-social {
    justify-content: flex-start;
  }
}

.social-link {
  padding: 12px;
  background: #2a2a2a;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.social-link:hover {
  background: rgba(14, 178, 187, 0.2);
  border-color: #0EB2BB;
  transform: scale(1.1);
}

.hero-btn {
  padding: 12px 32px;
  background: linear-gradient(90deg, #0EB2BB, #007BFF);
  border: none;
  border-radius: 50px;
  color: white;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  animation: fadeIn 1s ease 1.1s both;
}

.hero-btn:hover {
  box-shadow: 0 8px 20px rgba(14, 178, 187, 0.5);
  transform: scale(1.05);
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: #999;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* Sections */
.section {
  padding: 128px 24px;
}

.section-alt {
  background: rgba(255, 255, 255, 0.02);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 56px;
  }
}

.section-subtitle {
  color: #999;
  max-width: 640px;
  margin: 0 auto;
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.project-card {
  background: rgba(42, 42, 42, 0.5);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #3a3a3a;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.project-card:hover {
  border-color: #555;
  transform: translateY(-4px);
}

.project-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #FFC107;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-badge .icon {
  width: 16px;
  height: 16px;
}

.project-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.project-desc {
  color: #999;
  margin-bottom: 16px;
  line-height: 1.6;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tag {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  font-size: 12px;
  color: #ccc;
  transition: background 0.3s;
}

.tag:hover {
  background: rgba(255, 255, 255, 0.1);
}

.project-links {
  display: flex;
  gap: 16px;
}

.btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(90deg, #0EB2BB, #007BFF);
  color: white;
}

.btn-primary:hover {
  box-shadow: 0 4px 12px rgba(14, 178, 187, 0.5);
  transform: scale(1.05);
}

.btn-secondary {
  background: #3a3a3a;
  color: white;
}

.btn-secondary:hover {
  background: #4a4a4a;
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.skill-card {
  background: rgba(42, 42, 42, 0.5);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #3a3a3a;
  transition: all 0.3s;
  cursor: pointer;
}

.skill-card:hover {
  border-color: #555;
  transform: translateY(-5px) scale(1.05);
}

.skill-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.skill-frontend .skill-icon {
  background: linear-gradient(135deg, #0EB2BB, #007BFF);
}

.skill-backend .skill-icon {
  background: linear-gradient(135deg, #007BFF, #006666);
}

.skill-mobile .skill-icon {
  background: linear-gradient(135deg, #006666, #0EB2BB);
}

.skill-devops .skill-icon {
  background: linear-gradient(135deg, #FFF455, #FFC107);
}

.skill-ai .skill-icon {
  background: linear-gradient(135deg, #0EB2BB, #006666);
}

.skill-icon .icon {
  width: 24px;
  height: 24px;
  color: white;
}

.skill-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Footer */
.footer {
  padding: 48px 24px;
  border-top: 1px solid #2a2a2a;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
  }
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #999;
}

.footer-left .heart {
  color: #ef4444;
  fill: #ef4444;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-link {
  padding: 8px;
  color: #999;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.footer-link:hover {
  color: white;
  background: #2a2a2a;
}