/* Browser Compatibility & Fallbacks */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* CSS Grid fallback for older browsers */
@supports not (display: grid) {
  .row {
    display: flex;
    flex-wrap: wrap;
  }

  .col-12 {
    width: 100%;
  }

  .col-md-6 {
    width: 50%;
  }

  .col-lg-4 {
    width: 33.333%;
  }
}

/* Fallback for CSS Variables (IE 11 and older) */
html {
  --bs-white: #fff;
  --bs-dark: #212529;
  --bs-body-bg: #fff;
  --bs-body-color: #212529;
}

/* Video optimization for better performance */
video {
  max-width: 100%;
  height: auto;
  display: block;
}

.header-video,
.banner-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 80%; 
}

/* Projects Section */
#projects {
  background: linear-gradient(180deg, #0a0b0f 0%, #13151d 100%);
  position: relative;
  overflow: hidden;
}

#projects::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(2, 170, 255, 0.5), transparent);
}

/* GitHub Activity */
.github-activity-card {
  background: rgba(255, 255, 255, .03);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(2, 170, 255, .1);
  box-shadow: 0 10px 30px rgba(2, 170, 255, .15);
  backdrop-filter: blur(10px)
}

.github-graph-wrap {
  overflow: hidden;
  border-radius: 10px;
  background: rgba(2, 170, 255, .04);
  box-shadow: 0 5px 20px rgba(2, 170, 255, .12)
}

.github-graph {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px
}

.project-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(2, 170, 255, 0.1);
  position: relative;
  z-index: 1;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(2, 170, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(2, 170, 255, 0.15);
  border-color: rgba(2, 170, 255, 0.3);
}

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

.project-img-container {
  position: relative;
  overflow: hidden;
  height: 140px;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.project-links {
  display: flex;
  gap: 20px;
}

.project-link {
  color: white;
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 170, 255, 0.2);
  transition: all 0.3s ease;
  text-decoration: none;
}

.project-link:hover {
  background: #02aaff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(2, 170, 255, 0.4);
}

.project-info {
  padding: 1.5rem;
}

.project-title {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  font-family: 'Bebas Neue', serif;
  letter-spacing: 0.5px;
}

.project-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  font-family: 'Work Sans', sans-serif;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1rem;
}

.project-tech span {
  background: rgba(2, 170, 255, 0.1);
  color: #02aaff;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  font-family: 'Fira Code', monospace;
}

.view-more-btn {
  background: transparent;
  color: #02aaff;
  border: 2px solid #02aaff;
  padding: 0.75rem 2rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  font-family: 'Work Sans', sans-serif;
}

.view-more-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #02aaff;
  transition: width 0.3s ease;
  z-index: -1;
}

.view-more-btn:hover {
  color: #0a0b0f;
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(2, 170, 255, 0.3);
}

.view-more-btn:hover::before {
  width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .project-img-container {
    height: 120px;
  }

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

  .project-desc {
    font-size: 0.9rem;
  }

  .github-activity-card {
    padding: 1rem
  }
}

/* Technical Skills Section */
@import url('https://cdn.jsdelivr.net/gh/devicons/devicon@v2.15.1/devicon.min.css');

#skills .container>.row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#skills .skill-category {
  width: 100%;
  margin-bottom: 1.5rem;
}

.skill-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  padding: 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid rgba(2, 170, 255, 0.1);
  backdrop-filter: blur(10px);
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(2, 170, 255, 0.15);
  border-color: rgba(2, 170, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.skill-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(2, 170, 255, 0.1), rgba(2, 170, 255, 0.05));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: #02aaff;
  font-size: 1.2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.skill-header h3 {
  margin: 0;
  color: #fff;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
}

.skill-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
}

.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #02aaff, transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.skill-item:hover::before {
  transform: translateX(100%);
}

.skill-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
  filter: grayscale(20%) brightness(1.1) saturate(0.9);
}

.skill-item:hover img {
  transform: scale(1.1) translateY(-3px);
  filter: grayscale(0%) brightness(1.2) saturate(1.2);
}

.skill-item span {
  color: #fff;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  transition: color 0.3s ease;
}

.skill-item:hover span {
  color: #02aaff;
}

/* MERN Stack specific styles */
.mern-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin-bottom: 0.5rem;
}

.mern-icon {
  width: 24px !important;
  height: 24px !important;
  transition: all 0.3s ease;
}

.skill-item:hover .mern-icon {
  transform: scale(1.1);
  filter: brightness(1.2);
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.skill-item {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

/* Staggered animation for skill items */
.skill-item:nth-child(1) {
  animation-delay: 0.1s;
}

.skill-item:nth-child(2) {
  animation-delay: 0.2s;
}

.skill-item:nth-child(3) {
  animation-delay: 0.3s;
}

.skill-item:nth-child(4) {
  animation-delay: 0.4s;
}

.skill-item:nth-child(5) {
  animation-delay: 0.5s;
}

.skill-item:nth-child(6) {
  animation-delay: 0.6s;
}

.skill-item:nth-child(7) {
  animation-delay: 0.7s;
}

.skill-item:nth-child(8) {
  animation-delay: 0.8s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .skill-items {
    justify-content: center;
  }

  .skill-card {
    padding: 1rem;
  }

  .skill-item {
    padding: 0.75rem 1rem;
    flex: 0 0 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
    box-sizing: border-box;
  }

  .skill-item img {
    width: 32px;
    height: 32px;
  }

  .skill-item span {
    font-size: 0.8rem;
  }

  .mern-icon {
    width: 18px !important;
    height: 18px !important;
  }
}

/* Education Timeline */
.section-title {
  font-family: 'Bebas Neue', serif;
  font-size: 3rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  color: #02aaff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.text-gradient {
  color: #02aaff;
  position: relative;
  z-index: 1;
}

/* Experience Section */
.company-logo {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: inline-block;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px;
}

.responsibilities {
  margin: 0;
  padding-left: 1.2rem;
}

.responsibilities li {
  color: #a8b2d1;
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
  font-family: 'Work Sans', sans-serif;
}

.skills-used {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 992px) {
  .company-logo {
    width: 38px;
    height: 38px;
  }
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 4px;
  background: linear-gradient(to bottom, #02aaff, transparent);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 10px;
  animation: lineGrow 2s ease-out forwards;
}

@keyframes lineGrow {
  from {
    height: 0;
  }

  to {
    height: 100%;
  }
}

.timeline-item {
  padding: 1.5rem 0;
  position: relative;
  width: 50%;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 3rem;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 3rem;
  text-align: left;
}

.timeline-marker {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #0a192f;
  border: 4px solid #02aaff;
  top: 2rem;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px rgba(2, 170, 255, 0.2);
  transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-marker {
  right: -15px;
}

.timeline-item:nth-child(even) .timeline-marker {
  left: -15px;
}

.timeline-icon {
  color: #02aaff;
  font-size: 0.9rem;
}

.timeline-content {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(2, 170, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #02aaff, #00ffcc);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(2, 170, 255, 0.1);
  border-color: rgba(2, 170, 255, 0.3);
}

.timeline-content:hover::before {
  opacity: 1;
}

.timeline-header {
  margin-bottom: 1rem;
  position: relative;
}

.timeline-header h3 {
  font-size: 1.5rem;
  color: #fff;
  margin: 0 0 0.5rem;
  font-weight: 500;
  font-family: 'Work Sans', sans-serif;
  line-height: 1.4;
}

.timeline-date {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  background: rgba(2, 170, 255, 0.1);
  color: #02aaff;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.timeline-content h4 {
  font-size: 1.1rem;
  color: #9ba7c0;
  margin: 0.5rem 0;
  font-weight: 400;
  font-family: 'Work Sans', sans-serif;
}

.timeline-content p {
  color: #a8b2d1;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-family: 'Work Sans', sans-serif;
  font-weight: 300;
}

.timeline-badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(2, 170, 255, 0.1);
  color: #02aaff;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-distinction {
  background: rgba(76, 175, 80, 0.1);
  color: #4caf50;
}

/* Responsive timeline */
@media (max-width: 992px) {
  .timeline::before {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px !important;
    padding-right: 0 !important;
    text-align: left !important;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-marker {
    left: 16px !important;
    right: auto !important;
  }
}

/* Animation for timeline items */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* No orphaned closing brace; keep the file intact */

.skill-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid rgba(2, 170, 255, 0.1);
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(2, 170, 255, 0.1);
  border-color: rgba(2, 170, 255, 0.3);
}

.skill-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-icon {
  width: 40px;
  height: 40px;
  background: rgba(2, 170, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: #02aaff;
  font-size: 1.2rem;
}

.skill-header h3 {
  margin: 0;
  color: #fff;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
}

.skill-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
}

.skill-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.skill-item:hover {
  background: rgba(2, 170, 255, 0.1);
  transform: translateX(5px);
}

.skill-item i {
  margin-right: 0.5rem;
  color: #02aaff;
  width: 20px;
  text-align: center;
}

.skill-item span {
  color: #fff;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .skill-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-section {
  background: linear-gradient(180deg, #0a0b0f 0%, #13151d 100%);
}

.contact-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(2, 170, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  margin-bottom: 1rem;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(2, 170, 255, 0.12);
  border-color: rgba(2, 170, 255, 0.3);
}

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #02aaff;
  color: #fff;
  flex-shrink: 0;
}

.contact-label {
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  color: #fff;
}

.contact-value {
  display: inline-block;
  color: #a8b2d1;
  text-decoration: none;
}

.contact-value:hover {
  color: #02aaff;
}

.contact-form-panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(2, 170, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.contact-social .social-item {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 170, 255, 0.15);
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-social .social-item:hover {
  background: #02aaff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(2, 170, 255, 0.25);
}

.map-card .btn {
  border-width: 2px;
}

.form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(2, 170, 255, 0.25);
  border-color: #02aaff;
}

@media (max-width: 992px) {
  .contact-form-panel {
    padding: 1.25rem !important;
  }
}

html {
  scrollbar-width: thin;
  scrollbar-color: #02aaff #0b0f16;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #0b0f16;
  border-radius: 8px;
}

::-webkit-scrollbar-thumb {
  background: #02aaff;
  border-radius: 8px;
  border: 2px solid #0b0f16;
}

::-webkit-scrollbar-thumb:hover {
  background: #0194df;
}

/* Content transition around terminal intro */
body.loading header,
body.loading main,
body.loading footer {
  opacity: 0.6;
  filter: blur(1px);
  transition: opacity 0.6s ease, filter 0.6s ease;
}

body.ready header,
body.ready main,
body.ready footer {
  opacity: 1;
  filter: none;
}

/* Loading Screen Styles */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a1a;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loading-content {
  text-align: center;
  color: #fff;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border: 5px solid rgba(2, 170, 255, 0.2);
  border-radius: 50%;
  border-top-color: #02aaff;
  animation: spin 1s ease-in-out infinite;
}

.loading-text {
  color: #02aaff;
  font-family: 'Bebas Neue', serif;
  letter-spacing: 2px;
  font-size: 1.5rem;
  margin-top: 20px;
  text-shadow: 0 0 10px rgba(2, 170, 255, 0.5);
}

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

/* Social Media Icons */
.social-icons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  padding: 1.5rem 0;
}

/* Contact Form Modern UI */
.contact-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(2, 170, 255, 0.15);
  border-radius: 16px;
  padding: 1.25rem 1.25rem 1rem;
  box-shadow: 0 12px 30px rgba(2, 170, 255, 0.08);
  backdrop-filter: blur(10px);
}

.contact-form .input-group-modern {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  color: #9ba7c0;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  font-family: 'Work Sans', sans-serif;
}

.contact-form .input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.contact-form .input-wrap i {
  position: absolute;
  left: 12px;
  color: #02aaff;
  opacity: 0.85;
}

.contact-form .form-control {
  padding-left: 38px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
}

.contact-form .form-control:focus {
  border-color: rgba(2, 170, 255, 0.6);
  box-shadow: 0 0 0 0.2rem rgba(2, 170, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

.turnstile-wrap {
  margin: 0.75rem 0 1rem;
}

.submit-help {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-family: 'Work Sans', sans-serif;
}

.submit-help.error {
  color: #ff6b6b;
}

.submit-help.ok {
  color: #4caf50;
}

@media (max-width: 768px) {
  .contact-card {
    padding: 1rem;
  }
}

.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon svg {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
  fill: currentColor;
}

/* Individual icon colors */
.social-icon.github {
  color: #f0f6fc;
}

.social-icon.linkedin {
  color: #0a66c2;
}

.social-icon.instagram {
  color: #e1306c;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hover Effects */
.social-icon:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-icon:active {
  transform: translateY(0) scale(0.95);
}

/* Pulse Animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.social-icon:hover::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  z-index: -1;
  animation: pulse 1.5s infinite;
}

/* Existing styles (unchanged) */
body {
  font-family: 'Work Sans', sans-serif;
  --bs-primary: #1c3dca;
  --bs-primary-rgb: 28, 61, 202;
  --bs-info: #02aaff;
  --bs-info-rgb: 2, 170, 255;
  --bs-dark: #131416;
  --bs-dark-rgb: 19, 20, 22;
  --bs-body-color: var(--bs-white);
  --bs-body-bg: var(--bs-dark);
  --bs-body-font-weight: 300;
}

.container {
  height: 100%;
  max-width: 960px;
}

header .text-badge {
  background: transparent;
}

.text-badge {
  padding: .1em .4em;
  background: var(--bs-dark);
}

.banner {
  position: relative;
  padding: 2em 1em;
  text-align: center;
  border-radius: 1em;
  overflow: hidden;
}

.banner-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.projects {
  --bs-gutter-y: 1.5rem;
}

footer {
  background: var(--bs-gray-900);
}

.futuristic-btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
  z-index: 1;
}

.futuristic-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(2, 170, 255, 0.7);
  border-color: var(--bs-info);
  background: linear-gradient(45deg, var(--bs-dark), rgba(2, 170, 255, 0.2));
  animation: neonPulse 1.5s infinite;
}

.futuristic-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(2, 170, 255, 0.3) 0%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease;
  z-index: -1;
}

.futuristic-btn:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.futuristic-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 150%;
  height: 2px;
  background: var(--bs-info);
  box-shadow: 0 0 8px var(--bs-info), 0 0 12px rgba(2, 170, 255, 0.7);
  transform: rotate(-45deg);
  transform-origin: top left;
  opacity: 0;
  transition: left 0.5s ease-in-out, opacity 0.3s ease;
  z-index: 0;
}

.futuristic-btn:hover::after {
  left: 100%;
  opacity: 1;
}

.futuristic-btn svg {
  transition: transform 0.3s ease;
}

.float-navbar {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%) translateY(120%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  opacity: 0;
  z-index: 1100;
  background: rgba(20, 25, 35, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  max-width: 92vw;
  will-change: transform;
  pointer-events: auto;
}

.float-navbar.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.float-navbar-inner {
  padding: 8px 12px;
  display: flex;
  align-items: center;
}

.float-nav-list {
  display: flex;
  gap: 12px;
  align-items: center;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.float-nav-list::-webkit-scrollbar {
  display: none;
}

.float-nav-list .nav-link {
  color: #fff;
  opacity: 0.9;
  text-decoration: none;
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.float-nav-list .nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #02aaff;
}

.float-navbar .btn {
  border-radius: 12px;
  padding: 8px 14px;
  white-space: nowrap;
  background: rgba(2, 170, 255, 0.2) !important;
  border: 1px solid rgba(2, 170, 255, 0.5);
  color: #fff;
}

.float-navbar .btn:hover {
  background: #02aaff;
  border-color: #02aaff;
}

@supports not (backdrop-filter: blur(10px)) {
  .float-navbar {
    background: rgba(20, 25, 35, 0.85);
  }
}

@media (max-width: 576px) {
  .float-navbar {
    bottom: 10px;
    border-radius: 14px;
  }

  .float-navbar-inner {
    padding: 6px 10px;
  }

  .float-nav-list {
    gap: 10px;
  }
}

.futuristic-btn:hover svg {
  transform: translateX(5px);
}

.futuristic-btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
  z-index: 1;
}

.futuristic-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(2, 170, 255, 0.7);
  border-color: var(--bs-info);
  background: linear-gradient(45deg, var(--bs-dark), rgba(2, 170, 255, 0.2));
  animation: neonPulse 1.5s infinite;
}

.futuristic-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(2, 170, 255, 0.3) 0%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease;
  z-index: -1;
}

.futuristic-btn:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.futuristic-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 150%;
  height: 2px;
  background: var(--bs-info);
  box-shadow: 0 0 8px var(--bs-info), 0 0 12px rgba(2, 170, 255, 0.7);
  transform: rotate(-45deg);
  transform-origin: top left;
  opacity: 0;
  transition: left 0.5s ease-in-out, opacity 0.3s ease;
  z-index: 0;
}

.futuristic-btn:hover::after {
  left: 100%;
  opacity: 1;
}

.futuristic-btn svg {
  transition: transform 0.3s ease;
}

.futuristic-btn:hover svg {
  transform: translateX(5px);
}

/* New futuristic button styles for navbar */
.futuristic-nav-btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: none;
  z-index: 1;
}

.futuristic-nav-btn:hover {
  transform: scale(1.1);
  background-color: transparent;
  color: var(--bs-white);
  animation: borderChase 2s linear infinite;
}

.futuristic-nav-btn::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border: 2px solid transparent;
  border-radius: inherit;
  z-index: -1;
}

.futuristic-nav-btn:hover::before {
  border-color: var(--bs-primary);
  animation: borderChaseGlow 2s linear infinite;
}

.futuristic-nav-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--bs-primary);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: -1;
}

.futuristic-nav-btn:hover::after {
  transform: translate(-50%, -50%) scale(10);
  opacity: 0.3;
}

/* Keyframes for border chase effect */
@keyframes borderChase {
  0% {
    box-shadow: 0 0 5px var(--bs-primary);
  }

  50% {
    box-shadow: 0 0 15px var(--bs-primary);
  }

  100% {
    box-shadow: 0 0 5px var(--bs-primary);
  }
}

@keyframes borderChaseGlow {
  0% {
    border-color: var(--bs-primary);
    box-shadow: 0 0 10px var(--bs-primary);
  }

  50% {
    border-color: rgba(28, 61, 202, 0.5);
    box-shadow: 0 0 20px var(--bs-primary);
  }

  100% {
    border-color: var(--bs-primary);
    box-shadow: 0 0 10px var(--bs-primary);
  }
}

/* Keyframes for neon pulse effect */
@keyframes neonPulse {
  0% {
    box-shadow: 0 0 10px rgba(2, 170, 255, 0.5),
      0 0 20px rgba(2, 170, 255, 0.3),
      0 0 30px rgba(2, 170, 255, 0.1);
  }

  50% {
    box-shadow: 0 0 15px rgba(2, 170, 255, 0.7),
      0 0 30px rgba(2, 170, 255, 0.5),
      0 0 45px rgba(2, 170, 255, 0.3);
  }

  100% {
    box-shadow: 0 0 10px rgba(2, 170, 255, 0.5),
      0 0 20px rgba(2, 170, 255, 0.3),
      0 0 30px rgba(2, 170, 255, 0.1);
  }
}

/* Project card hover effect */
.card {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card-img {
  transition: opacity 0.3s ease;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  /* Slightly black semi-transparent background */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-text {
  color: var(--bs-info);
  /* Matches the blue of PORTFOLIO text (#02aaff) */
  font-family: 'Bebas Neue', serif;
  /* Bold, impactful font like section titles */
  font-size: 1.5rem;
  /* Slightly larger for prominence */
  text-align: center;
  margin: 0;
  padding: 0 10px;
  text-transform: uppercase;
  /* Matches PORTFOLIO style */
}

.card:hover .card-img {
  opacity: 0.6;
  /* Makes the image slightly less visible */
}

.card:hover .card-overlay {
  opacity: 1;
  /* Shows the text overlay */
}

.typewriter {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.typewriter-text {
  color: var(--bs-white);
  white-space: nowrap;
}

.typewriter::after {
  content: '|';
  position: absolute;
  right: -10px;
  color: var(--bs-info);
  font-size: 0.8em;
  animation: blink 0.7s infinite;
}

.typewriter.typing-complete::after {
  content: none;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

header {
  margin: 0;
  padding: 0;
}

.header-bg {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.header-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}

.navbar {
  position: relative;
  z-index: 1;
  margin: 0;
}

.container.d-flex.flex-column.justify-content-end.align-items-start {
  position: relative;
  z-index: 1;
}

.navbar-nav .nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--bs-info);
  box-shadow: 0 0 8px var(--bs-info), 0 0 12px rgba(2, 170, 255, 0.7);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after {
  transform: scaleX(1);
}

.navbar-brand {
  position: relative;
  transition: color 0.3s ease;
}

.navbar-brand::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--bs-info);
  box-shadow: 0 0 8px var(--bs-info), 0 0 12px rgba(2, 170, 255, 0.7);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.navbar-brand:hover::after,
.navbar-brand:focus::after {
  transform: scaleX(1);
}

.scroll-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(-105%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
  opacity: 1;
  z-index: 1200;
  background: rgba(20, 25, 35, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.scroll-navbar.visible {
  transform: translateY(0);
}

.scroll-navbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 12px;
  display: flex;
  align-items: center;
}

.scroll-nav-list {
  display: flex;
  gap: 12px;
  align-items: center;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scroll-nav-list::-webkit-scrollbar {
  display: none;
}

.scroll-nav-list .nav-link {
  color: #fff;
  opacity: 0.9;
  text-decoration: none;
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.scroll-nav-list .nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #02aaff;
}

.scroll-navbar .btn {
  border-radius: 10px;
  padding: 8px 14px;
  white-space: nowrap;
  background: rgba(2, 170, 255, 0.2) !important;
  border: 1px solid rgba(2, 170, 255, 0.5);
  color: #fff;
}

.scroll-navbar .btn:hover {
  background: #02aaff;
  border-color: #02aaff;
}

@media (max-width: 576px) {
  .scroll-navbar-inner {
    padding: 6px 10px;
  }

  .scroll-nav-list {
    gap: 10px;
  }
}

@supports not (backdrop-filter: blur(10px)) {
  .scroll-navbar {
    background: rgba(20, 25, 35, 0.85);
  }
}

/* Scroll-triggered animations */
:root {
  --fade-distance-y: 20px;
  --slide-distance-x: 50px;
  --zoom-scale: 0.8;
  --fade-duration: 500ms;
  --slide-duration: 450ms;
  --zoom-duration: 550ms;
  --stagger-cards: 100ms;
}

.anim {
  opacity: 0;
}

.anim.in-view {
  opacity: 1;
}

.fade-up {
  transform: translateY(var(--fade-distance-y));
  transition: opacity var(--fade-duration) ease-out, transform var(--fade-duration) ease-out;
}

.fade-up.in-view {
  transform: translateY(0);
}

@keyframes slideLeftElastic {
  0% {
    opacity: 0;
    transform: translateX(var(--slide-distance-x));
  }

  60% {
    opacity: 1;
    transform: translateX(-10%);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-left {
  transform: translateX(var(--slide-distance-x));
}

.slide-left.in-view {
  animation: slideLeftElastic var(--slide-duration) cubic-bezier(.15, .7, .35, 1) both;
}

.zoom {
  transform: scale(var(--zoom-scale));
  opacity: 0.5;
  transition: opacity var(--zoom-duration) ease-in-out, transform var(--zoom-duration) ease-in-out;
}

.zoom.in-view {
  transform: scale(1);
  opacity: 1;
}

.anim {
  transition-delay: var(--anim-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  .anim {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 768px) {
  :root {
    --fade-distance-y: 14px;
    --slide-distance-x: 35px;
    --fade-duration: 400ms;
    --slide-duration: 350ms;
    --zoom-duration: 450ms;
    --stagger-cards: 100ms;
  }
}

/* ===== Enhanced Timeline Animations ===== */
.timeline-item {
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-item:hover {
  transform: translateX(10px);
}

.timeline-marker {
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
  transform: scale(1.2);
  box-shadow: 0 0 20px rgba(2, 170, 255, 0.6);
}

.timeline-icon {
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.timeline-item:hover .timeline-icon {
  transform: rotate(360deg) scale(1.1);
  animation: none;
}

.timeline-content {
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  padding: 20px;
  border-left: 3px solid transparent;
}

.timeline-item:hover .timeline-content {
  background: rgba(2, 170, 255, 0.08);
  border-left-color: #02aaff;
  box-shadow: 0 8px 16px rgba(2, 170, 255, 0.1);
}

.timeline-header h3 {
  transition: color 0.3s ease;
}

.timeline-item:hover .timeline-header h3 {
  color: #02aaff;
}

/* ===== Skill Proficiency Levels ===== */
.skill-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  cursor: default;
}

.skill-item-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.skill-proficiency {
  display: none;
  font-size: 0.75rem;
  color: #02aaff;
  margin-top: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.skill-item:hover .skill-proficiency {
  display: block;
  animation: fadeInUp 0.3s ease;
}

.proficiency-bar {
  width: 60px;
  height: 3px;
  background: rgba(2, 170, 255, 0.2);
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
  display: none;
}

.skill-item:hover .proficiency-bar {
  display: block;
}

.proficiency-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #02aaff, #00ffff);
  border-radius: 2px;
  animation: growWidth 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  box-shadow: 0 0 10px rgba(2, 170, 255, 0.5);
}

@keyframes growWidth {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Theme Customizer ===== */
.theme-customizer {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background: rgba(10, 11, 15, 0.95);
  border: 1px solid rgba(2, 170, 255, 0.3);
  border-radius: 50px;
  padding: 15px 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 15px;
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.theme-toggle-btn {
  background: transparent;
  border: none;
  color: #02aaff;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
  padding: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle-btn:hover {
  transform: scale(1.2) rotate(20deg);
  color: #00ffff;
  text-shadow: 0 0 10px rgba(2, 170, 255, 0.5);
}

.color-picker-input {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(2, 170, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.color-picker-input:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(2, 170, 255, 0.5);
  border-color: #02aaff;
}

/* ===== Search Functionality ===== */
.search-container {
  margin-bottom: 30px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.search-input {
  padding: 12px 20px;
  border: 2px solid rgba(2, 170, 255, 0.3);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 14px;
  transition: all 0.3s ease;
  min-width: 250px;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-input:focus {
  outline: none;
  border-color: #02aaff;
  background: rgba(2, 170, 255, 0.1);
  box-shadow: 0 0 15px rgba(2, 170, 255, 0.2);
}

.filter-btn {
  padding: 12px 20px;
  border: 2px solid rgba(2, 170, 255, 0.3);
  border-radius: 25px;
  background: transparent;
  color: #02aaff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(2, 170, 255, 0.2);
  border-color: #02aaff;
  box-shadow: 0 0 15px rgba(2, 170, 255, 0.2);
}

.no-results {
  text-align: center;
  padding: 40px 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
}

/* ===== Resume Download Button ===== */
.resume-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #02aaff, #00ffff);
  border: none;
  border-radius: 25px;
  color: #000;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.resume-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(2, 170, 255, 0.4);
}

.resume-download-btn:active {
  transform: translateY(0);
}

.resume-download-btn i {
  font-size: 16px;
}

/* ===== GitHub Stats Widget ===== */
.github-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.github-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(2, 170, 255, 0.2);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.github-stat-card:hover {
  background: rgba(2, 170, 255, 0.1);
  border-color: #02aaff;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(2, 170, 255, 0.1);
}

.github-stat-value {
  font-size: 32px;
  font-weight: 700;
  color: #02aaff;
  margin-bottom: 10px;
}

.github-stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.github-contributions-graph {
  margin-top: 20px;
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .theme-customizer {
    bottom: 15px;
    right: 15px;
    padding: 12px 15px;
    gap: 12px;
  }

  .search-input {
    min-width: 200px;
    font-size: 12px;
  }

  .github-stats {
    grid-template-columns: 1fr;
  }

  .timeline-item:hover {
    transform: translateX(5px);
  }
}

/* ===== GitHub Stats Skeleton Loading ===== */
.stat-skeleton {
  display: inline-block;
  width: 100%;
  height: 1em;
  background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(2,170,255,0.2), rgba(255,255,255,0.1));
  background-size: 200% 100%;
  border-radius: 4px;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.stat-updated {
  font-family: 'Fira Code', monospace;
}

/* ===== Repository Showcase ===== */
.repo-showcase {
  margin-top: 40px;
  padding: 30px 0;
}

.section-subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  color: #02aaff;
  margin-bottom: 25px;
  font-family: 'Bebas Neue', serif;
  letter-spacing: 1px;
  text-align: center;
}

.repo-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.repo-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(2, 170, 255, 0.15);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.repo-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #02aaff, #00ffff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.repo-item:hover {
  transform: translateY(-8px);
  border-color: rgba(2, 170, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 40px rgba(2, 170, 255, 0.15);
}

.repo-item:hover::before {
  transform: scaleX(1);
}

.repo-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.repo-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  font-family: 'Work Sans', sans-serif;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.repo-name:hover {
  color: #02aaff;
}

.repo-name i {
  color: #02aaff;
}

.repo-badge {
  display: inline-block;
  padding: 3px 8px;
  background: rgba(255, 100, 100, 0.2);
  color: #ff6464;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.repo-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 15px 0;
  font-family: 'Work Sans', sans-serif;
}

.repo-meta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.repo-lang,
.repo-stars,
.repo-forks {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Fira Code', monospace;
  transition: color 0.3s ease;
}

.repo-item:hover .repo-lang,
.repo-item:hover .repo-stars,
.repo-item:hover .repo-forks {
  color: #02aaff;
}

.repo-lang i {
  color: #02aaff;
  width: 14px;
  text-align: center;
}

.repo-stars i,
.repo-forks i {
  color: #ffd700;
}

.repo-item:hover .repo-stars i,
.repo-item:hover .repo-forks i {
  color: #02aaff;
}

@media (max-width: 768px) {
  .repo-list {
    grid-template-columns: 1fr;
  }
  
  .repo-item {
    padding: 16px;
  }
  
  .repo-name {
    font-size: 1rem;
  }
}

/* GitHub Stats Card Updates */
.github-stat-card {
  position: relative;
  overflow: hidden;
}

.github-stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(2, 170, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.github-stat-card:hover::after {
  opacity: 1;
}