/* Modern CSS with vibrant colors and animations */
:root {
    --primary-color: #7C3AED;  /* Vibrant purple */
    --secondary-color: #EC4899; /* Pink */
    --accent-color: #3B82F6;   /* Blue */
    --gradient-start: #7C3AED;
    --gradient-mid: #EC4899;
    --gradient-end: #3B82F6;
    --text-primary: #1F2937;
    --text-secondary: #4B5563;
    --background-light: #ffffff;
    --bg-color: #1F2937;
    --text-color: #94a3b8;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-light);
}

/* Enhanced Hero Section */
.hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    min-height: 100vh;
    gap: 4rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(236, 72, 153, 0.1));
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 0% 0%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 100% 100%, rgba(236, 72, 153, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.name-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.subtitle {
    font-size: 2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 500;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.hero-image {
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
}

.hero-image img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    box-shadow: 
        0 0 0 8px rgba(255, 255, 255, 0.8),
        0 20px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    animation: floatImage 6s ease-in-out infinite;
}

.hero-image img:hover {
    transform: scale(1.02);
    box-shadow: 
        0 0 0 12px rgba(255, 255, 255, 0.8),
        0 25px 50px rgba(0, 0, 0, 0.2);
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--gradient-mid);
    margin-left: 5px;
    animation: blink 0.75s infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

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

@keyframes floatImage {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
        gap: 2rem;
    }

    .hero-content {
        padding: 0;
    }

    .name-title {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.5rem;
    }

    .hero-image img {
        width: 250px;
        height: 250px;
    }
}

/* Enhanced section styles */
.section {
    padding: 6rem 2rem;
    background: var(--background-light);
}

.section h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

/* Project cards with hover effects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.8));
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.project-category {
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  background: rgba(124, 58, 237, 0.8);
  border-radius: 20px;
  backdrop-filter: blur(5px);
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.project-content p {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.project-tech span {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.project-tech span i {
  font-size: 0.875rem;
}

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

.project-link {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.project-link:not(.live) {
  background: rgba(124, 58, 237, 0.1);
  color: var(--primary-color);
}

.project-link.live {
  background: var(--primary-color);
  color: white;
}

.project-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .project-card {
    max-width: 100%;
  }
}

/* Tech stack icons with hover effects */
.tech-icon {
    width: 40px;
    height: 40px;
    margin: 0.5rem;
    transition: transform 0.3s ease;
}

.tech-icon:hover {
    transform: translateY(-5px);
}

/* Contact section enhancement */
.contact-section {
  background: linear-gradient(to bottom right, rgba(124, 58, 237, 0.05), rgba(236, 72, 153, 0.05));
  border-radius: 24px;
  margin: 2rem 0;
  padding: 4rem 2rem;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-description {
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 600px;
  margin: 1.5rem auto 3rem;
  line-height: 1.6;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-method {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
}

.contact-method i {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 12px;
}

.method-details {
  text-align: left;
}

.method-details h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--primary-color);
}

.method-details p {
  font-size: 0.875rem;
  color: #94a3b8;
  margin: 0;
}

.contact-availability {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 100px;
  margin-top: 2rem;
}

.contact-availability i {
  color: var(--primary-color);
}

.contact-availability p {
  font-size: 0.875rem;
  color: var(--primary-color);
  margin: 0;
}

@media (max-width: 768px) {
  .contact-section {
    padding: 3rem 1rem;
    margin: 1rem 0;
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }

  .contact-availability {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
}

/* Navigation */
nav {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(108, 99, 255, 0.1);
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--gradient-start);
    transform: scale(1.05);
}

/* About Section */
.about-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
  border-radius: 24px;
  margin: 2rem 0;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-content {
  display: grid;
  gap: 3rem;
}

.about-text {
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.about-text::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  opacity: 0.1;
  border-radius: 20px;
  transform: rotate(45deg);
  animation: rotate 10s linear infinite;
}

.about-intro {
  font-size: 1.25rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  animation: fadeInUp 0.6s ease-out;
}

.about-description {
  font-size: 1.1rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.skills-container {
  display: grid;
  gap: 2rem;
  animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

.skill-category {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.skill-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(124, 58, 237, 0.1),
    rgba(236, 72, 153, 0.1)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.skill-category:hover::before {
  opacity: 1;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.category-header i {
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(124, 58, 237, 0.1);
  border-radius: 15px;
  position: relative;
  z-index: 1;
}

.category-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.skill-item {
  position: relative;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.skill-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(124, 58, 237, 0.15),
    rgba(236, 72, 153, 0.15)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.skill-item:hover::before {
  opacity: 1;
}

.skill-item i {
  font-size: 1.25rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: 1;
}

.skill-item span {
  font-size: 0.875rem;
  font-weight: 500;
  color: #94a3b8;
  z-index: 1;
}

.skill-level {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(135deg,
    rgba(124, 58, 237, 0.1),
    rgba(236, 72, 153, 0.1)
  );
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-item:hover .skill-level {
  width: var(--level);
}

/* Specific skill colors */
.skill-item.python i { color: #3776AB; }
.skill-item.golang i { color: #00ADD8; }
.skill-item.java i { color: #ED8B00; }
.skill-item.node i { color: #339933; }
.skill-item.database i { color: #336791; }
.skill-item.mongodb i { color: #47A248; }
.skill-item.redis i { color: #DC382D; }
.skill-item.graphql i { color: #E535AB; }

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

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

@media (min-width: 768px) {
  .skills-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .skill-category.backend {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 3rem 1rem;
  }

  .about-intro {
    font-size: 1.1rem;
  }

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

  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.project-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

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

.project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tech span {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(236, 72, 153, 0.1));
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.project-link {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.project-link:first-child {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    color: white;
}

.project-link.live {
    background: white;
    color: var(--gradient-start);
    border: 2px solid var(--gradient-start);
}

.project-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Media Queries for Projects */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        padding: 0.5rem;
    }

    .project-card {
        max-width: 100%;
    }

    .project-content h3 {
        font-size: 1.25rem;
    }

    .project-content p {
        font-size: 0.875rem;
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1280px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Projects Section */
#projects {
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
}

#projects::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        radial-gradient(circle at 0% 0%, rgba(124, 58, 237, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(236, 72, 153, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

#projects h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-mid));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

#projects h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-mid));
    border-radius: 2px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    padding: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.05),
        0 10px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.12),
        0 0 20px rgba(124, 58, 237, 0.1);
}

.project-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 70%,
        rgba(255, 255, 255, 0.1) 100%
    );
}

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

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

.project-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.project-content h3 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.project-card:hover .project-content h3 {
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-mid));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex-grow: 1;
    font-size: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.project-tech span {
    background: linear-gradient(135deg, 
        rgba(124, 58, 237, 0.1),
        rgba(236, 72, 153, 0.1)
    );
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.project-tech span:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, 
        rgba(124, 58, 237, 0.15),
        rgba(236, 72, 153, 0.15)
    );
    border-color: rgba(124, 58, 237, 0.2);
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.project-link {
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    text-align: center;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.project-link:first-child {
    background: linear-gradient(135deg, 
        var(--gradient-start),
        var(--gradient-mid)
    );
    color: white;
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.2);
}

.project-link.live {
    background: white;
    color: var(--gradient-start);
    border: 2px solid transparent;
    background-image: linear-gradient(white, white), 
        linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.project-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(124, 58, 237, 0.25);
}

.project-link.live:hover {
    box-shadow: 0 6px 15px rgba(236, 72, 153, 0.25);
}

/* Responsive Design for Projects */
@media (max-width: 768px) {
    #projects {
        padding: 4rem 1rem;
    }

    #projects h2 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0.5rem;
    }

    .project-card {
        max-width: 100%;
    }

    .project-content {
        padding: 1.5rem;
    }

    .project-content h3 {
        font-size: 1.5rem;
    }

    .project-image {
        height: 200px;
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1440px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-link {
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--gradient-mid), var(--gradient-end));
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.contact-link:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
}

.contact-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    animation: float 6s ease-in-out infinite;
}

.contact-image img {
    width: 100%;
    height: auto;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1a1c2e, #2d1b69);
  padding: 3rem 0 1.5rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(123, 31, 162, 0.1) 0%,
    rgba(32, 201, 151, 0.1) 25%,
    rgba(242, 87, 87, 0.1) 50%,
    rgba(247, 143, 43, 0.1) 75%,
    rgba(123, 31, 162, 0.1) 100%
  );
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.footer-left {
  flex-shrink: 0;
}

.footer-name {
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, #20c997, #0ea5e9, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.footer-tagline {
  color: #94a3b8;
  font-size: 0.875rem;
  letter-spacing: 0.2px;
}

.footer-social {
  display: flex;
  gap: 1.75rem;
}

.footer-social a {
  color: #94a3b8;
  font-size: 1.25rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.footer-social a:nth-child(1):hover { color: #6e5494; } /* GitHub */
.footer-social a:nth-child(2):hover { color: #0077b5; } /* LinkedIn */
.footer-social a:nth-child(3):hover { color: #1da1f2; } /* Twitter */
.footer-social a:nth-child(4):hover { color: #e4405f; } /* Instagram */

.footer-social a::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: currentColor;
  border-radius: 50%;
  opacity: 0.15;
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social a:hover::before {
  transform: scale(1.5);
}

.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, #20c997, #0ea5e9);
  border: none;
  border-radius: 12px;
  color: white;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.contact-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-button:hover::before {
  opacity: 1;
}

.contact-button i,
.contact-button span {
  position: relative;
  z-index: 1;
}

.contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.2);
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 0.875rem;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 1;
}

.footer-bottom i {
  background: linear-gradient(135deg, #f43f5e, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0.25rem;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

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

/* Apps Section */
.apps-section {
  position: relative;
}

.apps-section::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  opacity: 0.1;
  border-radius: 50%;
  filter: blur(40px);
}

.app-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.app-link {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: #94a3b8;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.app-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
    rgba(124, 58, 237, 0.1),
    rgba(236, 72, 153, 0.1)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.app-link:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.app-link:hover::before {
  opacity: 1;
}

.app-link.featured {
  background: linear-gradient(135deg,
    rgba(124, 58, 237, 0.1),
    rgba(236, 72, 153, 0.1)
  );
  border-color: rgba(124, 58, 237, 0.3);
}

.app-icon {
  position: relative;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.app-icon i {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 1;
}

.app-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.app-link:hover .app-icon::before {
  transform: scale(1.1);
  background: rgba(124, 58, 237, 0.2);
}

.app-status {
  position: absolute;
  top: -8px;
  right: -8px;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 20px;
  background: #22c55e;
  color: white;
  z-index: 2;
}

.app-status.featured-tag {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
}

.app-status.beta {
  background: #eab308;
}

.app-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.app-name {
  font-size: 1rem;
  font-weight: 600;
  color: #e2e8f0;
  transition: color 0.3s ease;
}

.app-link:hover .app-name {
  color: var(--primary-color);
}

.app-platform {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
}

.app-platform i {
  font-size: 1rem;
}

.app-description {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.5;
}

.app-rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.stars {
  display: flex;
  gap: 0.25rem;
}

.stars i {
  color: #fbbf24;
  font-size: 0.875rem;
}

.app-rating span {
  font-size: 0.75rem;
  color: #64748b;
}

.app-arrow {
  font-size: 1.25rem;
  color: #64748b;
  transition: transform 0.3s ease;
}

.app-link:hover .app-arrow {
  transform: translateX(5px);
  color: var(--primary-color);
}

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

  .app-icon {
    width: 40px;
    height: 40px;
  }

  .app-description {
    display: none;
  }

  .app-rating {
    margin-top: 0.25rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-image {
        width: 80%;
        opacity: 0.4;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image,
    .contact-image {
        max-width: 300px;
    }

    .tech-stack {
        justify-content: center;
        gap: 1rem;
    }

    .tech-icon {
        width: 40px;
        height: 40px;
    }

    .name-title {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}
