@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap");

:root {
  --primary: #3b82f6;
  --secondary: #6366f1;
  --accent: #8b5cf6;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Outfit", sans-serif;
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  animation: fadeInUp 0.6s ease-out;
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

.logo::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  transition: width 0.3s ease;
}

.logo:hover::after {
  width: 100%;
}

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

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.hero {
  min-height: 100vh;
  padding: 7rem 2rem 4rem;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  overflow: hidden;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text > * {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.greeting {
  animation-delay: 0.2s;
  color: var(--primary);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  display: block;
}

.name {
  animation-delay: 0.4s;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: fadeInUp 0.6s ease-out forwards, gradient 5s ease-in-out infinite;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.role {
  animation-delay: 0.6s;
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.bio {
  animation-delay: 0.8s;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-buttons {
  animation-delay: 1s;
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.button {
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.primary-button {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.primary-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.primary-button:hover::before {
  left: 100%;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.secondary-button {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  position: relative;
  z-index: 1;
}

.secondary-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--primary);
  transition: 0.5s;
  z-index: -1;
}

.secondary-button:hover::before {
  width: 100%;
}

.secondary-button:hover {
  color: white;
  transform: translateY(-2px);
}

.social-links {
  animation-delay: 1.2s;
  display: flex;
  gap: 1.5rem;
}

.social-link {
  color: var(--text-light);
  font-size: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.social-link::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--primary);
  border-radius: 50%;
  transform: scale(0);
  opacity: 0.2;
  transition: 0.3s;
}

.social-link:hover::before {
  transform: scale(1.4);
}

.social-link:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.hero-image {
  position: relative;
  animation: scaleIn 0.6s ease-out 1s forwards;
  opacity: 0;
}

.image-container {
  width: 400px;
  height: 400px;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  animation: float 6s ease-in-out infinite;
}

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

.image-container:hover .profile-img {
  transform: scale(1.05);
}

.image-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 450px;
  height: 450px;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  border-radius: 30px;
  z-index: -1;
  opacity: 0.1;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-text {
    padding-right: 0;
  }

  .hero-buttons {
    justify-content: center;
  }

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

  .image-container {
    width: 300px;
    height: 300px;
  }

  .image-bg {
    width: 350px;
    height: 350px;
  }
}

@media (max-width: 768px) {
  .nav-content {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .name {
    font-size: 2.5rem;
  }

  .role {
    font-size: 1.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .button {
    width: 100%;
    justify-content: center;
  }
}

.education-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  position: relative;
  overflow: hidden;
}

.education-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.header-content {
  position: relative;
  z-index: 2;
}

.header-icon {
  display: inline-block;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: floatIcon 3s ease-in-out infinite;
}

.education-header h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(45deg, #1f2937, #4b5563);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-subtitle {
  color: #6b7280;
  font-size: 1.1rem;
  font-weight: 500;
}

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

.timeline-wrapper {
  position: relative;
  padding: 2rem 0;
}

.timeline-wrapper::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    #3b82f6,
    #8b5cf6,
    transparent
  );
}

.timeline-item {
  width: 50%;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item.left {
  padding-right: 3rem;
  float: left;
  clear: right;
}

.timeline-item.right {
  padding-left: 3rem;
  float: right;
  clear: left;
}

.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
  animation: pulseDot 2s infinite;
}

.timeline-item.left .timeline-dot {
  right: -10px;
}

.timeline-item.right .timeline-dot {
  left: -10px;
}

.education-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.education-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.education-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #3b82f6, #8b5cf6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.education-card:hover::before {
  opacity: 0.02;
}

.card-badge {
  position: absolute;
  top: 0.5rem;
  right: 0rem;
  background: linear-gradient(45deg, #3b82f6, #8b5cf6);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

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

.institution-icon {
  font-size: 1.5rem;
  color: #3b82f6;
}

.card-header h3 {
  font-size: 1.4rem;
  color: #1f2937;
  font-weight: 600;
}

.institution {
  font-size: 1.1rem;
  color: #4b5563;
  margin-bottom: 0.5rem;
}

.location {
  color: #6b7280;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.location i {
  margin-right: 0.5rem;
  color: #3b82f6;
}

.grade {
  margin: 1.5rem 0;
}

.grade-label {
  display: block;
  color: #4b5563;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.grade-bar {
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}

.grade-fill {
  height: 100%;
  background: linear-gradient(45deg, #3b82f6, #8b5cf6);
  border-radius: 4px;
  position: relative;
  animation: fillBar 1.5s ease-out forwards;
}

.grade-fill::after {
  content: attr(style);
  position: absolute;
  right: 0;
  top: -25px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #3b82f6;
}

.card-footer {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.tag {
  background: #f3f4f6;
  color: #4b5563;
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.tag:hover {
  background: #3b82f6;
  color: white;
}

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

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

@keyframes fillBar {
  from {
    width: 0;
  }
  to {
    width: var(--width);
  }
}

/* Clear fix for the timeline wrapper */
.timeline-wrapper::after {
  content: "";
  display: table;
  clear: both;
}

@media (max-width: 768px) {
  .timeline-wrapper::before {
    left: 0;
  }

  .timeline-item {
    width: 100%;
    float: none;
    padding: 0 0 0 2rem;
  }

  .timeline-item.left,
  .timeline-item.right {
    padding-left: 2rem;
    padding-right: 0;
  }

  .timeline-item.left .timeline-dot,
  .timeline-item.right .timeline-dot {
    left: -10px;
    right: auto;
  }

  .education-card {
    padding: 1.5rem;
  }

  .card-header h3 {
    font-size: 1.2rem;
  }

  .education-header h2 {
    font-size: 2rem;
  }
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap");
.section-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.section-animate.active {
  opacity: 1;
  transform: translateY(0);
}

.projects-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.header-content {
  position: relative;
  z-index: 2;
}

.header-icon {
  display: inline-block;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: floatIcon 3s ease-in-out infinite;
}

.section-header h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(45deg, #1f2937, #4b5563);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 500;
}

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

.project-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.project-card:hover::before {
  transform: scaleX(1);
}

.project-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.1),
    rgba(139, 92, 246, 0.1)
  );
  color: var(--primary);
  transition: all 0.3s ease;
}

.project-card:hover .project-icon {
  background: linear-gradient(45deg, var(--primary), var(--accent));
  color: white;
  transform: rotate(360deg);
}

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

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

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

.tag {
  background: #f3f4f6;
  color: var(--text-light);
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.tag:hover {
  background: var(--primary);
  color: white;
}

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

.project-link {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

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

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

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

  .section-header h2 {
    font-size: 2rem;
  }

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

  .project-card {
    padding: 1.5rem;
  }
}

/* Projects Section  Styles */
.projects-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  position: relative;
  overflow: hidden;
}

.projects-section::before,
.projects-section::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(45deg, #3b82f6, #8b5cf6);
  opacity: 0.05;
  filter: blur(80px);
  animation: projects-floatingShape 20s infinite;
}

.projects-section::before {
  top: -100px;
  left: -100px;
  animation-delay: -5s;
}

.projects-section::after {
  bottom: -100px;
  right: -100px;
}

@keyframes projects-floatingShape {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(50px, 50px) rotate(90deg);
  }
  50% {
    transform: translate(0, 100px) rotate(180deg);
  }
  75% {
    transform: translate(-50px, 50px) rotate(270deg);
  }
}

.projects-header {
  text-align: center;
  margin-bottom: 4rem;
}

.projects-header-content {
  position: relative;
  z-index: 2;
}

.projects-header-icon {
  position: relative;
  display: inline-block;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: projects-floatIcon 3s ease-in-out infinite;
}

.projects-header-icon::after {
  content: "";
  position: absolute;
  width: 140%;
  height: 140%;
  top: -20%;
  left: -20%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent 70%);
  border-radius: 50%;
  animation: projects-pulse 2s ease-in-out infinite;
}

.projects-header h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(45deg, #1f2937, #4b5563);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.projects-header-subtitle {
  color: #6b7280;
  font-size: 1.1rem;
  font-weight: 500;
}

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

.projects-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  animation: projects-revealCard 0.6s ease forwards;
}

.projects-card:nth-child(2) {
  animation-delay: 0.2s;
}

.projects-card:nth-child(3) {
  animation-delay: 0.4s;
}

.projects-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #3b82f6, #8b5cf6);
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.projects-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.projects-card:hover::before {
  opacity: 0.05;
  transform: scaleY(1);
}

.projects-icon {
  position: relative;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.1),
    rgba(139, 92, 246, 0.1)
  );
  color: #3b82f6;
  transition: all 0.3s ease;
  z-index: 1;
}

.projects-icon::before {
  content: "";
  position: absolute;
  inset: -5px;
  background: linear-gradient(45deg, #3b82f6, #8b5cf6);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  filter: blur(8px);
}

.projects-card:hover .projects-icon {
  background: linear-gradient(45deg, #3b82f6, #8b5cf6);
  color: white;
  transform: rotate(360deg);
}

.projects-card:hover .projects-icon::before {
  opacity: 0.3;
}

.projects-content h3 {
  font-size: 1.4rem;
  color: #1f2937;
  margin-bottom: 1rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.projects-content p {
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.projects-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.projects-tag {
  position: relative;
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.9rem;
  background: rgba(243, 244, 246, 0.8);
  color: #6b7280;
  border: 1px solid rgba(59, 130, 246, 0.1);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
  overflow: hidden;
}

.projects-tag::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  background: linear-gradient(45deg, #3b82f6, #8b5cf6);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.projects-tag:hover {
  color: white;
}

.projects-tag:hover::before {
  opacity: 1;
}

.projects-links {
  position: relative;
  padding-top: 1rem;
  display: flex;
  gap: 1rem;
  z-index: 1;
}

.projects-links::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(59, 130, 246, 0.2),
    transparent
  );
}

.projects-link {
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  color: #6b7280;
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  background: transparent;
}

.projects-link:hover {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
  transform: translateX(5px);
}

@keyframes projects-floatIcon {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes projects-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@keyframes projects-revealCard {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .projects-header h2 {
    font-size: 2rem;
  }

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

  .projects-card {
    padding: 1.5rem;
  }

  .projects-card:hover {
    transform: translateY(-3px);
  }
}

.dev-skills-wrapper * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.dev-skills-wrapper {
  --primary-color: #3b82f6;
  --secondary-color: #8b5cf6;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

  padding: 6rem 2rem;
  background: var(--bg-gradient);
  position: relative;
  overflow: hidden;
  font-family: inherit;
}

/* Isolated background effects */
.dev-skills-wrapper::before,
.dev-skills-wrapper::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  opacity: 0.05;
  filter: blur(100px);
  pointer-events: none;
}

.dev-skills-wrapper::before {
  top: -300px;
  right: -300px;
  animation: devFloatingGlow 20s ease-in-out infinite alternate;
}

.dev-skills-wrapper::after {
  bottom: -300px;
  left: -300px;
  animation: devFloatingGlow 20s ease-in-out infinite alternate-reverse;
}

.dev-skills-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.dev-header-content {
  position: relative;
  z-index: 2;
}

.dev-header-icon {
  display: inline-block;
  font-size: 3rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.dev-header-icon i {
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: devIconFloat 3s ease-in-out infinite;
}

.dev-skills-header h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(
    45deg,
    var(--text-primary),
    var(--text-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dev-header-subtitle {
  color: var(--text-secondary);
  font-size: 1.2rem;
  font-weight: 500;
}

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

.dev-skills-category {
  margin-bottom: 4rem;
}

.dev-category-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--text-primary);
  text-align: center;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.dev-category-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    var(--secondary-color),
    transparent
  );
}

.dev-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}

.dev-skill-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--card-shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dev-skill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.dev-skill-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.dev-skill-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  transition: all 0.4s ease;
}

.dev-skill-info {
  flex: 1;
}

.dev-skill-info h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.dev-skill-bar-wrapper {
  position: relative;
  margin-top: 0.5rem;
}

.dev-skill-bar {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}

.dev-skill-level {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 4px;
  position: relative;
  transform: translateX(-100%);
  animation: devFillBar 1.5s ease-out forwards;
}

.dev-skill-percentage {
  position: absolute;
  right: 0;
  top: -25px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
}

.dev-skill-details {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(107, 114, 128, 0.1);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.dev-skill-card:hover .dev-skill-details {
  opacity: 1;
  transform: translateY(0);
}

.dev-skill-details ul {
  list-style: none;
  padding: 0;
}

.dev-skill-details li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.dev-skill-details li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

@keyframes devFloatingGlow {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(50px, 50px) rotate(180deg);
  }
}

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

@keyframes devFillBar {
  to {
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .dev-skills-wrapper {
    padding: 4rem 1rem;
  }

  .dev-skills-header h2 {
    font-size: 2.2rem;
  }

  .dev-category-title {
    font-size: 1.5rem;
  }

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

  .dev-skill-card {
    padding: 1.5rem;
  }
}

.dev-cert-section {
  --cert-primary: #3b82f6;
  --cert-secondary: #8b5cf6;
  --cert-dark: #1f2937;
  --cert-light: #f3f4f6;

  padding: 6rem 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  position: relative;
  overflow: hidden;
}

.dev-cert-section::before,
.dev-cert-section::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: linear-gradient(
    45deg,
    var(--cert-primary),
    var(--cert-secondary)
  );
  opacity: 0.05;
  filter: blur(100px);
  pointer-events: none;
}

.dev-cert-section::before {
  top: -300px;
  right: -300px;
  animation: certGlow 20s ease-in-out infinite alternate;
}

.dev-cert-section::after {
  bottom: -300px;
  left: -300px;
  animation: certGlow 20s ease-in-out infinite alternate-reverse;
}

.dev-cert-preview {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
}

.dev-cert-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.dev-cert-header-content {
  position: relative;
  display: inline-block;
}

.dev-cert-icon {
  font-size: 3rem;
  color: var(--cert-primary);
  display: block;
  margin-bottom: 1rem;
  animation: certIconFloat 3s ease-in-out infinite;
}

.dev-cert-header h2 {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(
    45deg,
    var(--cert-primary),
    var(--cert-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.dev-cert-header-line {
  width: 100px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--cert-primary),
    var(--cert-secondary)
  );
  margin: 0 auto;
  border-radius: 2px;
}

.dev-cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.dev-cert-card {
  perspective: 1500px;
  height: 300px;
}

.dev-cert-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  cursor: pointer;
}

.dev-cert-card:hover .dev-cert-card-inner {
  transform: rotateY(180deg);
}

.dev-cert-card-front,
.dev-cert-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.dev-cert-card-front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.dev-cert-card-back {
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dev-cert-badge {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    45deg,
    var(--cert-primary),
    var(--cert-secondary)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
  font-size: 2rem;
  animation: certBadgePulse 2s ease-in-out infinite;
}

.dev-cert-card-front h3 {
  font-size: 1.5rem;
  color: var(--cert-dark);
  margin-bottom: 0.5rem;
}

.dev-cert-card-front p {
  color: var(--cert-primary);
  font-weight: 500;
}

.dev-cert-details {
  text-align: center;
}

.dev-cert-details h4 {
  color: var(--cert-primary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.dev-cert-details ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.dev-cert-details li {
  margin-bottom: 0.5rem;
  color: var(--cert-dark);
  position: relative;
  padding-left: 1.5rem;
}

.dev-cert-details li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--cert-primary);
}

.dev-cert-btn {
  background: linear-gradient(
    45deg,
    var(--cert-primary),
    var(--cert-secondary)
  );
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dev-cert-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

@keyframes certGlow {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(50px, 50px) rotate(180deg);
  }
}

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

@keyframes certBadgePulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@media (max-width: 768px) {
  .dev-cert-section {
    padding: 4rem 1rem;
  }

  .dev-cert-header h2 {
    font-size: 2.2rem;
  }

  .dev-cert-grid {
    grid-template-columns: 1fr;
  }

  .dev-cert-card {
    height: 280px;
  }
}

/* Contact Section Styles */
.dev-contact-section {
  --contact-primary: #3b82f6;
  --contact-secondary: #8b5cf6;
  --contact-dark: #1f2937;
  --contact-light: #f3f4f6;
  --contact-error: #ef4444;
  --contact-success: #10b981;

  padding: 6rem 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  position: relative;
  overflow: hidden;
}

.dev-contact-section::before,
.dev-contact-section::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: linear-gradient(
    45deg,
    var(--contact-primary),
    var(--contact-secondary)
  );
  opacity: 0.05;
  filter: blur(100px);
  pointer-events: none;
}

.dev-contact-section::before {
  top: -300px;
  right: -300px;
}

.dev-contact-section::after {
  bottom: -300px;
  left: -300px;
}

.dev-contact-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.dev-contact-icon {
  font-size: 3rem;
  color: var(--contact-primary);
  display: inline-block;
  margin-bottom: 1rem;
  animation: contactIconFloat 3s ease-in-out infinite;
}

.dev-contact-header h2 {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(
    45deg,
    var(--contact-primary),
    var(--contact-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.dev-contact-subtitle {
  color: var(--contact-dark);
  font-size: 1.2rem;
  opacity: 0.8;
}

.dev-contact-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 1rem;
}

.dev-contact-form {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dev-form-group {
  margin-bottom: 2rem;
}

.dev-input-wrapper {
  position: relative;
}

.dev-input-icon {
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--contact-primary);
  transition: all 0.3s ease;
}

.dev-input-wrapper input,
.dev-input-wrapper textarea {
  width: 100%;
  padding: 10px 0;
  padding-left: 30px;
  border: none;
  background: transparent;
  font-size: 1rem;
  color: var(--contact-dark);
  transition: all 0.3s ease;
  outline: none;
}

.dev-input-wrapper textarea {
  resize: vertical;
  min-height: 100px;
}

.dev-input-wrapper label {
  position: absolute;
  left: 30px;
  top: 10px;
  color: #6b7280;
  font-size: 1rem;
  pointer-events: none;
  transition: all 0.3s ease;
}

.dev-input-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #e5e7eb;
}

.dev-input-underline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--contact-primary),
    var(--contact-secondary)
  );
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.dev-input-wrapper input:focus ~ .dev-input-underline::after,
.dev-input-wrapper textarea:focus ~ .dev-input-underline::after {
  transform: scaleX(1);
}

.dev-input-wrapper input:focus ~ label,
.dev-input-wrapper textarea:focus ~ label,
.dev-input-wrapper input:not(:placeholder-shown) ~ label,
.dev-input-wrapper textarea:not(:placeholder-shown) ~ label {
  top: -20px;
  left: 0;
  font-size: 0.875rem;
  color: var(--contact-primary);
}

.dev-submit-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(
    45deg,
    var(--contact-primary),
    var(--contact-secondary)
  );
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  overflow: hidden;
  position: relative;
}

.dev-submit-btn::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: 0.5s;
}

.dev-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.dev-submit-btn:hover::before {
  left: 100%;
}

.dev-btn-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.dev-submit-btn:hover .dev-btn-icon {
  transform: translateX(5px);
}

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

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

  .dev-contact-header h2 {
    font-size: 2.2rem;
  }

  .dev-contact-form {
    padding: 2rem;
  }
}

/* Contact Section Refresh */
.dev-contact-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.4rem;
}

.dev-contact-form {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 24px;
  border: 1px solid rgba(59, 130, 246, 0.16);
  box-shadow: 0 20px 45px rgba(30, 41, 59, 0.12);
  padding: 2.2rem;
}

.dev-contact-form-head {
  margin-bottom: 1.4rem;
}

.dev-contact-form-head h3 {
  color: #111827;
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.dev-contact-form-head p {
  color: #6b7280;
  font-size: 0.98rem;
}

.dev-form-group {
  margin-bottom: 1.25rem;
}

.dev-input-wrapper input,
.dev-input-wrapper textarea {
  background: #f8fbff;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  padding: 0.95rem 0.95rem 0.95rem 2.3rem;
}

.dev-input-wrapper textarea {
  min-height: 130px;
}

.dev-input-wrapper label {
  left: 2.25rem;
  top: 0.95rem;
}

.dev-input-icon {
  left: 0.8rem;
  top: 0.98rem;
  z-index: 1;
}

.dev-input-underline {
  display: none;
}

.dev-input-wrapper input:focus,
.dev-input-wrapper textarea:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16);
}

.dev-input-wrapper input:focus ~ label,
.dev-input-wrapper textarea:focus ~ label,
.dev-input-wrapper input:not(:placeholder-shown) ~ label,
.dev-input-wrapper textarea:not(:placeholder-shown) ~ label {
  top: -0.55rem;
  left: 0.7rem;
  padding: 0 0.3rem;
  border-radius: 6px;
  background: #ffffff;
  font-size: 0.78rem;
  color: var(--contact-primary);
}

.dev-submit-btn {
  border-radius: 14px;
  padding: 0.95rem 1.4rem;
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.28);
}

.dev-contact-info {
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 40%, #312e81 100%);
  color: #e2e8f0;
  border-radius: 24px;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.28);
}

.dev-contact-info h3 {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 0.55rem;
}

.dev-contact-copy {
  color: #cbd5e1;
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.dev-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  background: rgba(148, 163, 184, 0.14);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
}

.dev-info-item i {
  color: #93c5fd;
  font-size: 1.05rem;
}

.dev-info-item p,
.dev-info-item a {
  margin: 0;
  color: #f8fafc;
  text-decoration: none;
}

.dev-contact-quick-links {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 1rem 0 1.2rem;
}

.dev-quick-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  background: rgba(30, 41, 59, 0.45);
  transition: all 0.25s ease;
}

.dev-quick-link:hover {
  color: #ffffff;
  border-color: #93c5fd;
  transform: translateY(-1px);
}

.dev-social-links h4 {
  color: #cbd5e1;
  margin-bottom: 0.7rem;
}

.dev-social-icons {
  display: flex;
  gap: 0.6rem;
}

.dev-social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #e2e8f0;
  text-decoration: none;
  background: rgba(148, 163, 184, 0.15);
  border: 1px solid rgba(148, 163, 184, 0.2);
  transition: all 0.22s ease;
}

.dev-social-icons a:hover {
  color: #ffffff;
  background: rgba(59, 130, 246, 0.28);
  border-color: rgba(147, 197, 253, 0.6);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .dev-contact-container {
    grid-template-columns: 1fr;
  }
}

/* Footer Styles */
.footer {
  position: relative;
  background: #5d72f6;
  color: #fff;
  padding: 80px 50px 40px;
  margin-top: auto;
}

.waves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.wave {
  position: absolute;
  left: 0;
  width: 200%;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 88.7'%3E%3Cpath d='M800 56.9c-155.5 0-204.9-50-405.5-49.9-200 0-250 49.9-394.5 49.9v31.8h800v-.2-31.6z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-position: bottom;
  background-repeat: repeat-x;
  animation: wave 10s linear infinite;
  opacity: 0.1;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 50px;
}

.footer-section h3 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1.3rem;
  border-bottom: 2px solid #fff;
  display: inline-block;
  padding-bottom: 5px;
}

.location-info,
.email-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0;
}

.social-icons {
  display: flex;
  gap: 15px;
  justify-content: flex-start;
}

.social-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  transition: transform 0.3s, background-color 0.3s;
}

.social-icon:hover {
  background: #fff;
  color: #3b82f6;
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

/* Compact Project Cards + Modal */
#projects .projects-card {
  cursor: pointer;
}

#projects .projects-card.project-compact {
  min-height: 280px;
}

#projects .projects-card.project-compact .projects-content p {
  margin-bottom: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#projects .projects-card.project-compact .projects-tags,
#projects .projects-card.project-compact .projects-links {
  display: none;
}

.project-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1.25rem;
}

.project-modal.open {
  display: flex;
}

.project-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(4px);
}

.project-modal-card {
  position: relative;
  width: min(760px, 94vw);
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(59, 130, 246, 0.12);
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.28);
  padding: 1.8rem;
  z-index: 1;
  animation: scaleIn 0.25s ease;
}

.project-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #eef2ff;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.project-modal-close:hover {
  background: #dbeafe;
  transform: rotate(90deg);
}

.project-modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 1.4rem;
}

.project-modal-card h3 {
  font-size: 1.55rem;
  margin-bottom: 0.8rem;
}

.project-modal-card p {
  color: var(--text-light);
  line-height: 1.75;
  white-space: pre-line;
}

.project-modal-tags {
  margin-top: 1rem;
}

.project-modal-links {
  margin-top: 1rem;
  border-top: none;
  padding-top: 0;
}

body.modal-open {
  overflow: hidden;
}

/* Experience Enhancements */
.experience-section {
  position: relative;
  padding: 6rem 1.5rem;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

.experience-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}

.experience-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(59, 130, 246, 0.18);
  border-radius: 18px;
  padding: 1.4rem 1.4rem 1.2rem;
  box-shadow: 0 14px 28px rgba(30, 41, 59, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.experience-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(30, 41, 59, 0.14);
}

.experience-card-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.experience-role-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #fff;
  font-size: 1.15rem;
}

.experience-card h3 {
  font-size: 1.2rem;
  color: #111827;
  line-height: 1.3;
}

.experience-company {
  color: #4b5563;
  font-weight: 500;
  margin-top: 0.2rem;
}

.experience-period {
  background: rgba(59, 130, 246, 0.1);
  color: #1d4ed8;
  border: 1px solid rgba(59, 130, 246, 0.2);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  white-space: nowrap;
}

.experience-points {
  margin: 0 0 1rem 1.1rem;
  color: #475569;
  line-height: 1.65;
  display: grid;
  gap: 0.45rem;
}

.experience-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

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

  .experience-card-top {
    grid-template-columns: auto 1fr;
  }

  .experience-period {
    grid-column: 1 / -1;
    justify-self: start;
  }
}
