* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Ubuntu", sans-serif;
}


.nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  position: relative;
  background-color: #1e1f26;
  text-align: center;
  padding: 0 2em;
}

.nav,
.slider {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  position: relative;
  background-color: #1e1f26;
  text-align: center;
  padding: 0 2em;

}

.name :hover {
  transform: translate3d(0, -10px, 22px);
  color: #ff0266;
}

a {
  text-decoration: none;
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
  background: rgba(30, 31, 38, 0.9);
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-container--top-first {
  position: fixed;
  top: 75px;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-container--top-second {
  position: fixed;
  top: 0;
}

.nav-tab {
  padding: 10px 20px;
  color: #03dac6;
  letter-spacing: 0.1rem;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.nav-tabs {
  display: flex;
  align-items: center;
}

.nav-tab:hover {
  color: #ff0266;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}

.nav #logo {
    position: fixed;
    max-width: 100%;
    height: 58px;
    top: 9px;
    left: 6%;
    z-index: 11;
}

.nav-tab {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  color: #03dac6;
  letter-spacing: 0.1rem;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  text-decoration: none;
}

.nav-tab:hover {
  color: #ff0266;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}

.hamburger-menu {
  position: fixed;
  right: 20px;
  display: none;
  flex-direction: column;
  justify-content: space-around;
  align-items: flex-end;
  width: 28px;
  height: 23px;
  cursor: pointer;
  order: 2; /* Adjust order to move hamburger to the right */
}

.hamburger-menu div {
  width: 30px;
  height: 3px;
  background-color: #03dac6;
  transition: all 0.3s ease;
}

.nav-container.active .bar1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-container.active .bar2 {
  opacity: 0;
}

.nav-container.active .bar3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero */
:root {
  --primary: #03dac6;
  --secondary: #ff0266;
  --dark: #1e1f26;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --navbar-height: 70px;
}

.hero-wrapper {
  min-height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  padding: calc(var(--navbar-height) + 2rem) 4rem 2rem;
  overflow: hidden;
}

.hero-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Left Content */
.hero-content {
  text-align: left;
  padding-left: 4rem;
}

.hero-greeting {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: var(--primary);
  margin-bottom: 0.75rem;
  animation: fadeInUp 0.5s ease forwards;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-greeting::after {
  content: '';
  height: 2px;
  width: 60px;
  background: var(--primary);
  display: inline-block;
}

.hero-name {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  animation: fadeInUp 0.5s ease forwards 0.2s;
}

.hero-description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  animation: fadeInUp 0.5s ease forwards 0.3s;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.5s ease forwards 0.4s;
}

.hero-button {
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.primary-button {
  background: var(--primary);
  color: var(--dark);
  box-shadow: 0 4px 15px rgba(3, 218, 198, 0.2);
}

.primary-button:hover {
  background: #04f7e0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(3, 218, 198, 0.3);
}

.secondary-button {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--text-secondary);
}

.secondary-button:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Right Image Section */
.hero-image {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.8s ease forwards;
}

.hero-image img {
  width: 90%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  animation: float 6s ease-in-out infinite;
}

.image-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(3, 218, 198, 0.1) 0%,
    rgba(255, 2, 102, 0.1) 100%
  );
  filter: blur(60px);
  opacity: 0.6;
  z-index: -1;
}

/* Tech Tags */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeInUp 0.5s ease forwards 0.5s;
}

.htech-tag {
  padding: 0.3rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(3, 218, 198, 0.2);
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.htech-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  background: rgba(3, 218, 198, 0.1);
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 1400px) {
  .hero-content {
    padding-left: 2rem;
  }
  .hero-container {
    gap: 2rem;
  }
}

@media (max-width: 1200px) {
  .hero-wrapper {
    padding-top: calc(var(--navbar-height) + 4rem);
  }
  .hero-container {
    grid-template-columns: 1fr 1fr;
  }
  .hero-content {
    padding-left: 0;
  }
}

@media (max-width: 992px) {
  .hero-wrapper {
    min-height: auto;
    padding: calc(var(--navbar-height) + 3rem) 2rem 3rem;
  }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-content {
    text-align: center;
    order: 2;
  }
  .hero-description {
    margin: 0 auto 2.5rem;
  }
  .hero-greeting::after {
    display: none;
  }
  .hero-image {
    order: 1;
    margin: 0 auto;
    max-width: 500px;
  }
  .hero-actions, .tech-tags {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-wrapper {
    padding: calc(var(--navbar-height) + 2rem) 1.5rem 3rem;
  }
  .hero-image {
    max-width: 400px;
  }
  .hero-name {
    font-size: clamp(2rem, 4vw, 3rem);
  }
  .hero-description {
    font-size: 1rem;
    max-width: 500px;
  }
}

@media (max-width: 576px) {
  .hero-wrapper {
    padding: calc(var(--navbar-height) + 1.5rem) 1rem 2rem;
  }
  .hero-image {
    max-width: 300px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }
  .hero-button {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem;
  }
  .tech-tags {
    gap: 0.5rem;
    justify-content: center;
  }
  .tech-tag {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .hero-wrapper {
    padding-top: calc(var(--navbar-height) + 1rem);
  }
  .hero-image {
    max-width: 260px;
  }
  .hero-greeting {
    font-size: 1.1rem;
  }
  .hero-name {
    font-size: 2rem;
  }
  .hero-description {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

@media (max-width: 391px) {
  .hero-wrapper {
    padding-top: calc(var(--navbar-height) + 4rem);
  }
  .hero-image {
    max-width: 260px;
  }
  .hero-greeting {
    font-size: 1rem;
  }
  .hero-name {
    font-size: 1.8rem;
  }
  .hero-description {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .hero-button {
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1.4rem;
  }
}



/* Additional CSS for About Me Section */

.about-title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #03dac6;
  margin-bottom: 0.5rem;
  text-align: center;
}

.about-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.about-me-section {
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.about-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards 0.5s;
}

.section-heading {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #03dac6;
  text-align: left;
  position: relative;
  padding-bottom: 0.5rem;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: #ff0266;
  transition: width 0.3s ease;
}


/* Additional CSS for Education and Updated Skills */
.education-section {
  margin-bottom: clamp(2rem, 4vw, 4rem);
}

.education-timeline {
  display: grid;
  gap: clamp(1rem, 2vw, 2rem);
}

.education-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: clamp(1rem, 3vw, 2rem);
  transition: all 0.3s ease;
  border: 1px solid rgba(3, 218, 198, 0.1);
}

/* Hover Effects */
.education-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: #03dac6;
}

.education-card:hover .education-icon {
  background: rgba(3, 218, 198, 0.2);
  transform: scale(1.1);
}

.education-icon {
  width: clamp(40px, 6vw, 60px);
  height: clamp(40px, 6vw, 60px);
  background: rgba(3, 218, 198, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.education-icon i {
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: #03dac6;
}

.education-content {
  flex-grow: 1;
}

.education-content h3 {
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.education-content .institution {
  color: #03dac6;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  margin-bottom: 0.25rem;
}

.education-content .duration {
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(0.8rem, 1.2vw, 0.9rem);
}


/* Interests Section */
.interests-section {
  margin-bottom: clamp(2rem, 4vw, 4rem);
}

.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: clamp(1rem, 2vw, 2rem);
}

.interest-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(3, 218, 198, 0.1);
}

.interest-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: #03dac6;
}

.interest-card i {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: #03dac6;
  margin-bottom: 1rem;
}

.interest-card h3 {
  font-size: clamp(1.1rem, 2vw, 1.2rem);
  margin-bottom: 0.5rem;
}

.interest-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Skills Section */
.skills-section {
  margin-bottom: clamp(2rem, 4vw, 4rem);
}

.skills-container {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}

.skills-category {
  margin-bottom: 2rem;
}

.skills-category h3 {
  color: #03dac6;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.5rem, 1vw, 1rem);
}

.skill-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(3, 218, 198, 0.2);
  padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(1rem, 2vw, 1.25rem);
  border-radius: 25px;
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  color: #ffffff;
  transition: all 0.3s ease;
  cursor: pointer;
}

.skill-tag i {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: #03dac6;
}

.skill-tag:hover {
  background: rgba(3, 218, 198, 0.2);
  border-color: #03dac6;
  transform: translateY(-2px);
}

.skill-tag:hover i {
  color: #ff0266;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}


/* Web Profiles Section */
.web-profiles-section {
  margin-top: clamp(2rem, 4vw, 4rem);
}

.social-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

/* Social Item Styles */
.social-item {
  position: relative;
  width: 120px;
  text-align: center;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.social-item a {
  text-decoration: none;
  display: block;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, 
      rgba(255, 255, 255, 0.1) 0%,
      transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-icon-svg {
  width: 40px;
  height: 40px;
  fill: #ffffff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.social-name {
  margin-top: 1rem;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  opacity: 0.9;
}

.social-username {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  margin-top: 0.25rem;
  transition: all 0.3s ease;
}

/* Platform Gradients */
.github { --gradient: linear-gradient(135deg, #2b3137 0%, #404448 100%); }
.linkedin { --gradient: linear-gradient(135deg, #0077b5 0%, #00a0dc 100%); }
.twitter { --gradient: linear-gradient(135deg, #1da1f2 0%, #65c5f7 100%); }
.instagram { --gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.youtube { --gradient: linear-gradient(135deg, #ff0000 0%, #ff4444 100%); }
.facebook { --gradient: linear-gradient(135deg, #1877f2 0%, #3b9afe 100%); }
.stackoverflow { --gradient: linear-gradient(135deg, #f48024 0%, #f67c3c 100%); }
.medium { --gradient: linear-gradient(135deg, #000000 0%, #333333 100%); }
.devto { --gradient: linear-gradient(135deg, #0a0a0a 0%, #3b3b3b 100%); }
.codepen { --gradient: linear-gradient(135deg, #131417 0%, #3b3b3b 100%); }
.whatsapp { --gradient: linear-gradient(135deg, #25d366 0%, #128c7e 100%); }
.telegram { --gradient: linear-gradient(135deg, #0088cc 0%, #31a9dd 100%); }
.behance { --gradient: linear-gradient(135deg, #1769ff 0%, #4d8fff 100%); }
.discord { --gradient: linear-gradient(135deg, #7289da 0%, #99aab5 100%); }

/* Enhanced Hover Effects */
.social-item:hover .social-icon-wrap {
  transform: translateY(-5px) rotate(-8deg);
  box-shadow: 
      0 8px 20px rgba(0, 0, 0, 0.2),
      0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.social-item:hover .social-icon-wrap::before {
  opacity: 1;
}

.social-item:hover .social-icon-svg {
  transform: rotate(8deg) scale(1.1);
}

.social-item:hover .social-name {
  color: var(--hover-color, #03dac6);
  transform: translateY(2px);
}

.social-item:hover .social-username {
  opacity: 1;
  transform: translateY(2px);
}

/* Platform-specific Hover Colors */
.github:hover { --hover-color: #8a8a8a; }
.linkedin:hover { --hover-color: #0077b5; }
.twitter:hover { --hover-color: #1da1f2; }
.instagram:hover { --hover-color: #e4405f; }
.youtube:hover { --hover-color: #ff0000; }
.facebook:hover { --hover-color: #1877f2; }
.stackoverflow:hover { --hover-color: #f48024; }
.medium:hover { --hover-color: #8a8a8a; }
.devto:hover { --hover-color: #8a8a8a; }
.codepen:hover { --hover-color: #8a8a8a; }
.whatsapp:hover { --hover-color: #25d366; }
.telegram:hover { --hover-color: #0088cc; }
.behance:hover { --hover-color: #1769ff; }
.discord:hover { --hover-color: #7289da; }

/* Animation Keyframes */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Entrance Animation */
.social-item {
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}

/* Stagger Animation Delays */
.social-item:nth-child(1) { animation-delay: 0.1s; }
.social-item:nth-child(2) { animation-delay: 0.2s; }
.social-item:nth-child(3) { animation-delay: 0.3s; }
.social-item:nth-child(4) { animation-delay: 0.4s; }
.social-item:nth-child(5) { animation-delay: 0.5s; }
.social-item:nth-child(6) { animation-delay: 0.6s; }
.social-item:nth-child(7) { animation-delay: 0.7s; }
.social-item:nth-child(8) { animation-delay: 0.8s; }
.social-item:nth-child(9) { animation-delay: 0.9s; }
.social-item:nth-child(10) { animation-delay: 1s; }
.social-item:nth-child(11) { animation-delay: 1.1s; }
.social-item:nth-child(12) { animation-delay: 1.2s; }
.social-item:nth-child(13) { animation-delay: 1.3s; }
.social-item:nth-child(14) { animation-delay: 1.4s; }
.social-item:nth-child(15) { animation-delay: 1.5s; }

/* Responsive Design */
@media (max-width: 768px) {
  .social-container {
      gap: 1.5rem;
  }
  
  .social-item {
      width: 100px;
  }
  
  .social-icon-wrap {
      width: 70px;
      height: 70px;
  }
  
  .social-icon-svg {
      width: 35px;
      height: 35px;
  }
}

@media (max-width: 480px) {
  .social-hub {
      padding: 4rem 1rem;
  }
  
  .social-hub-title h2 {
      font-size: 2rem;
  }
  
  .social-container {
      gap: 1rem;
  }
  
  .social-item {
      width: 90px;
  }
  
  .social-icon-wrap {
      width: 60px;
      height: 60px;
  }
  
  .social-icon-svg {
      width: 30px;
      height: 30px;
  }
}

/* Added 3D lighting effect */
.social-icon-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.2) 0%,
      transparent 50%,
      rgba(0, 0, 0, 0.1) 100%
  );
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.social-item:hover .social-icon-wrap::after {
  opacity: 1;
}




/* CSS for Blog Section */
#tab-blog {
  min-height: 100vh;
  width: 100%;
  padding: clamp(2rem, 5vw, 4rem);
  background-color: #1e1f26;
  position: relative;
  overflow: hidden;
}

.blog-title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #03dac6;
  text-align: center;
  margin-bottom: 0.5rem;
  animation: fadeInUp 0.6s ease backwards;
}

.blog-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.6s ease backwards 0.2s;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 2vw, 2rem);
}

.blog-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(3, 218, 198, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  animation: fadeInUp 0.6s ease backwards;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: #03dac6;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.blog-card:nth-child(2) {
  animation-delay: 0.2s;
}

.blog-card:nth-child(3) {
  animation-delay: 0.4s;
}

.blog-card-header {
  position: relative;
  padding-top: 60%; /* 16:9 Aspect Ratio */
  overflow: hidden;
}

.blog-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-image {
  transform: scale(1.05);
}

.blog-category {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(3, 218, 198, 0.9);
  color: #1e1f26;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: clamp(0.75rem, 1.5vw, 0.8rem);
  font-weight: 500;
  backdrop-filter: blur(4px);
  z-index: 1;
  transition: all 0.3s ease;
}

.blog-card-content {
  padding: clamp(1.25rem, 2.5vw, 1.5rem);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-title {
  color: #ffffff;
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  margin-bottom: 1rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.blog-excerpt {
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(0.875rem, 1.5vw, 0.9rem);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-metadata {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: clamp(0.75rem, 1.2vw, 0.8rem);
}

.blog-metadata i {
  margin-right: 0.5rem;
  color: #03dac6;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #03dac6;
  font-size: clamp(0.875rem, 1.5vw, 0.9rem);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  width: fit-content;
}

.read-more i {
  transition: transform 0.3s ease;
  font-size: 0.8em;
}

.read-more:hover {
    color: #ff0266;
}

.read-more:hover i {
    transform: translateX(5px);
}

.blog-card:hover .blog-category {
  background: #03dac6;
  transform: translateY(-2px);
}

.blog-card:hover .blog-card-title {
  color: #03dac6;
}


/* Loading Skeleton Animation */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.skeleton {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 25%,
    rgba(255, 255, 255, 0.1) 37%,
    rgba(255, 255, 255, 0.05) 63%
  );
  background-size: 1000px 100%;
  animation: shimmer 2s infinite linear;
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-card {
    animation: fadeInUp 0.6s ease backwards;
}

.blog-card:nth-child(2) {
    animation-delay: 0.2s;
}

.blog-card:nth-child(3) {
    animation-delay: 0.4s;
}



/* Projects Section Base Styles */
#tab-projects {
  min-height: 100vh;
  width: 100%;
  padding: clamp(2rem, 5vw, 4rem);
  background-color: #1e1f26;
  position: relative;
  overflow: hidden;
}

/* Project Headers */
.project-title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #03dac6;
  text-align: center;
  margin-bottom: 0.5rem;
  animation: fadeInUp 0.6s ease backwards;
}

.project-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.6s ease backwards 0.2s;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 2vw, 2rem);
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(3, 218, 198, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.6s ease backwards;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card:nth-child(2) {
  animation-delay: 0.2s;
}

.project-card:nth-child(3) {
  animation-delay: 0.4s;
}

/* Project Filter */
.project-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease backwards 0.4s;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(3, 218, 198, 0.1);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: clamp(0.875rem, 1.5vw, 0.9rem);
}

.filter-btn.active {
  background: #03dac6;
  color: #1e1f26;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: #03dac6;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.project-image {
  position: relative;
  padding-top: 60%; /* 16:9 Aspect Ratio */
  overflow: hidden;
}

.project-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 31, 38, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-links {
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.project-link {
  width: clamp(40px, 6vw, 45px);
  height: clamp(40px, 6vw, 45px);
  border-radius: 50%;
  background: #03dac6;
  color: #1e1f26;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.project-card:hover .project-links {
  transform: translateY(0);
}

.project-link:hover {
  background: #ff0266;
  transform: translateY(-2px);
}

/* Project Content */
.project-content {
  padding: clamp(1.25rem, 2.5vw, 1.5rem);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-name {
  color: #ffffff;
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.project-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(0.875rem, 1.5vw, 0.9rem);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}

/* Project Technologies */
.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.tech-tag {
  background: rgba(3, 218, 198, 0.1);
  color: #03dac6;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: clamp(0.75rem, 1.2vw, 0.8rem);
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: rgba(3, 218, 198, 0.2);
  transform: translateY(-2px);
}

.filter-btn:hover {
  background: rgba(3, 218, 198, 0.2);
  border-color: #03dac6;
}

/* Animation for project cards */
.project-card {
  animation: fadeInUp 0.6s ease backwards;
}

.project-card:nth-child(2) {
  animation-delay: 0.2s;
}

.project-card:nth-child(3) {
  animation-delay: 0.4s;
}


/* CSS for Contact Form */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&display=swap');

/* Feedback Form Section Styles */
.feedback-section {
  min-height: 100vh;
  width: 100%;
  padding: clamp(2rem, 5vw, 4rem);
  background-color: #1e1f26;
  position: relative;
  overflow: hidden;
}

.feedback-title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #03dac6;
  text-align: center;
  margin-bottom: 0.5rem;
  animation: fadeInUp 0.6s ease backwards;
}

.feedback-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.6s ease backwards 0.2s;
}

.feedback-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(400px, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.feedback-messages {
  padding: clamp(1.5rem, 3vw, 2rem);
  color: #ffffff;
}

.message-block {
  margin-bottom: 2rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  border: 1px solid rgba(3, 218, 198, 0.1);
  transition: all 0.3s ease;
}

.message-block:hover {
  border-color: #03dac6;
  transform: translateY(-5px);
}

.message-title {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  color: #03dac6;
  margin-bottom: 1rem;
}

.message-quote {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(1.7rem, 2vw, 1.3rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.feedback-container {
  padding: clamp(2rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(3, 218, 198, 0.1);
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.6s ease backwards 0.4s;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  text-align: left;
  width: 100%;
  margin-left: 25px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.8rem 1.20rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(3, 218, 198, 0.2);
  border-radius: 10px;
  color: #ffffff;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #03dac6;
  background: rgba(3, 218, 198, 0.1);
}

.form-textarea {
  min-height: 200px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  padding: 1rem 1.25rem;
  background: #03dac6;
  border: none;
  border-radius: 10px;
  color: #1e1f26;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.form-submit:hover {
  background: #ff0266;
  transform: translateY(-2px);
}

.form-submit:disabled {
  background: rgba(3, 218, 198, 0.5);
  cursor: not-allowed;
  transform: none;
}

.feedback-status {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 10px;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  animation: fadeIn 0.3s ease;
}

.feedback-status.success {
  background: rgba(46, 213, 115, 0.1);
  color: #2ed573;
  border: 1px solid rgba(46, 213, 115, 0.2);
}

.feedback-status.error {
  background: rgba(255, 71, 87, 0.1);
  color: #ff4757;
  border: 1px solid rgba(255, 71, 87, 0.2);
}


.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 1s ease-in-out infinite;
  margin-left: 0.5rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}



/* CSS for Footer */
.footer {
  background: rgba(30, 31, 38, 0.95);
  padding-top: 3rem;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(3, 218, 198, 0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding: 0 2rem;
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  height: 50px;
  margin-bottom: 1rem;
}

.footer-slogan {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(3, 218, 198, 0.1);
  color: #03dac6;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #03dac6;
  color: #1e1f26;
  transform: translateY(-3px);
}

.footer h3 {
  color: #03dac6;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: #ff0266;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 1rem;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #03dac6;
  transform: translateX(5px);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact i {
  color: #03dac6;
  width: 20px;
}

.footer-bottom {
  margin-top: 3rem;
  padding: 1.5rem 2rem;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  text-align: center;
  width: 100%;
}



/* Responsive design */
@media (max-width: 1200px) {
  .im {
    font-size: 2rem;
  }
  .about-full > .name {
    font-size: 4rem;
  }
  .intro {
    font-size: 20px;
  }

  .about-content-wrapper {
    gap: 3rem;
  }

}

@media (max-width: 992px) {
  .im {
    font-size: 1.75rem;
  }
  .about-full > .name {
    font-size: 3.5rem;
  }
  .intro {
    font-size: 18px;
  }

  .education-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .education-icon {
    margin: 0 auto;
  }

  .section-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .section-heading {
    text-align: center;
  }

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

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

  .footer-content {
      grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
      grid-column: 1 / -1;
      text-align: center;
      max-width: 100%;
  }

  .social-links {
      justify-content: center;
  }

  .feedback-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feedback-messages {
    order: -1;
    text-align: center;
  }


}

@media (max-width: 768px) {
  .nav #logo {
    height: 50px;
    top: 14px;
  }


  .about-full{
    text-align: left;
    position: absolute;
    top: 16vh;
    left: 24%;
  }

  .im {
    font-size: 1.8rem;
    padding-left: 2px;
    padding-bottom: 8px;
  }
  .about-full > .name {
    font-size: 3rem;
  }
  .intro {
    font-size: 20px;
  }

  .myimg{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 12%;
    width: 44vh;
    left: -1px;
  }

  .about-me-section {
    padding: 2rem 1rem;
  }

  .about-content-wrapper {
    padding: 1rem;
  }

  .section-heading {
      font-size: 2rem;
  }

  .interests-grid {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    justify-content: center;
  }

  .skill-tag {
      font-size: 0.8rem;
  }

  .profile-card {
    grid-template-columns:  1fr;
    text-align: center;
  }

  .profile-icon {
    margin: 0 auto;
  }

  /* blog */
  #tab-blog {
    padding: 2rem 1rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .blog-card-header {
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
  }

  /* Project */
  #tab-projects {
    padding: 2rem 1rem;
  }

  .project-filters {
    gap: 0.5rem;
  }

  .project-title {
      font-size: 2.5rem;
  }

  .project-subtitle {
      font-size: 1rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .filter-btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }


  .feedback-container {
    padding: 1.5rem;
  }


  /* Footer */
  .footer-content {
      grid-template-columns: 1fr;
      gap: 2rem;
  }

  .footer-bottom {
      flex-direction: column;
      text-align: center;
  }

  .footer-extra-links {
      justify-content: center;
  }

}

@media (max-width: 675px) {
  .im {
    font-size: 1.25rem;
  }
  .about-full > .name {
    font-size: 2.5rem;
  }
  .intro {
    font-size: 14px;
  }
    .nav-container {
      padding-right: 50px; /* Increase padding to accommodate hamburger on the right */
  }

  .nav-tabs {
      flex-direction: column;
      align-items: flex; /* Align items to the right */
      height: 100%;
      position: fixed;
      top: 0;
      right: -100%; /* Slide from the right */
      width: 75%;
      background: rgba(30, 31, 38, 1);
      transition: all 0.3s ease;
      padding-top: 100px;
  }

  .nav-tabs.active {
      right: 0; /* Slide in from the right */
  }

  .nav-tab {
      display: block;
      padding: 20px;
      font-size: 1.2rem;
  }

  .hamburger-menu {
      display: flex;
      order: 1; /* Adjust order to move hamburger to the left in mobile view */
      z-index: 15;
  }
}



@media (max-width: 576px) {
  .about-title {
    font-size: 2rem;
  }

  .about-subtitle {
    font-size: 1rem;
  }

  .education-content h3 {
    font-size: 1rem;
  }

  .skill-tag {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }

  .blog-title {
    font-size: 2rem;
  }

  .blog-subtitle {
    font-size: 1rem;
  }

  .blog-metadata {
    flex-direction: column;
    gap: 0.5rem;
  }

  .project-title {
    font-size: 2rem;
  }

  .project-subtitle {
    font-size: 1rem;
  }

  .project-tech {
    justify-content: center;
  }

  .feedback-container {
    padding: 1.5rem;
  }

  .message-block {
    padding: 1.5rem;
  }

  .form-submit {
    padding: 0.875rem;
  }
}


@media (max-width: 500px) {

  .nav-container {
    position: fixed;
    height: 70px;
  }

  .nav #logo {
    height: 50px;
    top: 14px;
  }


  .about-full{
    text-align: left;
    position: absolute;
    top: 16vh;
    left: 24%;
  }

  .im {
    font-size: 1.2rem;
    padding-left: 2px;
    padding-bottom: 8px;
  }
  .about-full > .name {
    font-size: 2rem;
  }
  .intro {
    font-size: 12px;
  }

  .myimg{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 12%;
    width: 44vh;
    left: -1px;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .about-me-section {
    background-color: #1e1f26;
  }

  .blog-card {
    background: rgba(255, 255, 255, 0.03);
  }

  .project-card {
    background: rgba(255, 255, 255, 0.03);
  }

  .form-input,
  .form-textarea {
    background: rgba(255, 255, 255, 0.03);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .blog-card:hover {
    transform: none;
  }
  
  .blog-card:hover .blog-image {
    transform: none;
  }

  .project-card:hover {
    transform: none;
  }
  
  .project-card:hover .project-image img {
    transform: none;
  }
}

/* Print Styles */
@media print {
  .blog-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  
  .blog-image {
    display: none;
  }
  
  .read-more {
    display: none;
  }
}


.background {
  position: absolute;
  height: 100vh;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 0;
}


/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid #00ffd5;
  border-radius: 13px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: #00ffd5;
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 1.5s infinite;
}

@keyframes scroll {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(15px); opacity: 0; }
}



/* Custom Scrollbar for Webkit browsers (Chrome, Safari, newer Edge) */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(30, 31, 38, 0.95);
}

::-webkit-scrollbar-thumb {
  background: #03dac6;
  border-radius: 6px;
  border: 3px solid rgba(30, 31, 38, 0.95);
}

::-webkit-scrollbar-thumb:hover {
  background: #ff0266;
}

/* Custom Scrollbar for Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #03dac6 rgba(30, 31, 38, 0.95);
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 45px;
  height: 45px;
  background: #03dac6;
  border: none;
  border-radius: 50%;
  color: #1e1f26;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(3, 218, 198, 0.2);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: #ff0266;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(255, 2, 102, 0.3);
}

.scroll-to-top i {
  transition: transform 0.3s ease;
}

.scroll-to-top:hover i {
  transform: translateY(-2px);
}



