:root {
  --primary-color: #00bcd4;
  --secondary-color: #9575cd;
  --accent-color: #00ff99;
  --dark-bg: #0a0a0a;
  --card-bg: #1a1a1a;
  --text-color: #eee;
  --text-secondary: #aaa;
  --success-color: #4caf50;
  --error-color: #f44336;
  --font-main: 'Poppins', sans-serif;
  --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.3);
  --max-width: 1500px;
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background: var(--dark-bg);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  cursor: auto;
}

/* Improved Custom Cursor Design */
/* Use native cursors */
/* Icon cursors from Cloudinary (smaller hotspots) */
body {
  cursor: url('img/icons8-cursor-50-2.png') 1 1, auto;
}

a,
button,
.btn,
.view-btn,
.botao,
.icon,
#goUpBtn,
#contact-form button {
  cursor: url('img/icons8-cursor-50.png') 4 2, pointer;
}

input,
textarea,
.typewriter,
input[type="text"],
input[type="email"],
textarea[name="message"] {
  cursor: url('img/icons8-text-cursor-48.png') 6 16, text;
}

/* ensure custom cursor on nested interactive children */
.view-btn,
.view-btn *,
.view-btn svg,
.view-btn .circle,
.botao,
.botao *,
.botao .mysvg,
#goUpBtn,
#goUpBtn *,
#contact-form button,
#contact-form button * {
  cursor: url('img/icons8-cursor-50.png') 4 2, pointer !important;
}

/* Cursor glow removed */

@keyframes typewriterBlink {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

.custom-cursor.hover {
  transform: scale(1.5);
  border-color: #2fffee;
  box-shadow: 0 0 25px rgba(47, 255, 238, 0.5);
  background: rgba(47, 248, 255, 0.05);
  border-width: 3px;
}

.custom-cursor-dot.hover {
  transform: scale(0.3);
  background: #2fffee;
  box-shadow: 0 0 15px rgba(47, 255, 238, 0.8);
}

/* Plain and Simple Background Design */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
  z-index: -1;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(47, 248, 255, 0.05) 0%, transparent 70%);
  z-index: -1;
}

/* 30:70 hero split only */
#home {
  position: relative;
  isolation: isolate;
}

#home::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(47, 248, 255, .16) 0 40%, transparent 35% 100%),
    linear-gradient(120deg, transparent 0 60%, rgba(47, 255, 238, .14) 85% 100%);
  z-index: -1;
}

html {
  scroll-behavior: smooth;
}

/* PROFESSIONAL NAVBAR */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(102, 126, 234, 0.1);
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(10, 10, 10, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

a {
  text-decoration: none;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: auto;
  padding: 0 1rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2ff8ff;
  white-space: nowrap;
  overflow: hidden;
  margin-left: 10px;
  text-overflow: ellipsis;
  position: relative;
  transition: all 0.3s ease;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #2ff8ff, #2fffee);
  transition: width 0.3s ease;
}

.logo:hover::after {
  width: 100%;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.home-name {
  font-family: popins, sans-serif;
}

.botao {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 50px;
  border-radius: 12px;
  border: 2px solid #2ff8ff;
  background: transparent;
  color: #2ff8ff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(47, 248, 255, 0.35);
  transition: .35s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
  transform-origin: center;
}

.botao .mysvg {
  position: absolute;
  opacity: 0;
  transition: opacity .2s;
}

.botao:hover {
  box-shadow: 0 0 0 6px rgba(47, 248, 255, 0.12);
}

.botao .texto {
  letter-spacing: .2px;
  transition: opacity .25s ease;
}

.botao:hover .texto {
  opacity: 0;
}

.botao:hover .mysvg {
  opacity: 1;
  animation: pulseIcon .8s ease;
}

.botao::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(47, 248, 255, 0) 0%, rgba(47, 248, 255, .3) 50%, rgba(47, 248, 255, 0) 100%);
  transform: translateX(-100%);
  transition: transform .6s ease;
}

.botao:hover::before {
  transform: translateX(100%);
}

.botao::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #2ff8ff;
  border-right-color: #2ff8ff;
  transform: scale(0);
  transition: transform .35s ease;
}

.botao:hover::after {
  transform: scale(1);
  animation: spin 1.2s linear infinite;
}

@keyframes spin {
  to {
    transform: scale(1) rotate(360deg);
  }
}

@keyframes pulseIcon {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.12);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes animateC {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.home-right .botao {
  margin-top: 1.5rem;
  align-self: flex-start;
}

@media (max-width: 480px) {
  .home-right .botao {
    align-self: center;
  }
}

.botao .texto {
  display: inline-block;
}

.download-container {
  display: flex;
  justify-content: flex-start;
  /* align to left */
  margin-top: 0.5rem;
  /* spacing under icons */
  width: auto;
  /* no full width */
}

.botao {
  width: 125px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  transition: all 0.3s ease;
  transform-origin: center;
  /* important! shrink from center */
}

/* hover effect */
.botao:hover {
  width: 50px;
  /* target size */
  height: 50px;
  border-radius: 50%;
  margin-left: 37.5px;
  /* (125 - 50) / 2 → keeps center fixed */
  margin-right: 37.5px;
}




/* MOBILE NAV */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: transparent;
  border: none;
  z-index: 1001;
}

.mobile-menu-toggle .bar {
  width: 25px;
  height: 3px;
  background: var(--text-color);
  transition: var(--transition);
}

/* MOBILE MENU TOGGLE ANIMATION */
.mobile-menu-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(13, 13, 13, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: start;
    transition: var(--transition);
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
    padding: .5rem 0;
    display: block;
    width: 100%;
    text-align: center;
  }

  header {
    padding: 0.8rem 1rem;
  }

  .logo {
    font-size: 1.2rem;
    max-width: 70%;
  }

  .download-btn {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
  }
}

/* BUTTONS */
.btn {
  background: var(--primary-color);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  transition: var(--transition);
  font-weight: bold;
}

.btn:hover {
  background: #e6e6e6;
  transform: translateY(-2px);
}

/* SECTION STYLES */
.section {
  padding: 5rem 2rem;
  max-width: var(--max-width);
  margin: auto;
}

.section-text {
  font-size: 1.1rem;
  text-align: center;
  color: var(--text-color);
  margin-bottom: 2rem;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  color: #2ff8ff;
  margin-bottom: 3rem;
  position: relative;
  font-weight: 700;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(30px);
  animation: slideInUp 0.8s ease-out forwards;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #2ff8ff, #2fffee);
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  border-radius: 2px;
  animation: expandWidth 1s ease-out 0.5s forwards;
  width: 0;
}

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expandWidth {
  to {
    width: 80px;
  }
}

/* HOME */
.home-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.home-left {
  flex: 1;
  display: flex;
  justify-content: center;
}

.home-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Mobile fix */
@media (max-width: 480px) {
  .home-right {
    align-items: center;
    text-align: center;
  }

  .profile-container {
    margin-top: -10px;
    width: 250px;
    height: 280px;
    max-width: 90vw;
  }

  .typewriter {
    margin-top: .5rem;
    padding: .35rem .75rem;
  }

  .social-icons {
    gap: .75rem;
  }
}

.home-name {
  font-size: 2.5rem;
  color: #2ff8ff;
  margin-bottom: 1rem;
  font-weight: 700;
}

.home-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: .75rem;
}

.home-highlights {
  list-style: none;
  margin: .25rem 0 1rem 0;
  padding: 0;
}

.home-highlights li {
  margin: .25rem 0;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.home-highlights li::before {
  content: '✦';
  color: #2ff8ff;
  font-size: .9rem;
}

/* Modern Typewriter Design */
.typewriter {
  font-size: 1.5rem;
  min-height: 2.5rem;
  position: relative;
  display: inline-block;
}

.fixed-text {
  color: var(--text-color);
  font-weight: 400;
}

.type-dynamic {
  color: #2ff8ff;
  font-weight: 700;
  position: relative;
  display: inline-block;
  text-shadow: 0 0 10px rgba(47, 248, 255, 0.3);
}

.type-dynamic::after {
  content: '▋';
  color: #2fffee;
  animation: blink 1.2s infinite;
  margin-left: 3px;
  font-weight: bold;
}

@keyframes blink {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

/* Unique Profile Image Design */
.profile-container {
  position: relative;
  display: inline-block;
  width: 350px;
  height: 400px;
  margin: 0 auto;
  margin-top: -30px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  transition: transform 0.4s ease;
}

/* removed overlay */

.profile-container:hover .profile-img {
  transform: scale(1.02);
}

/* no hover overlay */

/* Clean profile - no background effects */

/* SOCIAL ICONS */
.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  align-items: center;
}


.social-icons {
  z-index: 2;
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #2ff8ff;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #2ff8ff;
  font-size: 1.15rem;
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(6px);
}

.icon:hover {
  background: #667eea;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.icon.linkedin:hover {
  background: #0077b5;
  border-color: #0077b5;
  color: #fff;
}

.icon.github:hover {
  background: #333;
  border-color: #333;
  color: #fff;
}

.icon.instagram:hover {
  background: radial-gradient(circle at 30% 105%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: #e6e6e6;
  color: white;
}

/* GRID SECTIONS */
.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
  padding: 2rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(102, 126, 234, 0.1);
  opacity: 0;
  transform: translateY(20px);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
  animation: floatUp 0.8s ease-out forwards;
}

@keyframes floatUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 10px 25px rgba(47, 248, 255, 0.1);
  border-color: rgba(47, 248, 255, 0.2);
  background: linear-gradient(145deg, #1a1a2e, #16213e);
}

.card:hover::before {
  background: linear-gradient(90deg, #2ff8ff, #2fffee, #2ff8ff);
  animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

/* Subtle card hover effects */
.card:nth-child(1):hover {
  transform: translateY(-8px) scale(1.01) rotate(0.5deg);
}

.card:nth-child(2):hover {
  transform: translateY(-8px) scale(1.01) rotate(-0.5deg);
}

.card:nth-child(3):hover {
  transform: translateY(-8px) scale(1.01) rotate(0.3deg);
}

.card:nth-child(4):hover {
  transform: translateY(-8px) scale(1.01) rotate(-0.3deg);
}

.card:nth-child(5):hover {
  transform: translateY(-8px) scale(1.01) rotate(0.7deg);
}

.card:nth-child(6):hover {
  transform: translateY(-8px) scale(1.01) rotate(-0.7deg);
}

.card:nth-child(7):hover {
  transform: translateY(-8px) scale(1.01) rotate(0.4deg);
}

.card:nth-child(8):hover {
  transform: translateY(-8px) scale(1.01) rotate(-0.4deg);
}

.card:nth-child(9):hover {
  transform: translateY(-8px) scale(1.01) rotate(0.6deg);
}

.card h3 {
  color: #2ff8ff;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  position: relative;
}

.card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

/* Animated View Project button (restored) */
.view-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 8px 16px;
  border: 3px solid;
  border-color: transparent;
  font-size: 12px;
  background-color: inherit;
  border-radius: 100px;
  font-weight: 600;
  color: rgb(47, 248, 255);
  box-shadow: 0 0 0 1px rgb(47, 255, 238);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  text-decoration: none;
  margin-top: auto;
  justify-content: center;
  min-height: 36px;
  contain: paint;
  /* keep hover visuals inside */
}

.view-btn svg {
  position: absolute;
  width: 18px;
  fill: rgb(47, 255, 255);
  z-index: 2;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
}

.view-btn .arr-1 {
  right: 16px;
}

.view-btn .arr-2 {
  left: -25%;
}

.view-btn .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background-color: rgb(47, 224, 255);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
  z-index: 0;
}

.view-btn .text {
  position: relative;
  z-index: 1;
  transform: translateX(-12px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.view-btn:hover {
  box-shadow: 0 0 0 12px transparent;
  color: #212121;
  border-radius: 100px;
  clip-path: inset(0 round 100px);
  border-color: #000000;
  /* keep visible black border on hover */
}

.view-btn:hover .arr-1 {
  right: -25%;
}

.view-btn:hover .arr-2 {
  left: 16px;
}

.view-btn:hover .text {
  transform: translateX(12px);
}

.view-btn:hover svg {
  fill: #212121;
}

.view-btn:active {
  scale: 0.95;
  box-shadow: 0 0 0 4px greenyellow;
}

.view-btn:hover .circle {
  width: 260%;
  height: 260%;
  opacity: 1;
}

/* CONTACT FORM */
/* Modern Contact Form */
#contact-form {
  max-width: 700px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 3rem;
  background:
    linear-gradient(135deg, rgba(47, 248, 255, 0.05) 0%, rgba(47, 255, 238, 0.05) 100%),
    rgba(255, 255, 255, 0.02);
  border-radius: 25px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(47, 248, 255, 0.3);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

#contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #2ff8ff, #2fffee, #2ff8ff);
  animation: shimmer 3s ease-in-out infinite;
}

#contact-form input,
#contact-form textarea {
  padding: 1.2rem;
  border: 2px solid rgba(47, 248, 255, 0.2);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.03);
  color: white;
  font-size: 1rem;
  width: 100%;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  font-family: 'Poppins', sans-serif;
}

#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: #2ff8ff;
  box-shadow: 0 0 25px rgba(47, 248, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

#contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Distinct Send Button with diagonal shine */
#contact-form button {
  background: #7c4dff;
  /* base purple */
  color: #ffffff;
  padding: 1rem 2.2rem;
  border: 2px solid #7c4dff;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(124, 77, 255, 0.28);
  position: relative;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.4px;
  width: fit-content;
  margin: 0 auto;
}

#contact-form button::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -30%;
  width: 40%;
  height: 200%;
  transform: rotate(25deg) translateX(-220%);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.06));
  transition: transform .6s ease;
  pointer-events: none;
}

#contact-form button:hover::after {
  transform: rotate(25deg) translateX(380%);
}

#contact-form button:hover {
  background: #ff4081;
  color: #101010;
  border-color: #ff86c8;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 64, 129, 0.35);
}

#contact-form button:active {
  transform: translateY(-1px);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 2rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* SUBTLE BACKGROUND SHAPES */
.bg-shape {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  opacity: 0.1;
  filter: blur(120px);
  animation: floatBlob 25s ease-in-out infinite;
}

.bg1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  top: 15%;
  left: -100px;
  animation-delay: 0s;
}

.bg2 {
  width: 350px;
  height: 350px;
  background: linear-gradient(45deg, #4facfe, #00f2fe);
  bottom: 10%;
  right: -120px;
  animation-delay: 8s;
}

.bg3 {
  width: 250px;
  height: 250px;
  background: linear-gradient(45deg, #f093fb, #f5576c);
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 15s;
}

@keyframes floatBlob {

  0%,
  100% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(20px, -20px);
  }

  50% {
    transform: translate(0, -30px);
  }

  75% {
    transform: translate(-20px, -10px);
  }
}

/* GO UP BUTTON */
#goUpBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background: rgba(47, 248, 255, 0.1);
  color: #2ff8ff;
  border: 2px solid #2ff8ff;
  border-radius: 14px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(47, 248, 255, 0.25);
  cursor: pointer;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

#goUpBtn:hover {
  background: rgba(47, 248, 255, 0.2);
  transform: translateY(-2px);
}

#goUpBtn.show {
  opacity: 1;
  visibility: visible;
}

/* SMALLER MOBILE DEVICES */
@media (max-width: 480px) {
  .logo {
    margin: 0 auto;
    font-size: 1.1em;
    text-align: center;
  }


  .home-container {
    padding: 2rem 1rem;
    gap: 1.5rem;
  }

  .home-name {
    font-size: 2rem;
    text-align: center;
    position: relative;
    top: 10px;
    font-family: 'Poppins', sans-serif;
  }

  .typewriter {
    font-size: 1.2rem;
    text-align: center;
    min-height: 2rem;
  }

  .fixed-text,
  .type-dynamic {
    display: inline;
  }

  .flip-box {
    width: 250px;
    height: 250px;
  }

  .social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .profile-img {
    width: 200px;
    height: 200px;
  }

  .profile-container::before,
  .profile-container::after {
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
  }

  .section {
    padding: 2rem 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-text {
    font-size: 1rem;
    text-align: left;
    padding: 0 0.5rem;
  }

  .card {
    padding: 1.5rem;
  }

  .card h3 {
    font-size: 1.1rem;
  }

  .card p {
    font-size: 0.9rem;
  }

  .download-btn {
    margin: 1rem auto 0 auto;
    display: block;
    font-size: 0.95rem;
    text-align: center;
  }

  #goUpBtn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    bottom: 20px;
    right: 20px;
  }
}

/* Modern Scroll Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* Unique Go Up Button Design */
#goUpBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: rgba(47, 248, 255, 0.1);
  color: #2ff8ff;
  border: 2px solid #2ff8ff;
  border-radius: 12px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(47, 248, 255, 0.2);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  font-weight: bold;
  backdrop-filter: blur(10px);
}

#goUpBtn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(47, 248, 255, 0.4);
  background: rgba(47, 248, 255, 0.2);
  border-color: #2fffee;
}

#goUpBtn.show {
  opacity: 1;
  visibility: visible;
  animation: bounceIn 0.5s ease-out;
}

@keyframes bounceIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }

  50% {
    transform: scale(1.05);
  }

  70% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Enhanced Contact Form */
#contact-form input,
#contact-form textarea {
  padding: 1rem;
  border: 2px solid transparent;
  border-radius: 10px;
  background: linear-gradient(145deg, #111, #1a1a1a);
  color: white;
  font-size: 1rem;
  width: 100%;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 10px rgba(102, 126, 234, 0.2);
  transform: translateY(-1px);
}

#contact-form button {
  background: #667eea;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

#contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
  background: #764ba2;
}

#contact-form button::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;
}

#contact-form button:hover::before {
  left: 100%;
}

/* Improved Mobile Responsive Design */
@media screen and (max-width: 768px) {
  .profile-container {
    width: 260px;
    height: 300px;
    border-radius: 16px;
    margin: 0 auto;
  }

  .profile-img {
    border-radius: 16px;
    object-position: center 15%;
  }

  .profile-container::before {
    border-radius: 15px;
  }

  /* keep custom cursor on mobile too */

  /* Keep custom cursor icons active on mobile too */
  .custom-cursor,
  .custom-cursor-dot {
    display: none;
  }

  .view-btn {
    padding: 6px 12px;
    font-size: 11px;
    min-height: 28px;
  }

  .view-btn svg {
    width: 16px;
  }

  .view-btn:hover .circle {
    width: 120px;
    height: 120px;
  }

  .card {
    padding: 1.2rem;
    margin-bottom: 1rem;
  }

  .card h3 {
    font-size: 1rem;
  }

  .card p {
    font-size: 0.85rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .home-name {
    font-size: 1.8rem;
  }

  .typewriter {
    font-size: 1.1rem;
  }

  .section {
    padding: 2rem 1rem;
  }
}

@media screen and (max-width: 480px) {

  /* Mobile hero redesign */
  #home {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  #home::before {
    background: none;
  }

  .home-container {
    flex-direction: column;
    gap: 1rem;
  }

  .home-name {
    font-size: 1.8rem;
    text-align: center;
  }

  .typewriter {
    font-size: 1.05rem;
    text-align: center;
  }

  .profile-container {
    width: 200px;
    height: 200px;
    border-radius: 14px;
    margin: 0 auto;
    max-width: 90vw;
  }

  .profile-img {
    border-radius: 14px;
    object-position: center 18%;
  }

  .profile-container::before {
    display: none;
  }

  .view-btn {
    padding: 5px 10px;
    font-size: 10px;
    min-height: 26px;
  }

  .view-btn svg {
    width: 14px;
  }

  .view-btn:hover .circle {
    width: 100px;
    height: 100px;
  }

  .card {
    padding: 1rem;
    margin-bottom: 0.8rem;
  }

  .card h3 {
    font-size: 0.9rem;
  }

  .card p {
    font-size: 0.8rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .home-name {
    font-size: 1.6rem;
  }

  .typewriter {
    font-size: 1rem;
  }

  .section {
    padding: 1.5rem 0.8rem;
  }
}

/* Only for big screens (desktop) */
@media screen and (min-width: 1024px) {
  .profile-container {
    width: 380px;
    height: 450px;
  }

  .home-container {
    animation: slideInLeft 1s ease-out;
  }

  .home-right {
    animation: slideInRight 1s ease-out 0.3s both;
  }
}