/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0f172a;
  color: #cbd5e1;
  line-height: 1.6;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.loaded {
  opacity: 1;
}

/* Interactive mouse gradient background */
.mouse-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  transition: background 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1e293b;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #06b6d4, #3b82f6);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #0891b2, #2563eb);
}

/* Selection styling */
::selection {
  background: rgba(6, 182, 212, 0.3);
  color: #f1f5f9;
}

/* Animated background */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  background: 
    radial-gradient(circle at 20% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(1deg); }
  66% { transform: translateY(10px) rotate(-1deg); }
}

/* Navbar */
header {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(203, 213, 225, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(45deg, #06b6d4, #3b82f6, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links li a {
  text-decoration: none;
  color: #cbd5e1;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
}

.nav-links li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #06b6d4, #3b82f6);
  border-radius: 25px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.nav-links li a:hover::before,
.nav-links li a.active::before {
  opacity: 1;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #ffffff;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #cbd5e1;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

.profile-container {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
  margin-top: 4rem;
}

.profile-pic {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid transparent;
  background: linear-gradient(45deg, #06b6d4, #3b82f6, #a855f7);
  padding: 4px;
  transition: all 0.3s ease;
}

.profile-pic:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(6, 182, 212, 0.3);
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 1rem;
  animation: slideInLeft 1s ease-out 0.3s both;
}

.gradient-text {
  background: linear-gradient(45deg, #06b6d4, #3b82f6, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 1.4rem;
  color: #94a3b8;
  margin-bottom: 1.5rem;
  animation: slideInRight 1s ease-out 0.6s both;
}

.hero-description {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 1.2s both;
}

/* Buttons */
.cta-button, .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cta-button.primary, .btn.primary {
  background: linear-gradient(45deg, #06b6d4, #3b82f6);
  color: #ffffff;
}

.cta-button.primary:hover, .btn.primary:hover {
  background: linear-gradient(45deg, #0891b2, #2563eb);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.4);
}

.cta-button.secondary, .btn.secondary {
  background: transparent;
  border: 2px solid #06b6d4;
  color: #06b6d4;
}

.cta-button.secondary:hover, .btn.secondary:hover {
  background: linear-gradient(45deg, #06b6d4, #3b82f6);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
}

/* Section styling */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(45deg, #06b6d4, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

/* Experience Section */
.experience-section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.experience-timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

/* Main timeline line - moved further right to avoid collision */
.experience-timeline::before {
  content: '';
  position: absolute;
  left: 220px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, 
    #06b6d4 0%, 
    #3b82f6 50%, 
    #a855f7 100%);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

.experience-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.experience-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Timeline dots - adjusted position to match new line position */
.experience-item::after {
  content: '';
  position: absolute;
  left: 209px;
  top: 0.7rem;
  width: 17px;
  height: 17px;
  background: linear-gradient(45deg, #06b6d4, #3b82f6);
  border: 4px solid #0f172a;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.2);
  transition: all 0.4s ease;
  z-index: 10;
}

.experience-item:hover::after {
  transform: scale(1.3);
  box-shadow: 0 0 0 8px rgba(6, 182, 212, 0.3);
}

/* Animated pulse effect for dots - adjusted position */
.experience-item::before {
  content: '';
  position: absolute;
  left: 213px;
  top: 1rem;
  width: 17px;
  height: 17px;
  background: rgba(6, 182, 212, 0.4);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
  z-index: 9;
}

@keyframes pulse-dot {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(2);
    opacity: 0.3;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.experience-date {
  text-align: right;
  padding-top: 0.5rem;
  padding-right: 1rem;
  position: relative;
}

.date-range {
  font-size: 0.875rem;
  font-weight: 700;
  color: #06b6d4;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: linear-gradient(45deg, #06b6d4, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

/* Glowing effect for date */
.date-range::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, #06b6d4, #3b82f6);
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.3s ease;
  z-index: -1;
}

.experience-item:hover .date-range::after {
  opacity: 0.3;
}

.experience-content {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(203, 213, 225, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

/* Animated gradient background */
.experience-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(6, 182, 212, 0.1), 
    rgba(59, 130, 246, 0.1), 
    transparent);
  transition: left 0.6s ease;
}

.experience-content:hover::before {
  left: 100%;
}

.experience-content:hover {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(6, 182, 212, 0.4);
  transform: translateY(-8px) translateX(10px);
  box-shadow: 
    0 20px 40px rgba(6, 182, 212, 0.15),
    0 0 0 1px rgba(6, 182, 212, 0.1);
}

.experience-header {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.experience-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.experience-content:hover .experience-header h3 {
  color: #06b6d4;
}

.company {
  color: #06b6d4;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.experience-content:hover .company {
  color: #3b82f6;
  transform: translateX(5px);
}

.experience-description {
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.experience-content:hover .experience-description {
  color: #cbd5e1;
}

.experience-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.tech-tag {
  background: rgba(6, 182, 212, 0.15);
  color: #06b6d4;
  padding: 0.4rem 1rem;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(6, 182, 212, 0.3);
  transition: all 0.3s ease;
  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.2), transparent);
  transition: left 0.5s ease;
}

.tech-tag:hover::before {
  left: 100%;
}

.tech-tag:hover {
  background: rgba(6, 182, 212, 0.25);
  border-color: #06b6d4;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(6, 182, 212, 0.3);
}

.experience-achievements {
  position: relative;
  z-index: 2;
}

.experience-achievements ul {
  list-style: none;
  padding-left: 0;
}

.experience-achievements li {
  color: #94a3b8;
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 2rem;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.experience-content:hover .experience-achievements li {
  color: #cbd5e1;
  opacity: 1;
}

.experience-achievements li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: #06b6d4;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.experience-achievements li:hover::before {
  color: #3b82f6;
  transform: translateX(3px);
}

/* Staggered animation for experience items */
.experience-item:nth-child(1) { transition-delay: 0.1s; }
.experience-item:nth-child(2) { transition-delay: 0.2s; }
.experience-item:nth-child(3) { transition-delay: 0.3s; }
.experience-item:nth-child(4) { transition-delay: 0.4s; }
.experience-item:nth-child(5) { transition-delay: 0.5s; }

/* Responsive adjustments */
@media (max-width: 768px) {
  .experience-timeline::before {
    left: 20px;
  }
  
  .experience-item::after,
  .experience-item::before {
    left: 13px;
  }
  
  .experience-item {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-left: 3rem;
  }
  
  .experience-date {
    text-align: left;
    padding-right: 0;
  }
  
  .experience-content:hover {
    transform: translateY(-5px) translateX(0);
  }
}

/* Projects Section */
.projects-section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.project-card {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(203, 213, 225, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
}

.project-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(6, 182, 212, 0.1) 0%, 
    rgba(59, 130, 246, 0.1) 50%, 
    rgba(168, 85, 247, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

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

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(6, 182, 212, 0.2);
  border-color: rgba(6, 182, 212, 0.3);
}

.project-image {
  height: 200px;
  background: linear-gradient(135deg, #1e293b, #334155);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.project-placeholder {
  font-size: 3rem;
  color: #475569;
  transition: all 0.3s ease;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

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

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

.project-link {
  width: 50px;
  height: 50px;
  background: rgba(6, 182, 212, 0.2);
  border: 2px solid #06b6d4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #06b6d4;
  text-decoration: none;
  transition: all 0.3s ease;
}

.project-link:hover {
  background: #06b6d4;
  color: #ffffff;
  transform: scale(1.1);
}

.project-card:hover .project-placeholder {
  color: #06b6d4;
  transform: scale(1.1);
}

.project-content {
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.project-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 1rem;
}

.project-content p {
  color: #94a3b8;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

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

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

.btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
}

/* Skills Section */
.skills-section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.skills-container {
  display: grid;
  gap: 3rem;
}

.skills-category {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.skills-category.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.skills-category h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
}

.skills-category h3::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: linear-gradient(45deg, #06b6d4, #3b82f6);
  border-radius: 1px;
}

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

.skill-item {
  background: rgba(30, 41, 59, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(203, 213, 225, 0.1);
  border-radius: 15px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.skill-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.1) 0%,
    rgba(59, 130, 246, 0.1) 50%,
    rgba(168, 85, 247, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.skill-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.3);
}

.skill-item i {
  font-size: 2rem;
  color: #06b6d4;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.skill-item:hover i {
  transform: scale(1.1);
  color: #3b82f6;
}

.skill-item span {
  display: block;
  font-weight: 500;
  color: #f1f5f9;
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
}


/* About Section */
.about-section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.about-content {
  display: flex;
  justify-content: center;
  /* for stat
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  */
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.about-content.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.about-text p {
  font-size: 1.1rem;
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/*
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid rgba(203, 213, 225, 0.1);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(30, 41, 59, 0.5);
  border-color: rgba(6, 182, 212, 0.3);
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #06b6d4;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 500;
}
*/

/* Contact Section */
.contact-section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.contact-content.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.contact-info p {
  font-size: 1.1rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #06b6d4;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.contact-email:hover {
  color: #3b82f6;
  transform: translateX(5px);
}

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

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.social-links a:hover {
  color: #06b6d4;
  transform: translateX(5px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(203, 213, 225, 0.2);
  border-radius: 10px;
  color: #f1f5f9;
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #06b6d4;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
  background: rgba(30, 41, 59, 0.7);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #64748b;
}

.contact-form input:disabled,
.contact-form textarea:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.contact-form button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Footer */
footer {
  background: rgba(15, 23, 42, 0.9);
  border-top: 1px solid rgba(203, 213, 225, 0.1);
  padding: 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #64748b;
}

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

.footer-links a {
  color: #64748b;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #06b6d4;
  transform: translateY(-2px);
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

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

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

  .experience-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .experience-item::before {
    display: none;
  }

  .experience-date {
    text-align: left;
  }

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

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

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

  .projects-section,
  .skills-section,
  .about-section,
  .contact-section,
  .experience-section {
    padding: 4rem 1rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .nav-links {
    position: fixed;
    top: 80px;
    right: -100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    width: 100%;
    height: calc(100vh - 80px);
    gap: 2rem;
    padding: 2rem;
    transition: right 0.3s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

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

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

/* Form Message Styling */
#form-message {
  padding: 1rem 1.5rem;
  margin-top: 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
  transition: all 0.5s ease-in-out;
  opacity: 0;
  transform: translateY(20px);
  max-height: 0;
  overflow: hidden;
}

#form-message.message-visible {
  opacity: 1;
  transform: translateY(0);
  max-height: 100px; /* Adjust as needed */
}

#form-message.message-hidden {
  opacity: 0;
  transform: translateY(20px);
  max-height: 0;
}

.message-success {
  background: linear-gradient(45deg, rgba(6, 182, 212, 0.2), rgba(59, 130, 246, 0.2)); /* Light gradient background */
  border: 1px solid #06b6d4; /* Border matching theme */
  color: #06b6d4; /* Text color matching theme */
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

.message-error {
  background: linear-gradient(45deg, rgba(231, 76, 60, 0.2), rgba(168, 85, 247, 0.2)); /* Red/purple gradient */
  border: 1px solid #e74c3c; /* Red border */
  color: #e74c3c; /* Red text */
  box-shadow: 0 0 15px rgba(231, 76, 60, 0.2);
}

/* Spinner for loading state */
.cta-button .fa-spinner {
  margin-right: 0.5rem;
}