/* Add spacing above profile-stats */
.profile-stats {
  margin-top: 8rem;
}
/* Center skills-list */
.skills-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 4em;
}
/* Stats separator styling */
.stat-separator {
  display: inline-block;
  width: 0;
  height: 88px;
  border-left: 2px solid #fff;
  opacity: 0.5;
  vertical-align: middle;
  margin: 0 1.1em;
}
/* Stats block styling */
.stat-block {
  display: inline-block;
  text-align: center;
  margin: 0 1.5em;
}
.stat-number {
  font-size: 1.2em;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.stat-label {
  font-size: 1rem;
  color: #fff;
  opacity: 0.8;
  font-weight: 500;
  margin-top: 0.1em;
  display: block;
}
/* Stats list styling */
.stats-list {
  font-size: 2rem;
  color: #fff;
  font-weight: 700;
  text-align: center;
  margin-top: 0.75em;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
}
/* Skill logos styling */
.skill-logo {
  width: 80px;
  height: 80px;
  margin: 0 16px;
  object-fit: contain;
  aspect-ratio: 1/1;
}

/* Larger skill logos for Blender and After Effects */
.skill-logo-large {
  width: 104px;
  height: 104px;
  object-fit: contain;
  aspect-ratio: 1/1;
}

/* Add spacing above the videos section */
.videos-section {
  margin-top: 2.5rem;
}
/* Country flag size for testimonials */
.country-flag {
  width: 1.25em;
  height: auto;
  display: block;
  margin: 0 auto 0 auto;
  padding: 0;
  border-radius: 2px;
}
.client-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 600;
  margin-bottom: 0.3em;
}
body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #032436, #000000);
  background-attachment: fixed;
  font-family: 'Segoe UI', 'Arial', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #222;
}

main {
  margin: 3.5rem auto 3.5rem auto;
  align-self: center;
  width: 100vh;
  max-width: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.availability-status {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6em;
  font-size: 0.9em;
  font-weight: 500;
  color: #19d86b;
  margin-bottom: 0.5em;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  letter-spacing: 0.01em;
  animation: fadeIn 1.2s;
}

.status-dot {
  width: 0.7em;
  height: 0.7em;
  background: #19d86b;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #19d86b80;
  animation: pulseStatus 1.2s infinite alternate;
}

@keyframes pulseStatus {
  from { box-shadow: 0 0 8px #19d86b80; }
  to   { box-shadow: 0 0 16px #19d86b; }
}

.all-videos {
  margin-top: 100px;
}

.profile-pic-container {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: 100px;
}

.profile-pic {
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  margin: 0 2.5rem 3rem 0;
  float: none;
  clear: none;
  animation: fadeInUp 1.1s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.main-title {
  font-size: 5em;
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  margin: 0 0 1.2rem 0;
  text-align: left;
  width: 100%;
  animation: fadeInUp 1.3s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.main-desc {
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 1.6em;
  line-height: 1.8;
  font-weight: 300;
  letter-spacing: 0rem;
  width: 100%;
  margin-top: var(--spacing, 1rem);
  text-align: left;
  animation: fadeInUp 1.5s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.main-video {
  width: 140px;
  height: 140px;
  aspect-ratio: 16/9;
  border-radius: 2rem;
  display: block;
  margin: 2rem auto;
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
}

.video-container {
  margin: 2rem 0;
}

.video-container iframe {
  width: 85vw;
  max-width: 854px;
  height: 48vw;
  max-height: 480px;
  border-radius: 2rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
  display: block;
  margin: 0 auto;
}

.links {
  display: flex;
  justify-content: center;
  gap: 1.375rem;
  margin: auto;
}

.links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #FFFFFF;
  margin: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s, background 0.2s, transform 0.3s;
}

.links a:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  background: #f0f0f0;
  transform: scale(1.18) rotate(-8deg);
}

.links img {
  width: 2.5rem;
  height: 2.5rem;
  display: block;
  /* filter: invert(27%) sepia(6%) saturate(670%) hue-rotate(163deg) brightness(97%) contrast(88%); */
}

footer p {
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 1em;
  font-weight: 300;
  line-height: 2;
  letter-spacing: 0;
  margin: 2rem auto 2rem auto;
  text-align: center;
}

.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto 0 auto;
  font-size: 2.2em;
  padding: 2em 0;
  animation: fadeInUp 1.2s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.contact-section h2 {
  color: #FFFFFF;
  font-size: 1.5em;
}

/* Animation keyframes for fade-in and slide-up */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animate sections on scroll (basic fade-in) */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
section {
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
  animation-delay: 0.2s;
}
section.profile-section {
  animation-delay: 0.1s;
}
section.profile-stats {
  animation-delay: 0.4s;
}
section.videos-section {
  animation-delay: 0.7s;
}
section.testimonies-section {
  animation-delay: 1.0s;
}
section.contact-section {
  animation-delay: 1.3s;
}

.testimonies-section {
  margin: 4rem auto 2rem auto;
  max-width: 700px;
  text-align: center;
}

.testimonies-section h2 {
  color: #FFFFFF;
  font-size: 2.2em;
  margin-bottom: 2rem;
}

.testimony {
  background: rgba(255,255,255,0.07);
  border-radius: 1.2rem;
  padding: 2.5rem 2rem 1.5rem 2rem;
  margin-bottom: 1.5rem;
  color: #fff;
  font-size: 1.15em;
  font-style: italic;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 2px solid #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,0.10);
}

.stars {
  color: #FFD700;
  font-size: 1.3em;
  margin-bottom: 0.7rem;
  letter-spacing: 0.1em;
  font-style: normal;
}

.testimony span {
  display: block;
  margin-top: 1rem;
  font-size: 1em;
  font-style: normal;
  color: #b0c4cc;
}


/* Back to top arrow button - modern design */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #00b4ff 0%, #032436 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22), 0 0 0 6px rgba(0,180,255,0.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5em;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s, background 0.3s;
  border: 2px solid #fff;
}
#back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1.08);
}
#back-to-top:hover {
  background: linear-gradient(135deg, #00eaff 0%, #032436 100%);
  box-shadow: 0 12px 40px rgba(0,180,255,0.32), 0 0 0 10px rgba(0,180,255,0.22);
  transform: scale(1.18) rotate(-8deg);
}
#back-to-top:active {
  background: linear-gradient(135deg, #00b4ff 0%, #032436 100%);
  box-shadow: 0 4px 16px rgba(0,180,255,0.18);
  transform: scale(0.98);
}

/* --- Responsive Tweaks for Mobile-Friendly Layout --- */
@media (max-width: 900px) {
  main {
    width: 98vw;
    max-width: 98vw;
    margin: 2rem auto 2rem auto;
    padding: 0 0.5rem;
  }
  .main-title {
    font-size: 2.6em;
    text-align: center;
    width: 100%;
  }
  
  .availability-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6em;
    font-size: 0.8em;
    font-weight: 500;
    color: #19d86b;
    margin-bottom: 0.7em;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    letter-spacing: 0.01em;
    animation: fadeIn 1.2s;
  }

  .status-dot {
    width: 0.7em;
    height: 0.7em;
    background: #19d86b;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #19d86b80;
    animation: pulseStatus 1.2s infinite alternate;
  }

  @keyframes pulseStatus {
    from {
      box-shadow: 0 0 8px #19d86b80;
    }
    to {
      box-shadow: 0 0 16px #19d86b;
    }
  }
  
  .main-desc {
    font-size: 1.1em;
    text-align: center;
    width: 100%;
  }
  .profile-pic-container {
    justify-content: center;
    margin-top: 2.5rem;
  }
  .profile-pic {
    width: 7.5rem;
    height: 7.5rem;
    margin: 0 0 2rem 0;
  }
  .skills-list {
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 2em;
  }
  .skill-logo {
    width: 54px;
    height: 54px;
    margin: 0 8px;
  }
  .skill-logo-large {
    width: 70px;
    height: 70px;
  }
  
  .skill-logo-m {
    width: 90px;
    height: 90px;
  }
  
  .stats-list {
    font-size: 1.1em;
    /* flex-direction: column; */
    gap: 0.8em;
  }
  .stat-separator {
    display: inline-block;
    width: 0;
    height: 40px;
    border-left: 2px solid #fff;
    opacity: 0.5;
    vertical-align: middle;
    margin: 0 1.1em;
  }
  .stat-block {
    margin: 0.5em 0;
  }
  .videos-section {
    margin-top: 1.2rem;
  }
  .video-container iframe {
      width: 95vw;
      max-width: 95vw;
      height: 55vw;
      max-height: 55vw;
      border-radius: 1rem;
  }
  .testimonies-section {
    margin: 2rem auto 1rem auto;
    max-width: 98vw;
    padding: 0 0.5rem;
  }
  .testimony {
    padding: 1.2rem 0.7rem 1rem 0.7rem;
    font-size: 1em;
  }
  .avatar {
    width: 48px;
    height: 48px;
    margin-bottom: 0.7rem;
  }
  .country-flag {
    width: 1em;
  }
  .contact-section {
    font-size: 1.2em;
    padding: 1em 0;
  }
  .links {
    gap: 0.7rem;
  }
  .links a {
    width: 2.2rem;
    height: 2.2rem;
  }
  .links img {
    width: 1.5rem;
    height: 1.5rem;
  }
  #back-to-top {
    width: 44px;
    height: 44px;
    font-size: 1.5em;
    bottom: 18px;
    right: 18px;
  }
}

@media (max-width: 600px) {
  .main-title {
    font-size: 1.6em;
  }
  
  .availability-status {
    font-size: 0.6em;
  }

  .status-dot {
    width: 0.6em;
    height: 0.6em;
  }

  @keyframes pulseStatus {
    from {
      box-shadow: 0 0 8px #19d86b80;
    }
    to {
      box-shadow: 0 0 16px #19d86b;
    }
  }
  
  .main-desc {
    font-size: 0.95em;
  }
  .profile-pic {
    width: 5.5rem;
    height: 5.5rem;
  }
  .skills-list {
    gap: 6px;
  }
  .skill-logo {
    width: 38px;
    height: 38px;
  }
  .skill-logo-large {
    width: 48px;
    height: 48px;
  }
  .stats-list {
    font-size: 0.95em;
  }
  .testimony {
    font-size: 0.92em;
    padding: 0.8rem 0.3rem 0.7rem 0.3rem;
  }
  .avatar {
    width: 36px;
    height: 36px;
  }
  .contact-section {
    font-size: 1em;
  }
  #back-to-top {
    width: 36px;
    height: 36px;
    font-size: 1.1em;
    bottom: 10px;
    right: 10px;
  }
}


@media (max-width: 430px) {

  .stats-list {
    font-size: 1.1em;
    flex-direction: column;
    gap: 0.8em;
  }
  .stat-separator {
    width: 80%;
    height: 0;
    border-left: none;
    border-top: 2px solid #fff;
    margin: 0.7em auto;
    display: block;
    opacity: 0.5;
  }

  }