/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(
    135deg,
    #0f172a 0%,
    #1e293b 25%,
    #334155 50%,
    #475569 75%,
    #64748b 100%
  );
  font-size: 14px;
  min-height: 100vh;
  position: relative;
}

/* Enhanced Animated Background */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(
    135deg,
    #0f172a 0%,
    #1e293b 20%,
    #334155 40%,
    #475569 60%,
    #64748b 80%,
    #94a3b8 100%
  );
  overflow: hidden;
}

.animated-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1);stop-opacity:1" /><stop offset="100%" style="stop-color:rgba(255,255,255,0.05);stop-opacity:1" /></linearGradient></defs><circle cx="20" cy="20" r="2" fill="url(%23grad1)"><animate attributeName="opacity" values="0;1;0" dur="2s" repeatCount="indefinite" /></circle><circle cx="80" cy="40" r="3" fill="url(%23grad1)"><animate attributeName="opacity" values="0;1;0" dur="3s" repeatCount="indefinite" /></circle><circle cx="40" cy="80" r="1.5" fill="url(%23grad1)"><animate attributeName="opacity" values="0;1;0" dur="2.5s" repeatCount="indefinite" /></circle><polygon points="60,10 65,20 55,20" fill="url(%23grad1)"><animate attributeName="opacity" values="0;1;0" dur="4s" repeatCount="indefinite" /></polygon><rect x="10" y="60" width="4" height="4" fill="url(%23grad1)"><animate attributeName="opacity" values="0;1;0" dur="3.5s" repeatCount="indefinite" /></rect></svg>');
  animation: float 15s ease-in-out infinite;
}

.animated-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(59, 130, 246, 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(139, 92, 246, 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 80%,
      rgba(99, 102, 241, 0.2) 0%,
      transparent 50%
    );
  animation: pulse 8s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(90deg);
  }
  50% {
    transform: translateY(-40px) rotate(180deg);
  }
  75% {
    transform: translateY(-20px) rotate(270deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

.resume-container {
  max-width: 8.5in;
  margin: 2rem auto;
  background: white;
  padding: 0.75in;
  border-radius: 25px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  min-height: 11in;
  position: relative;
  overflow: hidden;
}

.resume-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #3b82f6, #6366f1, #8b5cf6, #3b82f6);
  background-size: 200% 100%;
  animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.header {
  text-align: center;
  border-bottom: 3px solid #2563eb;
  padding-bottom: 25px;
  margin-bottom: 30px;
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.08),
    rgba(99, 102, 241, 0.08)
  );
  border-radius: 15px;
  padding: 25px;
}

.header::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(59, 130, 246, 0.15),
    transparent
  );
  border-radius: 20px;
  z-index: -1;
  animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.7;
  }
}

/* Enhanced Profile Image */
.profile-section {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  position: relative;
}

.profile-image-container {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 5px solid #6366f1;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
}

.profile-image-container:hover {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4);
  border-color: #8b5cf6;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

.profile-image-container:hover .profile-image {
  transform: scale(1.3);
  filter: brightness(1.1);
}

/* .profile-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(59, 130, 246, 0.92);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.4s ease;
        backdrop-filter: blur(5px);
      }

      .profile-image-container:hover .profile-overlay {
        opacity: 1;
      } */

.profile-overlay i {
  color: white;
  font-size: 28px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.name {
  font-size: 36px;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 10px;
  letter-spacing: 2px;
  background: linear-gradient(45deg, #1e40af, #2563eb, #3b82f6);
  /* Standard property for compatibility */
  background-clip: text;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -ms-background-clip: text;
  /* Standard property for compatibility */
  color: transparent;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  -ms-text-fill-color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  /* Fallback for browsers that don't support background-clip: text */
  background-clip: text;
}

.title {
  font-size: 20px;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 20px;
  font-family: "Fira Code", monospace;
  position: relative;
}

.title::before {
  content: "<";
  color: #2563eb;
  font-weight: bold;
}

.title::after {
  content: "/>";
  color: #2563eb;
  font-weight: bold;
}

/* Enhanced Contact Info */
.contact-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 13px;
  color: #475569;
  margin-bottom: 25px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 25px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.contact-item:hover {
  background: rgba(37, 99, 235, 0.2);
  transform: translateY(-3px);
  border-color: #2563eb;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.contact-item i {
  color: #2563eb;
  font-size: 18px;
}

/* Enhanced Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.4s ease;
  z-index: 1;
}

.social-link:hover::before {
  transform: scale(1);
}

.social-link i {
  font-size: 22px;
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.social-link:hover i {
  color: white;
  transform: scale(1.3) rotate(360deg);
}

/* Individual social media colors with enhanced gradients */
.social-link.github {
  background: linear-gradient(135deg, #24292e, #0d1117);
  color: white;
}

.social-link.github::before {
  background: linear-gradient(135deg, #0d1117, #24292e);
}

.social-link.linkedin {
  background: linear-gradient(135deg, #0077b5, #004182);
  color: white;
}

.social-link.linkedin::before {
  background: linear-gradient(135deg, #004182, #0077b5);
}

.social-link.twitter {
  background: linear-gradient(135deg, #000000, #1a1a1a);
  color: white;
}

.social-link.twitter:hover {
  background: linear-gradient(135deg, #1a1a1a, #333333);
  transform: translateY(-3px) scale(1.05);
}

.social-link.email {
  background: linear-gradient(135deg, #ea4335, #c23321);
  color: white;
}

.social-link.email::before {
  background: linear-gradient(135deg, #c23321, #ea4335);
}

.social-link.instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: white;
}

.social-link.instagram::before {
  background: linear-gradient(135deg, #fd1d1d, #fcb045, #833ab4);
}

.social-link:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

/* Enhanced tooltip */
.tooltip {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #1f2937, #374151);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #1f2937;
}

.social-link:hover .tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

/* UNIQUE SECTION STYLES */
.section {
  margin-bottom: 35px;
  position: relative;
  padding: 25px;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.section:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* PROFESSIONAL SUMMARY - Blue Theme */
.summary-section {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.05),
    rgba(59, 130, 246, 0.05)
  );
  border-left: 6px solid #2563eb;
  border-radius: 15px;
}

.summary-section .section-title {
  color: #1e40af;
  background: linear-gradient(45deg, #1e40af, #2563eb);
  background-clip: text;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -ms-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  -ms-text-fill-color: transparent;
  /* Fallback */
  background-clip: text;
}

.summary-section .section-title::before {
  content: "💼";
  margin-right: 10px;
  font-size: 20px;
}

/* TECHNICAL SKILLS - Green Theme */
.skills-section {
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.05),
    rgba(5, 150, 105, 0.05)
  );
  border-left: 6px solid #10b981;
  border-radius: 15px;
}

.skills-section .section-title {
  color: #047857;
  background: linear-gradient(45deg, #047857, #10b981);
  background-clip: text;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -ms-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  -ms-text-fill-color: transparent;
  /* Fallback */
  background-clip: text;
}

.skills-section .section-title::before {
  content: "⚡";
  margin-right: 10px;
  font-size: 20px;
}

/* EXPERIENCE - Purple Theme */
.experience-section {
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.05),
    rgba(124, 58, 237, 0.05)
  );
  border-left: 6px solid #8b5cf6;
  border-radius: 15px;
}

.experience-section .section-title {
  color: #6d28d9;
  background: linear-gradient(45deg, #6d28d9, #8b5cf6);
  background-clip: text;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -ms-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  -ms-text-fill-color: transparent;
  /* Fallback */
  background-clip: text;
}

.experience-section .section-title::before {
  content: "🚀";
  margin-right: 10px;
  font-size: 20px;
}

/* PROJECTS - Orange Theme */
.projects-section {
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.05),
    rgba(217, 119, 6, 0.05)
  );
  border-left: 6px solid #f59e0b;
  border-radius: 15px;
}

.projects-section .section-title {
  color: #92400e;
  background: linear-gradient(45deg, #92400e, #f59e0b);
  background-clip: text;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -ms-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  -ms-text-fill-color: transparent;
  /* Fallback */
  background-clip: text;
}

.projects-section .section-title::before {
  content: "💡";
  margin-right: 10px;
  font-size: 20px;
}

/* EDUCATION - Red Theme */
.education-section {
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.05),
    rgba(220, 38, 38, 0.05)
  );
  border-left: 6px solid #ef4444;
  border-radius: 15px;
}

.education-section .section-title {
  color: #dc2626;
  background: linear-gradient(45deg, #dc2626, #ef4444);
  background-clip: text;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -ms-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  -ms-text-fill-color: transparent;
  /* Fallback */
  background-clip: text;
}

.education-section .section-title::before {
  content: "🎓";
  margin-right: 10px;
  font-size: 20px;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 10px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  align-items: center;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, currentColor, transparent);
  animation: expand 3s ease-in-out infinite;
}

@keyframes expand {
  0%,
  100% {
    width: 60px;
  }
  50% {
    width: 120px;
  }
}

/* ENHANCED SKILLS GRID */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.skill-category {
  background: white;
  padding: 20px;
  border-radius: 15px;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.skill-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10b981, #059669);
}

.skill-category:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.2);
  border-color: #10b981;
}

.skill-category h4 {
  font-size: 16px;
  font-weight: 700;
  color: #047857;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.skill-category h4::before {
  content: "🔧";
  font-size: 18px;
}

.skill-category:nth-child(1) h4::before {
  content: "🎨";
}
.skill-category:nth-child(2) h4::before {
  content: "⚙️";
}
.skill-category:nth-child(3) h4::before {
  content: "🗄️";
}
.skill-category:nth-child(4) h4::before {
  content: "🛠️";
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-item {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.skill-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.skill-item:hover::before {
  left: 100%;
}

.skill-item:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
  border-color: #34d399;
}

/* ENHANCED EXPERIENCE ITEMS */
.experience-item,
.education-item,
.project-item {
  margin-bottom: 25px;
  padding: 25px;
  background: white;
  border-radius: 15px;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.experience-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #8b5cf6, #7c3aed);
}

.project-item::before {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

.education-item::before {
  background: linear-gradient(90deg, #ef4444, #dc2626);
}

.experience-item:hover,
.education-item:hover,
.project-item:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.experience-item:hover {
  border-color: #8b5cf6;
}

.project-item:hover {
  border-color: #f59e0b;
}

.education-item:hover {
  border-color: #ef4444;
}

.job-title,
.degree-title,
.project-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.job-title {
  color: #6d28d9;
}

.job-title::before {
  content: "💼";
  font-size: 16px;
}

.project-title {
  color: #92400e;
}

.project-title::before {
  content: "🚀";
  font-size: 16px;
}

.degree-title {
  color: #dc2626;
}

.degree-title::before {
  content: "📚";
  font-size: 16px;
}

.company,
.institution {
  font-size: 15px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.company::before {
  content: "🏢";
  font-size: 14px;
}

.institution::before {
  content: "🎓";
  font-size: 14px;
}

.duration {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 15px;
  font-style: italic;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.duration::before {
  content: "📅";
  font-size: 12px;
}

.description {
  color: #374151;
  line-height: 1.7;
  font-size: 14px;
}

.description ul {
  margin-left: 20px;
  margin-top: 10px;
}

.description li {
  margin-bottom: 8px;
  position: relative;
}

.description li::before {
  content: "▶";
  color: #10b981;
  font-weight: bold;
  position: absolute;
  left: -20px;
}

/* ENHANCED PROJECT TECH TAGS */
.project-tech {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.tech-tag::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.tech-tag:hover::before {
  left: 100%;
}

.tech-tag:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 5px 15px rgba(245, 158, 11, 0.4);
  border-color: #fbbf24;
}

/* ENHANCED ACHIEVEMENTS AND CERTIFICATIONS */
.achievements {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  padding: 20px;
  border-radius: 15px;
  border: 2px solid #10b981;
  position: relative;
  overflow: hidden;
}

.achievements::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10b981, #059669);
}

.achievements h4 {
  font-size: 16px;
  font-weight: 700;
  color: #047857;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.achievements h4::before {
  content: "🏆";
  font-size: 18px;
}

.achievement-list {
  list-style: none;
}

.achievement-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 8px;
  color: #065f46;
  font-weight: 500;
  line-height: 1.6;
}

.achievement-list li:before {
  content: "🌟";
  position: absolute;
  left: 0;
  font-size: 16px;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.certifications {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  padding: 20px;
  border-radius: 15px;
  border: 2px solid #f59e0b;
  position: relative;
  overflow: hidden;
}

.certifications::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

.certifications h4 {
  font-size: 16px;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.certifications h4::before {
  content: "📜";
  font-size: 18px;
}

.cert-item {
  margin-bottom: 12px;
  color: #92400e;
  padding: 12px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.cert-item:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(8px);
  border-color: #f59e0b;
  box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
}

.cert-name {
  font-weight: 600;
  font-size: 14px;
}

.cert-date {
  font-size: 12px;
  color: #a16207;
  font-style: italic;
  font-weight: 500;
}

/* ENHANCED FLOATING MENU */
.floating-menu {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.fab-main {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: white;
  border: none;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.fab-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  transform: scale(0);
  transition: transform 0.3s ease;
  border-radius: 50%;
}

.fab-main:hover::before {
  transform: scale(1);
}

.fab-main:hover {
  transform: scale(1.15);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.6);
}

.fab-main i {
  position: relative;
  z-index: 2;
}

.fab-options {
  position: absolute;
  bottom: 75px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.fab-options.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.fab-option {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: white;
  border: 2px solid #e2e8f0;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #374151;
  position: relative;
  overflow: hidden;
}

.fab-option::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  transform: scale(0);
  transition: transform 0.3s ease;
  border-radius: 50%;
}

.fab-option:hover::before {
  transform: scale(1);
}

.fab-option:hover {
  transform: scale(1.1);
  border-color: #2563eb;
  color: #2563eb;
}

.fab-option i {
  position: relative;
  z-index: 2;
}

/* INNOVATIVE PARTICLE SYSTEM */
.particle-system {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: particle-float 8s infinite linear;
}

@keyframes particle-float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

.profile-summary {
  text-align: justify;
  line-height: 1.8;
  color: #374151;
  position: relative;
  padding: 20px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid #e2e8f0;
  font-size: 15px;
}

/* Print styles */
@media print {
  body {
    background: white !important;
    font-size: 12px;
  }

  .animated-bg,
  .floating-menu,
  .particle-system {
    display: none !important;
  }

  .resume-container {
    box-shadow: none;
    padding: 0.5in;
    max-width: none;
    margin: 0;
    border-radius: 0;
  }

  .section {
    margin-bottom: 20px;
  }

  .page-break {
    page-break-before: always;
  }

  .social-links {
    display: none;
  }

  .section-title::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .resume-container {
    padding: 20px;
    margin: 1rem;
    border-radius: 20px;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-info {
    flex-direction: column;
    gap: 10px;
  }

  .social-links {
    gap: 12px;
  }

  .floating-menu {
    bottom: 20px;
    right: 20px;
  }

  .profile-image-container {
    width: 120px;
    height: 120px;
  }

  .name {
    font-size: 28px;
  }

  .title {
    font-size: 16px;
  }

  .section-title {
    font-size: 18px;
  }
}

/* Project Links Styling */
.project-links {
  display: flex;
  gap: 12px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.project-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.project-link:hover::before {
  left: 100%;
}

.live-link {
  background: linear-gradient(135deg, #10b981, #047857);
  color: white;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.live-link:hover {
  background: linear-gradient(135deg, #047857, #065f46);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.github-link {
  background: linear-gradient(135deg, #374151, #1f2937);
  color: white;
  box-shadow: 0 4px 15px rgba(55, 65, 81, 0.3);
}

.github-link:hover {
  background: linear-gradient(135deg, #1f2937, #111827);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(55, 65, 81, 0.4);
}

.project-link i {
  font-size: 0.9rem;
}

/* Responsive design for project links */
@media (max-width: 768px) {
  .project-links {
    flex-direction: column;
  }

  .project-link {
    justify-content: center;
    width: 100%;
  }
}

/* Enhanced project item styling */
.project-item {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 25px;
  transition: all 0.3s ease;
  position: relative;
}

.project-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border-color: rgba(99, 102, 241, 0.3);
}

.project-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #6366f1, #8b5cf6);
  border-radius: 15px 15px 0 0;
}

/* X (Twitter) Logo Styling */
.social-link.twitter {
  background: linear-gradient(135deg, #000000, #1a1a1a);
  color: white;
}

.social-link.twitter:hover {
  background: linear-gradient(135deg, #1a1a1a, #333333);
  transform: translateY(-3px) scale(1.05);
}

/* For custom X icon */
.x-icon {
  font-size: 20px;
  font-weight: bold;
  font-family: Arial, sans-serif;
  display: inline-block;
  line-height: 1;
}

/* Alternative X styling */
.x-logo::before {
  content: "𝕏" !important;
  font-family: Arial, sans-serif !important;
  font-size: 20px !important;
  font-weight: bold !important;
}

@keyframes socialModalSlideIn {
  from {
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

@keyframes socialModalSlideOut {
  from {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  to {
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0;
  }
}

@keyframes socialOverlayFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Mobile responsive for social modal */
@media (max-width: 768px) {
  #socialConnectMessage > div:first-child {
    padding: 20px !important;
    min-width: 280px !important;
  }

  #socialConnectMessage .social-links-container {
    flex-direction: column !important;
    gap: 10px !important;
  }

  #socialConnectMessage .social-links-container a {
    width: 100% !important;
    justify-content: center !important;
  }
}
