/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #ffffff;
  background-size: 400% 400%;
  animation: gradientShift 6s ease infinite;
  color: #333333;
  overflow-x: hidden;
  position: relative;
}

#matrix-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(255, 107, 107, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(78, 205, 196, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(69, 183, 209, 0.1) 0%,
      transparent 50%
    );
  animation: backgroundFloat 2s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.theme-toggle {
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #e0e0e0;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ff6b6b;
  border-bottom: 2px solid #ff6b6b;
}

.hire-me {
  display: none;
}

/* Hero Section */
.hero {/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #ffffff;
  background-size: 400% 400%;
  animation: gradientShift 6s ease infinite;
  color: #333333;
  overflow-x: hidden;
  position: relative;
}

#matrix-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(255, 107, 107, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(78, 205, 196, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(69, 183, 209, 0.1) 0%,
      transparent 50%
    );
  animation: backgroundFloat 2s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.theme-toggle {
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #e0e0e0;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ff6b6b;
  border-bottom: 2px solid #ff6b6b;
}

.hire-me {
  display: none;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  overflow: hidden;
}

.hero .social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 2;
  position: relative;
  gap: 50px;
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (min-width: 769px) {
  .hero-content {
    gap: 200px;
  }
}

.profile-pic {
  margin-bottom: 30px;
  animation: float 3s ease-in-out infinite;
  position: relative;
}

.profile-pic::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  z-index: -1;
}

.profile-pic img {
  width: 290px;
  height: 290px;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.profile-pic.glow img {
  box-shadow: 0 0 50px rgba(255, 107, 107, 0.8),
    0 0 100px rgba(78, 205, 196, 0.6), 0 0 150px rgba(69, 183, 209, 0.4);
  filter: brightness(1.2);
}
.intro-text h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #fff;
}

.name {
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.typing {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 30px;
  border-right: 1px solid #fff;
  letter-spacing: 0.05em;
  animation: typing 3s steps(20, end), blink-caret 0.75s step-end infinite;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.hire-me {
  background: linear-gradient(45deg, #ff6b6b, #ff8e53);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.hire-me:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

.download-cv {
  background: linear-gradient(45deg, #4ecdc4, #44a08d);
  color: #fff;
  box-shadow: 0 4px 15px rgba(78, 205, 196, 0.4);
}

.download-cv:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(78, 205, 196, 0.6);
}

/* Floating Shapes */
.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 10s ease-in-out infinite;
}

.shape1 {
  width: 100px;
  height: 100px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.shape3 {
  width: 80px;
  height: 80px;
  bottom: 20%;
  left: 50%;
  animation-delay: 4s;
}

/* Floating Languages */
.floating-languages {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  animation: orbit 15s linear infinite;
}

.lang-icon {
  position: absolute;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.lang-icon:hover {
  transform: scale(1.2);
  color: #ff6b6b;
}

.lang-icon.html {
  top: 15%;
  left: 20%;
  animation-delay: 0s;
}

.lang-icon.css {
  top: 25%;
  right: 15%;
  animation-delay: 1s;
}

.lang-icon.js {
  bottom: 30%;
  left: 15%;
  animation-delay: 2s;
}

.lang-icon.flutter {
  top: 40%;
  left: 70%;
  animation-delay: 3s;
}

.lang-icon.dart {
  bottom: 15%;
  right: 25%;
  animation-delay: 4s;
}

.lang-icon.java {
  top: 60%;
  left: 10%;
  animation-delay: 5s;
}

.lang-icon.git {
  bottom: 40%;
  right: 10%;
  animation-delay: 6s;
}

.lang-icon.github {
  top: 10%;
  right: 30%;
  animation-delay: 7s;
}

.lang-icon.python {
  top: 20%;
  left: 5%;
  animation-delay: 8s;
}

.lang-icon.react {
  bottom: 20%;
  left: 30%;
  animation-delay: 9s;
}

.lang-icon.nodejs {
  top: 50%;
  right: 5%;
  animation-delay: 10s;
}

.lang-icon.vscode {
  bottom: 10%;
  right: 40%;
  animation-delay: 11s;
}

.lang-icon.android {
  top: 30%;
  left: 40%;
  animation-delay: 12s;
}

.lang-icon.cpp {
  bottom: 35%;
  right: 20%;
  animation-delay: 13s;
}

.lang-icon.firebase {
  top: 70%;
  left: 25%;
  animation-delay: 14s;
}

.lang-icon.mysql {
  bottom: 5%;
  left: 50%;
  animation-delay: 15s;
}

.lang-icon.mongodb {
  top: 45%;
  right: 50%;
  animation-delay: 16s;
}

.lang-icon.docker {
  bottom: 50%;
  left: 60%;
  animation-delay: 17s;
}

.lang-icon.linux {
  top: 5%;
  left: 50%;
  animation-delay: 18s;
}

/* About Section */
.about {
  padding: 100px 0;
  background: rgba(18, 18, 18, 0.95);
}

.about h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #ccc;
}

.about-pic {
  flex: 1;
  text-align: center;
}

.about-pic img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.about-pic:hover {
  transform: scale(1.05);
}

/* Skills Section */
.skills {
  padding: 100px 0;
  background: rgba(18, 18, 18, 0.95);
}

.skills h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.skill-card {
  background: #1a1a1a;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  color: #e0e0e0;
  transform: scale(1);
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border-color: #ff6b6b;
}

.skill-card i {
  font-size: 3rem;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.skill-card h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #333;
  border-radius: 4px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  border-radius: 4px;
  transition: width 1s ease;
}

/* Projects Section */
.projects {
  padding: 100px 0;
  background: rgba(18, 18, 18, 0.95);
}

.projects h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  background: #1a1a1a;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  transform: scale(1);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border-color: #ff6b6b;
}

.project-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #e0e0e0;
}

.project-info p {
  color: #ccc;
  margin-bottom: 20px;
}

.project-links {
  display: flex;
  gap: 10px;
}

.project-links .btn {
  flex: 1;
  text-align: center;
  padding: 10px;
  font-size: 0.9rem;
}

.demo {
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  color: #fff;
}

.github {
  background: linear-gradient(45deg, #333, #666);
  color: #fff;
}

/* Certificates Section */
.certificates {
  padding: 100px 0;
  background: rgba(18, 18, 18, 0.95);
}

.certificates h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.certificate-card {
  background: #1a1a1a;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  color: #e0e0e0;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.certificate-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
}

.certificate-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border-color: #ff6b6b;
}

.certificate-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #ff6b6b;
  transition: all 0.3s ease;
}

.certificate-card:hover .certificate-icon {
  transform: scale(1.1);
  color: #4ecdc4;
}

.certificate-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #e0e0e0;
}

.certificate-issuer {
  color: #ccc;
  font-weight: 500;
  margin-bottom: 5px;
}

.certificate-date {
  color: #ff6b6b;
  font-weight: bold;
  margin-bottom: 15px;
}

.certificate-description {
  color: #ccc;
  line-height: 1.6;
  font-size: 0.95rem;
}

.view-cert {
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.view-cert:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Hero Social Links */
.hero-social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.hero-social-links .social-link {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-social-links .social-link:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.hero-social-links .social-link.facebook:hover {
  background: linear-gradient(45deg, #1877f2, #42a5f5);
}

.hero-social-links .social-link.instagram:hover {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
}

.hero-social-links .social-link.whatsapp:hover {
  background: linear-gradient(45deg, #25d366, #4caf50);
}

.hero-social-links .social-link.github:hover {
  background: linear-gradient(45deg, #333, #666);
}

.social-link.linkedin:hover {
  background: linear-gradient(45deg, #0077b5, #42a5f5);
}

/* Footer */
footer {
  padding: 20px 0;
  background: rgba(18, 18, 18, 0.95);
  color: #e0e0e0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content p {
  margin: 0;
  font-size: 1rem;
  color: #ccc;
}

.back-to-home {
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-home:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-link.email:hover {
  background: linear-gradient(45deg, #ea4335, #ff7043);
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: rgba(18, 18, 18, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
}

.social-links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
}

.contact .social-links {
  margin-top: 30px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.1rem;
  color: #e0e0e0;
}

.contact-link {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.contact-link:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.social-link {
  display: inline-block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-link:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.social-link.facebook:hover {
  background: linear-gradient(45deg, #1877f2, #42a5f5);
}

.social-link.instagram:hover {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
}

.social-link.whatsapp:hover {
  background: linear-gradient(45deg, #25d366, #4caf50);
}

.social-link.github:hover {
  background: linear-gradient(45deg, #333, #666);
}

.social-link.linkedin:hover {
  background: linear-gradient(45deg, #0077b5, #42a5f5);
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes float-lang {
  0% {
    transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
  }
  12.5% {
    transform: translateY(-20px) translateX(15px) rotate(90deg) scale(1.1);
  }
  25% {
    transform: translateY(-10px) translateX(25px) rotate(180deg) scale(0.9);
  }
  37.5% {
    transform: translateY(10px) translateX(15px) rotate(270deg) scale(1.2);
  }
  50% {
    transform: translateY(20px) translateX(0px) rotate(360deg) scale(0.8);
  }
  62.5% {
    transform: translateY(10px) translateX(-15px) rotate(450deg) scale(1.1);
  }
  75% {
    transform: translateY(-10px) translateX(-25px) rotate(540deg) scale(0.9);
  }
  87.5% {
    transform: translateY(-20px) translateX(-15px) rotate(630deg) scale(1.2);
  }
  100% {
    transform: translateY(0px) translateX(0px) rotate(720deg) scale(1);
  }
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: #fff;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes backgroundFloat {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) scale(1) rotate(0deg);
  }
  12.5% {
    transform: translateY(-5px) translateX(2px) scale(1.02) rotate(0.2deg);
  }
  25% {
    transform: translateY(-10px) translateX(5px) scale(1.05) rotate(0.5deg);
  }
  37.5% {
    transform: translateY(-7px) translateX(1px) scale(0.98) rotate(0.1deg);
  }
  50% {
    transform: translateY(-5px) translateX(-5px) scale(0.95) rotate(-0.5deg);
  }
  62.5% {
    transform: translateY(-12px) translateX(-2px) scale(1.03) rotate(-0.3deg);
  }
  75% {
    transform: translateY(-15px) translateX(3px) scale(1.02) rotate(0.3deg);
  }
  87.5% {
    transform: translateY(-3px) translateX(-1px) scale(0.99) rotate(-0.1deg);
  }
}

@keyframes gradientPulse {
  0%,
  100% {
    opacity: 0.8;
    filter: blur(0px) brightness(1);
  }
  50% {
    opacity: 1;
    filter: blur(1px) brightness(1.2);
  }
}

@keyframes colorShift {
  0% {
    filter: hue-rotate(0deg);
  }
  25% {
    filter: hue-rotate(90deg);
  }
  50% {
    filter: hue-rotate(180deg);
  }
  75% {
    filter: hue-rotate(270deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}

@keyframes backgroundBreath {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes backgroundShift {
  0% {
    background-position: 0% 0%;
  }
  25% {
    background-position: 100% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  75% {
    background-position: 0% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}

/* Light Mode */
.light-mode .about {
  background: #f5f5f5;
}

.light-mode .about-text p {
  color: #555;
}

.light-mode .skills {
  background: #e0e0e0;
}

.light-mode .skill-card {
  background: #ffffff;
  color: #333;
}

.light-mode .skill-card h3 {
  color: #333;
}

.light-mode .progress-bar {
  background: #ddd;
}

.light-mode .projects {
  background: #f5f5f5;
}

.light-mode .project-card {
  background: #ffffff;
}

.light-mode .project-info h3 {
  color: #333;
}

.light-mode .project-info p {
  color: #555;
}

.light-mode .certificates {
  background: #e0e0e0;
}

.light-mode .certificate-card {
  background: #ffffff;
  color: #333;
}

.light-mode .certificate-info h3 {
  color: #333;
}

.light-mode .certificate-issuer,
.light-mode .certificate-description {
  color: #555;
}

.light-mode .contact {
  background: #f5f5f5;
}

.light-mode .contact-details {
  color: #333;
}

.light-mode .contact-item {
  color: #333;
}

/* Light Mode Navigation */
.light-mode nav {
  background: #ffffff;
  backdrop-filter: none;
  border-bottom: 1px solid #ddd;
}

.light-mode .nav-links a {
  color: #333;
}

.light-mode .nav-links a:hover {
  color: #ff6b6b;
  border-bottom: 2px solid #ff6b6b;
}

.light-mode .logo {
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Light Mode Footer */
.light-mode footer {
  background: #ffffff;
  color: #333;
}

.light-mode .footer-content p {
  color: #555;
}

.light-mode .back-to-home {
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  color: #fff;
}

/* Dark Mode */
.dark-mode {
  background: #000000;
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  color: #e0e0e0;
}

.dark-mode body::before {
  background: radial-gradient(
      circle at 20% 80%,
      rgba(255, 107, 107, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(78, 205, 196, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(69, 183, 209, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 60% 70%,
      rgba(255, 193, 7, 0.05) 0%,
      transparent 35%
    ),
    radial-gradient(
      circle at 10% 30%,
      rgba(156, 39, 176, 0.05) 0%,
      transparent 35%
    ),
    radial-gradient(
      circle at 90% 60%,
      rgba(76, 175, 80, 0.05) 0%,
      transparent 35%
    );
  animation: backgroundFloat 15s ease-in-out infinite,
    gradientPulse 8s ease-in-out infinite alternate;
}

.dark-mode nav {
  background: rgba(18, 18, 18, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode .nav-links a {
  color: #e0e0e0;
}

.dark-mode .nav-links a:hover {
  color: #ff6b6b;
  border-bottom: 2px solid #ff6b6b;
}

.dark-mode .about {
  background: #1a1a1a;
}

.dark-mode .about-text p {
  color: #ccc;
}

.dark-mode .skills {
  background: #121212;
}

.dark-mode .skill-card {
  background: #1a1a1a;
  color: #e0e0e0;
}

.dark-mode .skill-card h3 {
  color: #e0e0e0;
}

.dark-mode .progress-bar {
  background: #333;
}

.dark-mode .projects {
  background: #1a1a1a;
}

.dark-mode .project-card {
  background: #1a1a1a;
}

.dark-mode .project-info h3 {
  color: #e0e0e0;
}

.dark-mode .project-info p {
  color: #ccc;
}

.dark-mode .experience {
  background: #121212;
}

.dark-mode .timeline-content {
  background: #1a1a1a;
  color: #e0e0e0;
}

.dark-mode .timeline-content h3 {
  color: #e0e0e0;
}

.dark-mode .timeline-content p {
  color: #ccc;
}

.dark-mode .certificates {
  background: #121212;
}

.dark-mode .certificate-card {
  background: #1a1a1a;
  color: #e0e0e0;
}

.dark-mode .certificate-info h3 {
  color: #e0e0e0;
}

.dark-mode .certificate-issuer,
.dark-mode .certificate-description {
  color: #ccc;
}

.dark-mode .contact {
  background: #1a1a1a;
}

.dark-mode .contact-details {
  color: #e0e0e0;
}

.dark-mode .contact-item {
  color: #e0e0e0;
}

.dark-mode .hero {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.dark-mode .shape {
  background: rgba(255, 255, 255, 0.05);
}

/* Advanced Animations */
@keyframes float-particle {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
    opacity: 0.1;
  }
  25% {
    transform: translateY(-20px) translateX(10px) rotate(90deg);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-10px) translateX(-10px) rotate(180deg);
    opacity: 0.2;
  }
  75% {
    transform: translateY(-30px) translateX(5px) rotate(270deg);
    opacity: 0.4;
  }
}

@keyframes orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes trail-fade {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.5);
  }
}

@keyframes ripple-expand {
  0% {
    width: 20px;
    height: 20px;
    opacity: 1;
  }
  100% {
    width: 200px;
    height: 200px;
    opacity: 0;
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 107, 107, 0.6);
  }
}

@keyframes magnetic-attract {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1.05);
  }
}

/* Enhanced Interactive Elements */
.skill-card:hover,
.project-card:hover {
  animation: pulse-glow 2s ease-in-out infinite;
}

.btn:hover,
.social-link:hover,
.theme-toggle:hover {
  animation: magnetic-attract 0.3s ease-out;
}

/* Particle Container */
.particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
  animation: float-particle 15s linear infinite;
}

/* Mouse Trail */
.mouse-trail {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  animation: trail-fade 0.8s ease-out forwards;
}

/* Ripple Effect */
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  animation: ripple-expand 0.6s ease-out forwards;
}

/* Enhanced 3D Effects */
.skill-card,
.project-card {
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

.skill-card:hover,
.project-card:hover {
  transform: perspective(1000px) rotateX(5deg) rotateY(5deg) scale(1.05);
}

/* Magnetic Button Effects */
.btn,
.social-link,
.theme-toggle {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Dynamic Background Enhancement */
.hero {
  transition: background 0.5s ease;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-toggle .bar {
  width: 100%;
  height: 3px;
  background: #333;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.dark-mode .mobile-menu-toggle .bar {
  background: #e0e0e0;
}

.mobile-menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: row;
    height: 60px;
    padding: 10px 20px;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    display: block;
    font-size: 1.2rem;
    flex: 1;
    text-align: center;
  }

  /* Mobile Side Menu */
  .nav-links {
    position: fixed;
    top: 70px;
    right: -140px;
    width: 120px;
    height: auto;
    max-height: 350px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 15px;
    box-shadow: -5px 5px 25px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    z-index: 999;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    margin: 10px;
  }

  .nav-links.active {
    right: 10px;
  }

  .nav-links li {
    margin: 4px 0;
    text-align: left;
  }

  .nav-links a {
    display: block;
    padding: 6px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 500;
  }

  .nav-links a:hover {
    background: rgba(255, 107, 107, 0.1);
    transform: translateX(3px);
  }

  /* Mobile Menu Overlay */
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
  }

  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .theme-toggle {
    order: -1;
    margin-right: 10px;
  }

  .mobile-menu-toggle {
    display: flex;
    margin-left: 10px;
  }

  .dark-mode .nav-links {
    background: rgba(18, 18, 18, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .dark-mode .nav-links a:hover {
    background: rgba(255, 107, 107, 0.2);
  }

  .dark-mode .mobile-menu-overlay {
    background: rgba(0, 0, 0, 0.7);
  }

  /* Light Mode Mobile Navigation */
  .light-mode .nav-links {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.1);
  }

  .light-mode .nav-links a:hover {
    background: rgba(255, 107, 107, 0.1);
  }

  .light-mode .mobile-menu-overlay {
    background: rgba(0, 0, 0, 0.3);
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .typing {
    font-size: 1.2rem;
  }

  .profile-pic {
    margin-bottom: 5px;
  }

  .profile-pic img {
    width: 200px;
    height: 200px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-pic img {
    width: 200px;
    height: 200px;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .certificates-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .social-links {
    flex-wrap: wrap;
  }

  /* Reduce particle count on mobile for performance */
  .particles-container .particle {
    display: none;
  }

  .particles-container .particle:nth-child(-n + 10) {
    display: block;
  }

  .btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .contact .social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
    font-size: 1rem;
  }

  .footer-content {
    justify-content: flex-start;
    gap: 10px;
  }

  .back-to-home {
    padding: 6px 12px;
    font-size: 0.7rem;
    margin-left: auto;
  }

  .certificate-card {
    height: 250px;
  }

  .view-cert {
    font-size: 1.2rem;
    padding: 8px 16px;
    width: auto;
    margin: 0 auto;
  }
}

  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  overflow: hidden;
}

.hero .social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 2;
  position: relative;
  gap: 50px;
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (min-width: 769px) {
  .hero-content {
    gap: 200px;
  }
}

.profile-pic {
  margin-bottom: 30px;
  animation: float 3s ease-in-out infinite;
  position: relative;
}

.profile-pic::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  z-index: -1;
}

.profile-pic img {
  width: 290px;
  height: 290px;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.profile-pic.glow img {
  box-shadow: 0 0 50px rgba(255, 107, 107, 0.8),
    0 0 100px rgba(78, 205, 196, 0.6), 0 0 150px rgba(69, 183, 209, 0.4);
  filter: brightness(1.2);
}
.intro-text h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #fff;
}

.name {
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.typing {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 30px;
  border-right: 1px solid #fff;
  letter-spacing: 0.05em;
  animation: typing 3s steps(20, end), blink-caret 0.75s step-end infinite;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.hire-me {
  background: linear-gradient(45deg, #ff6b6b, #ff8e53);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.hire-me:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

.download-cv {
  background: linear-gradient(45deg, #4ecdc4, #44a08d);
  color: #fff;
  box-shadow: 0 4px 15px rgba(78, 205, 196, 0.4);
}

.download-cv:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(78, 205, 196, 0.6);
}

/* Floating Shapes */
.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 10s ease-in-out infinite;
}

.shape1 {
  width: 100px;
  height: 100px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.shape3 {
  width: 80px;
  height: 80px;
  bottom: 20%;
  left: 50%;
  animation-delay: 4s;
}

/* Floating Languages */
.floating-languages {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  animation: orbit 15s linear infinite;
}

.lang-icon {
  position: absolute;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.lang-icon:hover {
  transform: scale(1.2);
  color: #ff6b6b;
}

.lang-icon.html {
  top: 15%;
  left: 20%;
  animation-delay: 0s;
}

.lang-icon.css {
  top: 25%;
  right: 15%;
  animation-delay: 1s;
}

.lang-icon.js {
  bottom: 30%;
  left: 15%;
  animation-delay: 2s;
}

.lang-icon.flutter {
  top: 40%;
  left: 70%;
  animation-delay: 3s;
}

.lang-icon.dart {
  bottom: 15%;
  right: 25%;
  animation-delay: 4s;
}

.lang-icon.java {
  top: 60%;
  left: 10%;
  animation-delay: 5s;
}

.lang-icon.git {
  bottom: 40%;
  right: 10%;
  animation-delay: 6s;
}

.lang-icon.github {
  top: 10%;
  right: 30%;
  animation-delay: 7s;
}

.lang-icon.python {
  top: 20%;
  left: 5%;
  animation-delay: 8s;
}

.lang-icon.react {
  bottom: 20%;
  left: 30%;
  animation-delay: 9s;
}

.lang-icon.nodejs {
  top: 50%;
  right: 5%;
  animation-delay: 10s;
}

.lang-icon.vscode {
  bottom: 10%;
  right: 40%;
  animation-delay: 11s;
}

.lang-icon.android {
  top: 30%;
  left: 40%;
  animation-delay: 12s;
}

.lang-icon.cpp {
  bottom: 35%;
  right: 20%;
  animation-delay: 13s;
}

.lang-icon.firebase {
  top: 70%;
  left: 25%;
  animation-delay: 14s;
}

.lang-icon.mysql {
  bottom: 5%;
  left: 50%;
  animation-delay: 15s;
}

.lang-icon.mongodb {
  top: 45%;
  right: 50%;
  animation-delay: 16s;
}

.lang-icon.docker {
  bottom: 50%;
  left: 60%;
  animation-delay: 17s;
}

.lang-icon.linux {
  top: 5%;
  left: 50%;
  animation-delay: 18s;
}

/* About Section */
.about {
  padding: 100px 0;
  background: rgba(18, 18, 18, 0.95);
}

.about h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #ccc;
}

.about-pic {
  flex: 1;
  text-align: center;
}

.about-pic img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.about-pic:hover {
  transform: scale(1.05);
}

/* Skills Section */
.skills {
  padding: 100px 0;
  background: rgba(18, 18, 18, 0.95);
}

.skills h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.skill-card {
  background: #1a1a1a;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  color: #e0e0e0;
  transform: scale(1);
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border-color: #ff6b6b;
}

.skill-card i {
  font-size: 3rem;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.skill-card h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #333;
  border-radius: 4px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  border-radius: 4px;
  transition: width 1s ease;
}

/* Projects Section */
.projects {
  padding: 100px 0;
  background: rgba(18, 18, 18, 0.95);
}

.projects h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  background: #1a1a1a;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  transform: scale(1);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border-color: #ff6b6b;
}

.project-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #e0e0e0;
}

.project-info p {
  color: #ccc;
  margin-bottom: 20px;
}

.project-links {
  display: flex;
  gap: 10px;
}

.project-links .btn {
  flex: 1;
  text-align: center;
  padding: 10px;
  font-size: 0.9rem;
}

.demo {
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  color: #fff;
}

.github {
  background: linear-gradient(45deg, #333, #666);
  color: #fff;
}

/* Certificates Section */
.certificates {
  padding: 100px 0;
  background: rgba(18, 18, 18, 0.95);
}

.certificates h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.certificate-card {
  background: #1a1a1a;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  color: #e0e0e0;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.certificate-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
}

.certificate-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border-color: #ff6b6b;
}

.certificate-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #ff6b6b;
  transition: all 0.3s ease;
}

.certificate-card:hover .certificate-icon {
  transform: scale(1.1);
  color: #4ecdc4;
}

.certificate-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #e0e0e0;
}

.certificate-issuer {
  color: #ccc;
  font-weight: 500;
  margin-bottom: 5px;
}

.certificate-date {
  color: #ff6b6b;
  font-weight: bold;
  margin-bottom: 15px;
}

.certificate-description {
  color: #ccc;
  line-height: 1.6;
  font-size: 0.95rem;
}

.view-cert {
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.view-cert:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Hero Social Links */
.hero-social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.hero-social-links .social-link {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-social-links .social-link:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.hero-social-links .social-link.facebook:hover {
  background: linear-gradient(45deg, #1877f2, #42a5f5);
}

.hero-social-links .social-link.instagram:hover {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
}

.hero-social-links .social-link.whatsapp:hover {
  background: linear-gradient(45deg, #25d366, #4caf50);
}

.hero-social-links .social-link.github:hover {
  background: linear-gradient(45deg, #333, #666);
}

.social-link.linkedin:hover {
  background: linear-gradient(45deg, #0077b5, #42a5f5);
}

/* Footer */
footer {
  padding: 20px 0;
  background: rgba(18, 18, 18, 0.95);
  color: #e0e0e0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content p {
  margin: 0;
  font-size: 1rem;
  color: #ccc;
}

.back-to-home {
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-home:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-link.email:hover {
  background: linear-gradient(45deg, #ea4335, #ff7043);
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: rgba(18, 18, 18, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
}

.social-links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
}

.contact .social-links {
  margin-top: 30px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.1rem;
  color: #e0e0e0;
}

.contact-link {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.contact-link:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.social-link {
  display: inline-block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-link:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.social-link.facebook:hover {
  background: linear-gradient(45deg, #1877f2, #42a5f5);
}

.social-link.instagram:hover {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
}

.social-link.whatsapp:hover {
  background: linear-gradient(45deg, #25d366, #4caf50);
}

.social-link.github:hover {
  background: linear-gradient(45deg, #333, #666);
}

.social-link.linkedin:hover {
  background: linear-gradient(45deg, #0077b5, #42a5f5);
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes float-lang {
  0% {
    transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
  }
  12.5% {
    transform: translateY(-20px) translateX(15px) rotate(90deg) scale(1.1);
  }
  25% {
    transform: translateY(-10px) translateX(25px) rotate(180deg) scale(0.9);
  }
  37.5% {
    transform: translateY(10px) translateX(15px) rotate(270deg) scale(1.2);
  }
  50% {
    transform: translateY(20px) translateX(0px) rotate(360deg) scale(0.8);
  }
  62.5% {
    transform: translateY(10px) translateX(-15px) rotate(450deg) scale(1.1);
  }
  75% {
    transform: translateY(-10px) translateX(-25px) rotate(540deg) scale(0.9);
  }
  87.5% {
    transform: translateY(-20px) translateX(-15px) rotate(630deg) scale(1.2);
  }
  100% {
    transform: translateY(0px) translateX(0px) rotate(720deg) scale(1);
  }
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: #fff;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes backgroundFloat {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) scale(1) rotate(0deg);
  }
  12.5% {
    transform: translateY(-5px) translateX(2px) scale(1.02) rotate(0.2deg);
  }
  25% {
    transform: translateY(-10px) translateX(5px) scale(1.05) rotate(0.5deg);
  }
  37.5% {
    transform: translateY(-7px) translateX(1px) scale(0.98) rotate(0.1deg);
  }
  50% {
    transform: translateY(-5px) translateX(-5px) scale(0.95) rotate(-0.5deg);
  }
  62.5% {
    transform: translateY(-12px) translateX(-2px) scale(1.03) rotate(-0.3deg);
  }
  75% {
    transform: translateY(-15px) translateX(3px) scale(1.02) rotate(0.3deg);
  }
  87.5% {
    transform: translateY(-3px) translateX(-1px) scale(0.99) rotate(-0.1deg);
  }
}

@keyframes gradientPulse {
  0%,
  100% {
    opacity: 0.8;
    filter: blur(0px) brightness(1);
  }
  50% {
    opacity: 1;
    filter: blur(1px) brightness(1.2);
  }
}

@keyframes colorShift {
  0% {
    filter: hue-rotate(0deg);
  }
  25% {
    filter: hue-rotate(90deg);
  }
  50% {
    filter: hue-rotate(180deg);
  }
  75% {
    filter: hue-rotate(270deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}

@keyframes backgroundBreath {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes backgroundShift {
  0% {
    background-position: 0% 0%;
  }
  25% {
    background-position: 100% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  75% {
    background-position: 0% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}

/* Light Mode */
.light-mode .about {
  background: #f5f5f5;
}

.light-mode .about-text p {
  color: #555;
}

.light-mode .skills {
  background: #e0e0e0;
}

.light-mode .skill-card {
  background: #ffffff;
  color: #333;
}

.light-mode .skill-card h3 {
  color: #333;
}

.light-mode .progress-bar {
  background: #ddd;
}

.light-mode .projects {
  background: #f5f5f5;
}

.light-mode .project-card {
  background: #ffffff;
}

.light-mode .project-info h3 {
  color: #333;
}

.light-mode .project-info p {
  color: #555;
}

.light-mode .certificates {
  background: #e0e0e0;
}

.light-mode .certificate-card {
  background: #ffffff;
  color: #333;
}

.light-mode .certificate-info h3 {
  color: #333;
}

.light-mode .certificate-issuer,
.light-mode .certificate-description {
  color: #555;
}

.light-mode .contact {
  background: #f5f5f5;
}

.light-mode .contact-details {
  color: #333;
}

.light-mode .contact-item {
  color: #333;
}

/* Light Mode Navigation */
.light-mode nav {
  background: #ffffff;
  backdrop-filter: none;
  border-bottom: 1px solid #ddd;
}

.light-mode .nav-links a {
  color: #333;
}

.light-mode .nav-links a:hover {
  color: #ff6b6b;
  border-bottom: 2px solid #ff6b6b;
}

.light-mode .logo {
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Light Mode Footer */
.light-mode footer {
  background: #ffffff;
  color: #333;
}

.light-mode .footer-content p {
  color: #555;
}

.light-mode .back-to-home {
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  color: #fff;
}

/* Dark Mode */
.dark-mode {
  background: #000000;
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  color: #e0e0e0;
}

.dark-mode body::before {
  background: radial-gradient(
      circle at 20% 80%,
      rgba(255, 107, 107, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(78, 205, 196, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(69, 183, 209, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 60% 70%,
      rgba(255, 193, 7, 0.05) 0%,
      transparent 35%
    ),
    radial-gradient(
      circle at 10% 30%,
      rgba(156, 39, 176, 0.05) 0%,
      transparent 35%
    ),
    radial-gradient(
      circle at 90% 60%,
      rgba(76, 175, 80, 0.05) 0%,
      transparent 35%
    );
  animation: backgroundFloat 15s ease-in-out infinite,
    gradientPulse 8s ease-in-out infinite alternate;
}

.dark-mode nav {
  background: rgba(18, 18, 18, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode .nav-links a {
  color: #e0e0e0;
}

.dark-mode .nav-links a:hover {
  color: #ff6b6b;
  border-bottom: 2px solid #ff6b6b;
}

.dark-mode .about {
  background: #1a1a1a;
}

.dark-mode .about-text p {
  color: #ccc;
}

.dark-mode .skills {
  background: #121212;
}

.dark-mode .skill-card {
  background: #1a1a1a;
  color: #e0e0e0;
}

.dark-mode .skill-card h3 {
  color: #e0e0e0;
}

.dark-mode .progress-bar {
  background: #333;
}

.dark-mode .projects {
  background: #1a1a1a;
}

.dark-mode .project-card {
  background: #1a1a1a;
}

.dark-mode .project-info h3 {
  color: #e0e0e0;
}

.dark-mode .project-info p {
  color: #ccc;
}

.dark-mode .experience {
  background: #121212;
}

.dark-mode .timeline-content {
  background: #1a1a1a;
  color: #e0e0e0;
}

.dark-mode .timeline-content h3 {
  color: #e0e0e0;
}

.dark-mode .timeline-content p {
  color: #ccc;
}

.dark-mode .certificates {
  background: #121212;
}

.dark-mode .certificate-card {
  background: #1a1a1a;
  color: #e0e0e0;
}

.dark-mode .certificate-info h3 {
  color: #e0e0e0;
}

.dark-mode .certificate-issuer,
.dark-mode .certificate-description {
  color: #ccc;
}

.dark-mode .contact {
  background: #1a1a1a;
}

.dark-mode .contact-details {
  color: #e0e0e0;
}

.dark-mode .contact-item {
  color: #e0e0e0;
}

.dark-mode .hero {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.dark-mode .shape {
  background: rgba(255, 255, 255, 0.05);
}

/* Advanced Animations */
@keyframes float-particle {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
    opacity: 0.1;
  }
  25% {
    transform: translateY(-20px) translateX(10px) rotate(90deg);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-10px) translateX(-10px) rotate(180deg);
    opacity: 0.2;
  }
  75% {
    transform: translateY(-30px) translateX(5px) rotate(270deg);
    opacity: 0.4;
  }
}

@keyframes orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes trail-fade {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.5);
  }
}

@keyframes ripple-expand {
  0% {
    width: 20px;
    height: 20px;
    opacity: 1;
  }
  100% {
    width: 200px;
    height: 200px;
    opacity: 0;
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 107, 107, 0.6);
  }
}

@keyframes magnetic-attract {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1.05);
  }
}

/* Enhanced Interactive Elements */
.skill-card:hover,
.project-card:hover {
  animation: pulse-glow 2s ease-in-out infinite;
}

.btn:hover,
.social-link:hover,
.theme-toggle:hover {
  animation: magnetic-attract 0.3s ease-out;
}

/* Particle Container */
.particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
  animation: float-particle 15s linear infinite;
}

/* Mouse Trail */
.mouse-trail {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  animation: trail-fade 0.8s ease-out forwards;
}

/* Ripple Effect */
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  animation: ripple-expand 0.6s ease-out forwards;
}

/* Enhanced 3D Effects */
.skill-card,
.project-card {
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

.skill-card:hover,
.project-card:hover {
  transform: perspective(1000px) rotateX(5deg) rotateY(5deg) scale(1.05);
}

/* Magnetic Button Effects */
.btn,
.social-link,
.theme-toggle {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Dynamic Background Enhancement */
.hero {
  transition: background 0.5s ease;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-toggle .bar {
  width: 100%;
  height: 3px;
  background: #333;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.dark-mode .mobile-menu-toggle .bar {
  background: #e0e0e0;
}

.mobile-menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: row;
    height: 60px;
    padding: 10px 20px;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    display: block;
    font-size: 1.2rem;
    flex: 1;
    text-align: center;
  }

  /* Mobile Side Menu */
  .nav-links {
    position: fixed;
    top: 70px;
    right: -140px;
    width: 120px;
    height: auto;
    max-height: 350px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 15px;
    box-shadow: -5px 5px 25px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    z-index: 999;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    margin: 10px;
  }

  .nav-links.active {
    right: 10px;
  }

  .nav-links li {
    margin: 4px 0;
    text-align: left;
  }

  .nav-links a {
    display: block;
    padding: 6px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 500;
  }

  .nav-links a:hover {
    background: rgba(255, 107, 107, 0.1);
    transform: translateX(3px);
  }

  /* Mobile Menu Overlay */
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
  }

  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .theme-toggle {
    order: -1;
    margin-right: 10px;
  }

  .mobile-menu-toggle {
    display: flex;
    margin-left: 10px;
  }

  .dark-mode .nav-links {
    background: rgba(18, 18, 18, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .dark-mode .nav-links a:hover {
    background: rgba(255, 107, 107, 0.2);
  }

  .dark-mode .mobile-menu-overlay {
    background: rgba(0, 0, 0, 0.7);
  }

  /* Light Mode Mobile Navigation */
  .light-mode .nav-links {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.1);
  }

  .light-mode .nav-links a:hover {
    background: rgba(255, 107, 107, 0.1);
  }

  .light-mode .mobile-menu-overlay {
    background: rgba(0, 0, 0, 0.3);
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .typing {
    font-size: 1.2rem;
  }

  .profile-pic {
    margin-bottom: 5px;
  }

  .profile-pic img {
    width: 200px;
    height: 200px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-pic img {
    width: 200px;
    height: 200px;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .certificates-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .social-links {
    flex-wrap: wrap;
  }

  /* Reduce particle count on mobile for performance */
  .particles-container .particle {
    display: none;
  }

  .particles-container .particle:nth-child(-n + 10) {
    display: block;
  }

  .btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .contact .social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
    font-size: 1rem;
  }

  .footer-content {
    justify-content: flex-start;
    gap: 10px;
  }

  .back-to-home {
    padding: 6px 12px;
    font-size: 0.7rem;
    margin-left: auto;
  }

  .certificate-card {
    height: 250px;
  }

  .view-cert {
    font-size: 1.2rem;
    padding: 8px 16px;
    width: auto;
    margin: 0 auto;
  }
}
