/* home.css — Modern Neon Glassmorphism Hero + Sections */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 14px;
  min-height: calc(100vh - 80px);
  position: relative
}

.hero-content {
  max-width: 980px;
  text-align: center;
  padding: 64px 56px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.05), rgba(255, 255, 255, 0.8), rgba(255, 102, 0, 0.03));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 102, 0, 0.1);
  box-shadow: 0 8px 32px rgba(255, 102, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.4) inset, 0 0 60px rgba(255, 102, 0, 0.05);
  position: relative;
  overflow: hidden;
  width: 100%
}

@media(max-width:1024px) {
  .hero {
    padding: 80px 14px
  }

  .hero-content {
    max-width: 900px;
    padding: 56px 48px;
    width: 100%
  }

  .hero-title {
    font-size: 56px;
    line-height: 1.2
  }

  .hero-description {
    font-size: 17px;
    max-width: 680px
  }

  .rotating-text {
    font-size: 22px
  }

  .cta-buttons {
    gap: 14px
  }
}

.hero-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 102, 0, 0.08), transparent 50%), radial-gradient(circle at 70% 80%, rgba(255, 140, 0, 0.08), transparent 50%);
  pointer-events: none;
  opacity: 0.6
}

.hero-title {
  font-size: 64px;
  font-weight: 900;
  margin: 0 0 16px 0;
  background: linear-gradient(135deg, #ff6600, #ff8c00, #ff4500, #ff6600);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 8s ease infinite;
  text-shadow: 0 0 40px rgba(255, 102, 0, 0.2);
  letter-spacing: 2px
}

@keyframes gradient-shift {

  0%,
  100% {
    background-position: 0% 50%
  }

  50% {
    background-position: 100% 50%
  }
}

.hero-sub {
  min-height: 40px;
  margin: 12px 0 24px 0;
  display: flex;
  align-items: center;
  justify-content: center
}

.rotating-text-wrapper {
  position: relative;
  display: inline-block
}

.rotating-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary);
  text-shadow: none;
  letter-spacing: 1px;
  opacity: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
  display: inline-block
}

.rotating-text.fade-out {
  opacity: 0;
  transform: translateY(-10px)
}

.rotating-text.fade-in {
  opacity: 1;
  transform: translateY(0)
}

.hero-description {
  color: var(--text);
  line-height: 1.8;
  margin: 32px 0 40px 0;
  font-size: 18px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: none;
  opacity: 0.9
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 40px 0 32px 0;
  flex-wrap: wrap
}

.hero .btn {
  position: relative;
  overflow: hidden;
  z-index: 1
}

.hero .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
  z-index: -1
}

.hero .btn:hover::before {
  left: 100%
}

.hero .btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
  backdrop-filter: blur(10px);
  color: #fff !important;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 12px;
  box-shadow: none;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1)
}

.hero .btn-primary:hover {
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 8px 40px rgba(255, 102, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  background: linear-gradient(135deg, var(--secondary), var(--primary)) !important;
}

.hero .btn-primary:active {
  transform: translateY(-1px) scale(0.98) !important;
  box-shadow: 0 4px 20px rgba(255, 102, 0, 0.3) !important;
}

.hero .btn-secondary {
  background: rgba(255, 255, 255, 0.8) !important;
  border: 1px solid rgba(255, 102, 0, 0.2);
  color: var(--text) !important;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1)
}

.hero .btn-secondary:hover {
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1) !important;
  background: #fff !important;
  border-color: var(--primary) !important;
  color: var(--primary) !important
}

.social-icons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap
}

.social-icon {
  padding: 12px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  font-weight: 800;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05)
}

.social-icon:hover {
  background: var(--primary);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(255, 102, 0, 0.3);
  border-color: var(--primary);
  color: #fff
}

.social-icon:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px
}

/* --- NEW SECTIONS STYLING --- */
.section {
  padding: 80px 0;
}

.section.about-preview {
  background: #fafafa;
  border-top: 1px solid rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.about-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  max-width: 1000px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.section-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text);
  opacity: 0.85;
  margin-bottom: 24px;
}

.link-arrow {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
  font-size: 1.05rem;
}

.link-arrow:hover {
  gap: 10px;
  opacity: 0.8;
}

.tech-stack-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}

.tech-tag {
  padding: 8px 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
}

.tech-tag:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 102, 0, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}

.section-header.center {
  text-align: center;
  margin-bottom: 48px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 8px;
}

.projects-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.project-card-home {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.project-card-home:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(255, 102, 0, 0.15);
}

.project-card-home h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--text);
}

.project-tags {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.project-excerpt {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.btn-text {
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 102, 0, 0.3);
  text-underline-offset: 4px;
  transition: all 0.2s ease;
}

.btn-text:hover {
  text-decoration-color: var(--primary);
  color: var(--primary);
}

.center-btn {
  text-align: center;
}

.cta-section {
  background: linear-gradient(135deg, var(--bg) 0%, #fff4ec 100%);
  text-align: center;
}

.cta-container h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--text);
}

.cta-container p {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 32px;
}

.white-shadow {
  box-shadow: 0 8px 30px rgba(255, 102, 0, 0.25) !important;
}

@media(max-width: 980px) {
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .tech-stack-grid {
    justify-content: center;
  }

  .projects-grid-home {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 768px) {
  .hero {
    padding: 60px 14px;
    min-height: calc(100vh - 60px)
  }

  .hero-content {
    padding: 40px 28px;
    border-radius: 20px
  }

  .hero-title {
    font-size: 42px;
    letter-spacing: 1px;
    line-height: 1.2
  }

  .rotating-text {
    font-size: 20px
  }

  .hero-description {
    font-size: 16px;
    margin: 24px 0 32px 0;
    line-height: 1.7
  }

  .cta-buttons {
    gap: 12px;
    margin: 32px 0 24px 0;
    justify-content: center
  }

  .hero .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
    min-height: 48px
  }

  .social-icon {
    padding: 10px 16px;
    min-height: 44px
  }

  .projects-grid-home {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .cta-container h2 {
    font-size: 1.8rem;
  }
}

@media(max-width:480px) {
  .hero {
    padding: 40px 10px;
    min-height: calc(100vh - 40px)
  }

  .hero-content {
    padding: 28px 20px;
    border-radius: 16px
  }

  .hero-title {
    font-size: 28px;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    line-height: 1.2
  }

  .rotating-text {
    font-size: 16px
  }

  .hero-sub {
    min-height: 28px;
    margin: 8px 0 16px 0
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.6;
    margin: 16px 0 24px 0;
    padding: 0 4px
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin: 24px 0 20px 0
  }

  .hero .btn {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    font-size: 0.9rem;
    min-height: 48px
  }

  .social-icons {
    gap: 10px;
    margin-top: 20px;
    width: 100%
  }

  .social-icon {
    padding: 10px 14px;
    font-size: 0.85rem;
    min-height: 44px;
    flex: 1;
    min-width: 0;
    justify-content: center
  }
}

@media(max-width:360px) {
  .hero {
    padding: 30px 8px
  }

  .hero-content {
    padding: 24px 16px
  }

  .hero-title {
    font-size: 24px
  }

  .rotating-text {
    font-size: 14px
  }

  .hero-description {
    font-size: 13px
  }
}