:root {
  --primary-color: #6366f1;      /* Indigo */
  --secondary-color: #818cf8;    /* Light Indigo */
  --accent-color: #c4b5fd;       /* Lavender */
  --text-color: #1f2937;         /* Dark Gray */
  --bg-color: #ffffff;           /* White */
  --card-bg: #f3f4f6;           /* Light Gray */
  --gradient-1: linear-gradient(135deg, #6366f1, #818cf8);
  --gradient-2: linear-gradient(45deg, #c4b5fd, #818cf8);
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
  --section-spacing: 6rem;
  --bg-dark: #1f2937;
  --bg-darker: #111827;
  --text-light: #f3f4f6;
  --transition: all 0.3s ease;
}

.dark-mode {
  --primary-color: #818cf8;
  --secondary-color: #6366f1;
  --accent-color: #4f46e5;
  --text-color: #f3f4f6;
  --bg-color: #111827;
  --card-bg: #1f2937;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: var(--transition);
  overflow-x: hidden;
  user-select: none;
}

/* Navigation */
nav {
  position: fixed;
  width: 100%;
  padding: 1rem 2rem;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
}

.dark-mode nav {
  background-color: rgba(17, 24, 39, 0.8);
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  padding: 0.5rem;
  margin-left: 1rem;
}


.nav-content h1 {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}

.nav-links a:hover {
  background: var(--gradient-1);
  color: white;
}

/* Mobile Navigation */
.mobile-menu-btn {
  display: none;
  cursor: pointer;
  z-index: 1000;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: 0.4s;
}
 
 /* Hamburger Animation */
.mobile-menu-btn.active .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-btn.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .bar:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-content {
    padding: 0 1rem;
  }

  .nav-right {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--bg-color);
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    transition: 0.3s ease-in-out;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links a {
    margin: 1rem 0;
    font-size: 1.2rem;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

  .skills-grid,
  .services-container,
  .projects-grid,
  .publications-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .about-image {
    margin: 0 auto;
    max-width: 80%;
    display: flex;
    justify-content: center;
  }

  .about-image img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .nav-content {
    padding: 0 1rem;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

   .about-image {
    max-width: 90%;
  }
}

/* Hero Section */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  scroll-margin-top: 6rem;
  padding: 3rem 2rem; /*changed */
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-text {
  z-index: 2;
}

.greeting {
  display: inline-block;
  background: var(--gradient-2);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  transform: translateY(0);
  animation: float 3s ease-in-out infinite;
}

.hero-text h2 {
  font-size: 2rem;
  font-weight: 500;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.typed-wrapper {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.primary-btn, .secondary-btn {
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.primary-btn {
  background: var(--gradient-1);
  color: white;
  box-shadow: var(--shadow-md);
}

.primary-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: 0.5s;
}

.primary-btn:hover::after {
  transform: translateX(100%);
}

.secondary-btn {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.secondary-btn:hover {
  background: var(--gradient-1);
  color: white;
  border-color: transparent;
}

.hero-social {
  display: flex;
  gap: 1.5rem;
}

.social-icon:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
  opacity: 1;
}

.social-icon {
	font-size: 2rem;
	color: var(--text-color);
	opacity: 0.8;
	transition: 0.3s ease;
}

.hero-image {
  position: relative;
  z-index: 2;
}

.image-container {
  position: relative;
  width: 450px;
  height: 380px;
  margin: 0 auto;
}

.image-container::before {
  content: '';
  position: absolute;
  inset: -10px;
  background: var(--gradient-2);
  filter: blur(25px);
  opacity: 0.3;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
  transition: clip-path 0.5s ease;
}

.image-container:hover img {
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 100% 100%, 100% 100%, 0% 100%, 0% 100%, 0% 0%);
}

/* About Section */
#about {
  padding: var(--section-spacing) 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.about-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.about-image::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--accent-color)
  );
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0.15;
  animation: rotateGradient 8s linear infinite;
}

.about-shape {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px solid var(--primary-color);
  border-radius: 20px;
  animation: borderMove 3s ease-in-out infinite;
}

@keyframes rotateGradient {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes borderMove {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-content {
  padding: 2rem;
}

.about-content h2 {
  font-size: 2.5rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: var(--card-bg);
  border-radius: 1rem;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  background: rgba(var(--primary-rgb), 0.1);
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  display: inline-block;
}

.stat-text {
  color: var(--text-color);
  font-size: 0.9rem;
  opacity: 0.9;
}

.about-buttons {
  display: flex;
  justify-content: flex-start;
  margin-top: 3rem;
}

.download-cv {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: var(--gradient-1);
  border: none;
  border-radius: 30px;
  color: white;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.download-cv::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-2);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.download-cv:hover::before {
  opacity: 1;
}

.download-cv .button-text,
.download-cv .button-icon {
  position: relative;
  z-index: 1;
}

.download-cv .button-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.download-cv:hover .button-icon {
  transform: translateY(3px);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  border-radius: 50%;
  color: var(--primary-color);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--gradient-1);
  color: white;
  transform: translateY(-3px);
}

@media (max-width: 480px) {
  .about-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .download-cv {
    width: 100%;
    justify-content: center;
  }
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin: 2rem auto;
  max-width: 1200px;
  padding: 0 2rem;
}

.project-card {
  background: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}
.project-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  width: 45px;
  height: 45px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.project-card:hover .project-link {
  transform: translateY(0);
  opacity: 1;
}

.project-link:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.project-content p {
  color: var(--text-color);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.project-tags span {
  background: var(--bg-color);
  color: var(--primary-color);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
}



/* Section Headings */
#projects h2,
#blogs h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  padding-bottom: 1rem;
}

#projects h2::after,
#blogs h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0px;
  height: 4px;
  background: var(--gradient-1);
  border-radius: 2px;
}

/* Services Section */
#services {
  padding: var(--section-spacing) 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

#services h2 {
  text-align: center;
  font-size: 2.5rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 3rem;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-md);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-2);
  border-radius: 50%;
}

.service-icon i {
  font-size: 1.5rem;
  color: white;
}

.service-card h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-color);
  line-height: 1.6;
  opacity: 0.9;
}

/* Blogs Section */
.blogs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin: 2rem auto;
  max-width: 1200px;
  padding: 0 2rem;
}

.blog-card {
  background: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  gap: 1.5rem;
  color: var(--text-color);
  opacity: 0.8;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.blog-content p {
  color: var(--text-color);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.read-more {
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  transition: gap 0.3s ease;
}

.read-more:hover {
  gap: 1rem;
}

.read-more i {
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(5px);
}

.section-button {
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.view-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--gradient-1);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.view-more:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.view-more i {
  transition: transform 0.3s ease;
}

.view-more:hover i {
  transform: translateX(5px);
}


/* Contact Section */
#contact {
  padding: var(--section-spacing) 2rem;
}

#contact h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  padding-bottom: 1rem;
}

#contact h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0px;
  height: 4px;
  background: var(--gradient-1);
  border-radius: 2px;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

.contact-info-grid {
  display: grid;
  gap: 2rem;
}

.contact-item {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
}

.contact-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon i {
  font-size: 1.5rem;
  color: white;
}

.contact-item h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.contact-link {
  color: var(--primary-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.contact-link:hover {
  gap: 1rem;
  color: var(--accent-color);
}

.contact-form {
  background: var(--card-bg);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.form-header p {
  color: var(--text-color);
  opacity: 0.9;
}

.input-container {
  position: relative;
  margin-bottom: 1.5rem;
}

.input-container i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-color);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.input-container textarea ~ i {
  top: 1.2rem;
  transform: none;
}

.input-container input,
.input-container textarea {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  background: var(--bg-color);
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text-color);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.input-container textarea {
  height: 150px;
  resize: none;
  padding-top: 1rem;
}

.input-container input:focus,
.input-container textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: var(--card-bg);
}

.input-container input:focus + i,
.input-container textarea:focus + i {
  color: var(--primary-color);
}

.submit-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--gradient-1);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.submit-btn .button-icon {
  transition: transform 0.3s ease;
}

.submit-btn:hover .button-icon {
  transform: translateX(5px);
}

@media (max-width: 968px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .contact-info-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 2rem;
  }
}



/* Footer Styles */
footer {
  background: var(--card-bg);
  padding: 4rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.footer-section h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0px;
  height: 3px;
  background: var(--gradient-1);
  border-radius: 2px;
}

.footer-section p {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-color);
  color: var(--text-color);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-link:hover::before {
  opacity: 1;
}

.social-link i {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.social-link:hover i {
  transform: scale(1.2);
  color: white;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.footer-nav a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  padding-left: 1.2rem;
  background: var(--card-bg);
}

.footer-nav a::before {
  content: '→';
  position: absolute;
  left: 0;
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition);
}

.footer-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.3s ease;
}

.footer-nav a:hover {
  color: var(--primary-color);
  padding-left: 1.5rem;
}

.footer-nav a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-nav a:hover::after {
  width: 100%;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-nav-list li {
  margin-bottom: 0.5rem;
  list-style-type: none;
}

.footer-nav-list a {
  list-style-type: none;
  padding: 0;
  margin: 0;
  color: var(--text-color);
  font-size: 1rem;
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-nav-list a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-nav {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-nav a {
    margin: 0 auto;
    justify-content: center;
  }
  
  .footer-nav a::before {
    left: 0;
    top: auto;
    bottom: -2px;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
  }
  
  .footer-nav a:hover {
    padding-left: 2rem;
  }
  
  .footer-nav a:hover::before {
    transform: scaleX(1);
  }
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  position: relative;
}

.footer-bottom p {
  color: var(--text-color);
  opacity: 0.8;
  font-size: 0.9rem;
  text-align: center;
  margin: 0 auto;
}

.footer-shape {
  position: absolute;
  top: -150%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    var(--primary-color) 0%,
    var(--accent-color) 100%
  );
  opacity: 0.03;
  transform: translate(-50%, 0) rotate(30deg);
  pointer-events: none;
  z-index: 0;
}
