body {
  background: #0a0a0a;
  min-height: 100vh;
}

.hero {
  position: relative; /* allow absolute overlay nav */
  text-align: left;
  padding: 6.25rem 2rem 5rem; /* increased top padding so nav sits inside hero */
  background: #181818; /* solid dark background */
  color: #fff;
  min-height: 60vh;
}

.typing-text {
  font-family: "Courier New", Courier, monospace;
  font-weight: 700;
  font-size: 2.8rem;
  color: #222;
  margin-bottom: 18px;
  letter-spacing: -2px;
  text-align: center;
}

.hero .typing-text span {
  display: inline-block;
  white-space: nowrap; /* Prevent line break */
  position: relative;
}

.hero .typing-text span::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: #fff;
}

@keyframes typing {
  0% {
    width: 0;
  }
  80% {
    width: 100%;
  }
  100% {
    width: 100%;
  }
}

.hero p {
  font-size: 1.2rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.hero .hire-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: #1a2526;
  color: #fff;
  border-radius: 25px;
  font-size: 1rem;
  transition: background 0.3s;
}

.hero .hire-btn:hover {
  background: #00c4b4;
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 1rem;
  }

  .hero .typing-text {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero .hire-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

.profile-card {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.12);
  width: 340px;
  margin-top: 2rem;
  padding: 2.5rem 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.profile-image {
  width: 220px;
  height: 220px;
  border-radius: 28px;
  background: linear-gradient(135deg, #ff4b2b 0%, #ff416c 100%);
  margin-bottom: 1.5rem;
  /* You can use a real image here if you want */
}

.profile-name {
  font-size: 2rem;
  font-weight: bold;
  color: #181818;
  margin-bottom: 1.2rem;
  text-align: center;
}

.profile-labels {
  display: flex;
  gap: 1rem;
  margin-top: 0.8rem;
}

.video-label {
  background: #ff2d1a;
  color: #fff;
  font-size: 1rem;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.hot-label {
  background: #fff;
  color: #ff7a00;
  font-size: 1.3rem;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  border: 2px solid #ff7a00;
  display: flex;
  align-items: center;
  font-weight: bold;
}

/* Responsive for mobile */
@media (max-width: 600px) {
  .profile-card {
    width: 100%;
    padding: 1.5rem 0.5rem;
  }
  .profile-image {
    width: 140px;
    height: 140px;
  }
  .profile-name {
    font-size: 1.3rem;
  }
}

.home-main {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  justify-content: center;
  margin-top: 2rem;
  padding-top: 7.5rem; /* increase if needed */
}

.home-left {
  flex: 1;
  min-width: 410px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-right {
  flex: 2;
  min-width: 340px;
  max-width: 800px;
}

/* Paste all the style code from your provided <style> here, except body/container */
.title-section {
  margin-bottom: 4rem;
}
.title-main {
  font-size: 6rem;
  font-weight: 900;
  color: white;
  letter-spacing: -4px;
  line-height: 0.85;
  margin-bottom: 0;
}
.title-secondary {
  font-size: 6rem;
  font-weight: 900;
  color: #313131;
  letter-spacing: -4px;
  line-height: 0.85;
  margin-bottom: 3rem;
}
.description {
  font-size: 1.2rem;
  color: #888888;
  line-height: 1.6;
  max-width: 650px;
  font-weight: 400;
}
.stats-section {
  display: flex;
  gap: 5rem;
  margin: 4rem 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-number {
  font-size: 5rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  margin-bottom: 0.8rem;
}
.stat-label {
  font-size: 0.9rem;
  color: #666666;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  line-height: 1.3;
}
.cards-section {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
}
.skill-card {
  flex: 1;
  padding: 2.5rem;
  border-radius: 25px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  min-height: 250px;
}
.skill-card:hover {
  transform: translateY(-8px);
}
.skill-card.orange {
  background: linear-gradient(135deg, #ff6b35, #ff4500);
}
.skill-card.green {
  background: linear-gradient(135deg, #9aff47, #7ed321);
}
.skill-card.orange::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  z-index: 1;
}
.skill-card.orange::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  z-index: 1;
}
.skill-card.green::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(0, 255, 100, 0.12) 0px,
    rgba(0, 255, 100, 0.12) 3px,
    transparent 3px,
    transparent 40px
  );
  z-index: 1;
}
.skill-card.green::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(0, 255, 150, 0.1) 0px,
    rgba(0, 255, 150, 0.1) 3px,
    transparent 3px,
    transparent 45px
  );
  z-index: 1;
}
.skill-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}
.skill-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: #181818;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
}
.skill-title::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  bottom: -2px;
  left: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}
.skill-description {
  font-size: 1rem;
  color: #666666;
  text-align: center;
  line-height: 1.4;
  margin-top: 0.5rem;
  position: relative;
  z-index: 2;
}
.skill-description::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  top: -2px;
  left: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}
.project-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s;
  position: relative;
}
.project-card:hover {
  transform: translateY(-5px);
}
.project-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
}
.project-content {
  padding: 1.5rem;
}
.project-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #181818;
  margin-bottom: 1rem;
}
.project-description {
  font-size: 1rem;
  color: #666666;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.tech-tag {
  background: #f1f1f1;
  color: #333;
  font-size: 0.9rem;
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
  display: inline-block;
}
.project-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.live-link {
  background: #00c4b4;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-size: 0.9rem;
  text-align: center;
  transition: background 0.3s;
}
.live-link:hover {
  background: #009b8c;
}
.source-link {
  color: #00c4b4;
  font-size: 0.9rem;
  text-decoration: underline;
  transition: color 0.3s;
}
.source-link:hover {
  color: #007a70;
}
footer,
.footer {
  background: rgba(255, 255, 255, 0.18);
  /* border: 2px solid rgba(255, 255, 255, 0.45); */
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  color: #b0b0b0;
  text-align: center;
  padding: 2rem 2rem;
  /* border-radius: 24px 24px 0 0; */
  margin: 50px auto 0 auto; /* 50px space above footer */
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 2;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  transform: translateX(-50%);
  z-index: 1;
}
.footer h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}
.footer p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}
.footer a {
  color: #00c4b4;
  text-decoration: underline;
  transition: color 0.3s;
  position: relative;
  z-index: 2;
}
.footer a:hover {
  color: #009b8c;
}
.footer .social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
}
.social-icon i {
  color: #00c4b4;
  font-size: 1.2rem;
}
.social-icon:hover i {
  color: #009b8c;
}
.custom-profile-card {
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  border-radius: 20px;
  padding: 40px 30px 30px 30px;
  text-align: center;
  position: relative;
  width: 350px;
  min-width: 320px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  margin-top: 2rem;
  min-height: 610px; /* Increase height */
  margin-bottom: 40px; /* Add space below card */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.dashed-line-top {
  position: absolute;
  top: 20px;
  left: 50px;
  width: 100px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    #ff6b35 0 5px,
    transparent 5px 10px
  );
  transform: rotate(-20deg);
  z-index: 2;
}

.dashed-line-corner {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 60px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    #ff6b35 0 4px,
    transparent 4px 8px
  );
  transform: rotate(45deg);
  z-index: 2;
}

.dashed-line-bottom {
  position: absolute;
  bottom: 180px;
  left: -20px;
  width: 120px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    #ff6b35 0 5px,
    transparent 5px 10px
  );
  transform: rotate(30deg);
  z-index: 2;
}

.profile-image-container {
  position: relative;
  margin-bottom: 30px;
}

.custom-profile-image {
  width: 200px;
  height: 250px;
  background: linear-gradient(45deg, #ff6b35, #c41e3a);
  border-radius: 15px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  display: block;
}

.name {
  font-size: 32px;
  font-weight: bold;
  color: #2a2a2a;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.description {
  color: #666;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 30px;
  max-width: 250px;
  margin-left: auto;
  margin-right: auto;
}

.hire-btn {
  background: #ff6b35;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  width: 100%;
  max-width: 120px; /* limits button width */
  box-sizing: border-box;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.hire-btn:hover {
  background: #e55a2b;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 1rem;
  }

  .hero .typing-text {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero .hire-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .profile-card {
    width: 100%;
    padding: 2rem 1rem;
  }
  .profile-image {
    width: 180px;
    height: 180px;
  }
  .profile-name {
    font-size: 1.5rem;
  }

  .home-main {
    flex-direction: column;
    align-items: center;
  }
  .home-left {
    max-width: 100%;
  }
  .home-right {
    max-width: 100%;
  }

  .title-main {
    font-size: 4.5rem;
  }
  .title-secondary {
    font-size: 4.5rem;
  }
  .description {
    font-size: 1rem;
  }
  .stats-section {
    flex-direction: column;
    align-items: center;
  }
  .stat-item {
    text-align: center;
  }
  .skill-card {
    padding: 2rem;
  }
  .project-card {
    margin-bottom: 2rem;
  }
  .footer {
    padding: 2rem 1rem;
  }
  .footer h2 {
    font-size: 2rem;
  }
  .footer p {
    font-size: 0.9rem;
  }
}

@media (max-width: 900px) {
  .home-main {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding-top: 6rem;
  }
  .home-left,
  .home-right {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
  .container {
    padding: 0 1rem;
  }
  .cards-section {
    flex-direction: column;
    gap: 1.5rem;
  }
  .skill-card {
    min-width: 0;
    width: 100%;
    padding: 1.5rem;
  }
  .stats-section {
    gap: 2rem;
    flex-direction: column;
    align-items: center;
    margin: 2rem 0;
  }
  .title-main,
  .title-secondary {
    font-size: 2.5rem;
    text-align: center;
    letter-spacing: -2px;
  }
  .description {
    font-size: 1rem;
    text-align: center;
    margin: 1.5rem auto 1rem auto;
    max-width: 98vw;
  }
}

@media (max-width: 600px) {
  .profile-card.custom-profile-card {
    width: 100%;
    min-width: 0;
    padding: 1.2rem 0.5rem;
    min-height: unset;
    margin-bottom: 20px;
  }
  .profile-image-container {
    margin-bottom: 18px;
  }
  .custom-profile-image {
    width: 120px;
    height: 140px;
  }
  .name {
    font-size: 1.3rem;
  }
  .description {
    font-size: 0.98rem;
    max-width: 98vw;
  }
  .cards-section {
    gap: 1rem;
  }
  .skill-card {
    padding: 1rem;
    font-size: 1rem;
  }
  .stat-number {
    font-size: 2.2rem;
  }
  .title-main,
  .title-secondary {
    font-size: 2rem;
  }
}

.home-lines-desc-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-top: 2.5rem;
}

.home-desc-lines {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 0.2rem;
}

.home-desc-text {
  color: #bdbdbd;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.5;
  max-width: 520px;
  text-align: left;
  margin-top: 0.1rem;
}
@media (max-width: 700px) {
  .home-lines-desc-wrapper {
    flex-direction: column;
    gap: 1.2rem;
    align-items: flex-start;
  }
  .home-desc-lines {
    flex-direction: row;
    gap: 0.5rem;
  }
  .home-desc-line {
    width: 60px;
    height: 3px;
  }
  .home-desc-text {
    font-size: 1.1rem;
    max-width: 100vw;
  }
}

/* Slide in from left */
.slide-in-left {
  opacity: 0;
  transform: translateX(-80px);
  animation: slideInLeft 3.3s cubic-bezier(0.4, 2, 0.3, 1) 0.1s forwards;
}
@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Slide down from top */
.slide-down {
  opacity: 0;
  transform: translateY(-60px);
  animation: slideDown 3.3s cubic-bezier(0.4, 2, 0.3, 1) forwards;
}
@keyframes slideDown {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Slide in from right */
.slide-in-right {
  opacity: 0;
  transform: translateX(80px);
  animation: slideInRight 3.3s cubic-bezier(0.4, 2, 0.3, 1) forwards;
}
@keyframes slideInRight {
  to {
    opacity: 1;
    transform: none;
  }
}
