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

:root {
  --primary-color: #1e3a8a;
  --secondary-color: #3b82f6;
  --accent-color: #10b981;
  --accent-color-hover: #0d9668;
  --background-color: #f3f4f6;
  --text-color: #1f2937;
  --white: #ffffff;
  --gradient-start: #1e3a8a;
  --gradient-end: #3b82f6;
  --gradient-accent: linear-gradient(135deg, #10b981, #3b82f6);
  --font-heading: "Playfair Display", serif;
  --font-body: "Poppins", sans-serif;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --box-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  overflow-x: hidden;
  font-size: 16px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  position: relative;
  z-index: 2;
}

/* Decorative elements */
.bg-shape {
  position: absolute;
  z-index: 0;
  opacity: 0.05;
  pointer-events: none;
  will-change: transform;
  transform: translateZ(0);
}

.bg-shape-1 {
  top: 10%;
  left: 5%;
  width: 300px;
  height: 300px;
  background-color: var(--primary-color);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: float 8s ease-in-out infinite;
}

.bg-shape-2 {
  bottom: 10%;
  right: 5%;
  width: 250px;
  height: 250px;
  background-color: var(--accent-color);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* Header styles */
.sticky-header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 8px;
  transition: var(--transition);
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.logo::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-accent);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.logo:hover::after {
  transform: translateX(0);
}

.nav-links {
  display: flex;
}

.nav-item {
  margin-left: 1.5rem;
  color: var(--text-color);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.nav-item:hover,
.nav-item.active {
  color: var(--accent-color);
}

.nav-item::before {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: var(--gradient-accent);
  bottom: 0;
  left: 50%;
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-item:hover::before,
.nav-item.active::before {
  width: 100%;
  left: 0;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* Hero section styles */
.hero {
  padding: 0;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: var(--white);
  position: relative;
  overflow: hidden;
  height: 100vh;
  display: flex;
  align-items: center;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  will-change: transform;
  transform: translateZ(0);
}

/* Remove mouse-follow elements */
.mouse-follow,
.mouse-follow::before,
.mouse-follow::after {
  display: none;
}

/* Creative Card Styles */
.hero-image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  will-change: transform;
  transform: translateZ(0);
}

.creative-card-container {
  position: relative;
  width: 320px;
  height: 450px;
  animation: sway 8s ease-in-out infinite;
  transform-origin: top center;
}

/* Add rope/lanyard styling */
.card-rope {
  position: absolute;
  top: -80px;
  left: 50%;
  width: 6px;
  height: 80px;
  background: linear-gradient(to right, #0b20d4, #05fcea);
   transform: translateX(-50%);
  z-index: 1;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.card-rope::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 15px;
  background: #333;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.creative-card {
  width: 100%;
  height: 100%;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  animation: cardFloat 6s ease-in-out infinite;
}

.creative-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, 
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.1)
  );
  border-radius: inherit;
  z-index: -1;
  animation: borderGlow 3s ease-in-out infinite;
}

@keyframes sway {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(3deg);
  }
  75% {
    transform: rotate(-3deg);
  }
}

.card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  position: relative;
  z-index: 2;
}

.card-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  z-index: 1;
  background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 10%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.3) 0%, transparent 10%),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.3) 0%, transparent 10%),
    radial-gradient(circle at 60% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 10%);
}

.card-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.card-logo {
  display: flex;
  align-items: center;
}

.card-logo i {
  font-size: 24px;
  margin-right: 10px;
  color: var(--accent-color);
}

.card-logo-text {
  font-size: 18px;
  font-weight: 600;
  background: linear-gradient(to right, #fff, #a3e0ff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.card-photo {
  width: 120px;
  height: 120px;
  border-radius: 25%;
  overflow: hidden;
  border: 5px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto 20px;
  position: relative;
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-details {
  width: 100%;
  text-align: center;
}

.card-name {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.card-title {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  font-weight: 300;
  letter-spacing: 1px;
}

.card-info {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 20px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.info-label {
  color: rgba(255, 255, 255, 0.6);
}

.card-skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
}

.skill-tag {
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 12px;
  color: #fff;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.typing-effect {
  font-size: 3rem;
  margin-bottom: 1rem;
  white-space: nowrap;
  overflow: hidden;
  animation: typing 3.5s steps(30, end), blink-caret .5s step-end;
  font-family: var(--font-heading);
  background: linear-gradient(to right, #ecfeff, #1bbb98);  
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeIn 1s ease-out 1s forwards;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: var(--accent-color);
  }
}

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

.button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  margin-right: 1rem;
  margin-top: 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  will-change: transform, background-color;
}

.button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: width 0.3s ease;
  z-index: -1;
}

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

.primary {
  background-color: var(--accent-color);
  color: var(--white);
  box-shadow: 0 4px 6px rgba(16, 185, 129, 0.2);
}

.primary:hover {
  background-color: var(--accent-color-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(16, 185, 129, 0.3);
}

.secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.secondary:hover {
  background-color: var(--white);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(255, 255, 255, 0.2);
}

/* Mobile alternative for creative card */
.mobile-hero-content {
  display: none;
  text-align: center;
  margin-top: 2rem;
}

.mobile-dev-title {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}

.mobile-dev-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem;
}

.mobile-tag {
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 12px;
  color: #fff;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* About section styles */
.about {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  will-change: transform;
  transform: translateZ(0);
}

.about-content {
  position: relative;
}

.about-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}



.about-text {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.highlight-item i {
  color: var(--accent-color);
}

.about-image-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.about-image-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  overflow: hidden;
  transition: all 0.5s ease;
}

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

.about-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.about-image-text {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  font-family: "Courier New", Courier, monospace;
}

.about-image-container:hover .about-image-wrapper {
  clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 75% 100%, 0% 100%);
}

.about-image-container:hover .about-image {
  transform: scale(1.1);
}

.about-image-container:hover .about-image-overlay {
  opacity: 1;
}

.about-image-container:hover .about-image-text {
  opacity: 1;
  transform: translate(-50%, -20px);
}

@media (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr;
  }

  .about-image-container {
    height: 300px;
    margin-top: 2rem;
  }
}
/* Section styles */
section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  font-family: var(--font-heading);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}


/* Skills section styles */
.skills {
  background-color: var(--white);
}

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

.skill-item {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  animation: fadeIn 0.6s ease-out forwards;
  opacity: 0;
}

.skill-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to bottom, rgba(16, 185, 129, 0.05), transparent);
  transition: height 0.3s ease;
  z-index: -1;
}

.skill-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.skill-item:hover::before {
  height: 100%;
}

.skill-item i {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.skill-item:hover i {
  transform: scale(1.1);
}

.skill-item h3 {
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.2rem;
}

/* Projects section styles */
.projects {
  background-color: var(--background-color);
  padding: 6rem 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
  will-change: transform;
  transform: translateZ(0);
}

.project-item {
  background-color: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  height: 400px;
  will-change: transform;
  transform: translateZ(0);
}

.project-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.project-image {
  height: 220px;
  overflow: hidden;
}

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

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

.project-info {
  padding: 1.5rem;
  background-color: var(--white);
}

.project-info h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.project-info p {
  color: var(--text-color);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Project buttons */
.project-buttons {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 1.2rem;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.project-item:hover .project-buttons {
  transform: translateY(0);
}

.project-button {
  padding: 0.7rem 1.2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
  text-align: center;
  flex: 1;
  margin: 0 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform, background-color;
}

.project-button i {
  margin-right: 0.5rem;
}

.try-now {
  background-color: var(--accent-color);
  color: var(--white);
  box-shadow: 0 4px 6px rgba(16, 185, 129, 0.2);
}

.try-now:hover {
  background-color: var(--accent-color-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(16, 185, 129, 0.3);
}

.more-info {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.more-info:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(30, 58, 138, 0.2);
}

/* Modal styles for project details */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1001;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  will-change: opacity;
  transform: translateZ(0);
}

.modal-content {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: 15px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-color);
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background-color: rgba(0, 0, 0, 0.05);
  transform: rotate(90deg);
}

.modal-title {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  position: relative;
  padding-bottom: 0.8rem;
}

.modal-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.modal-description {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal.active .modal-content {
  transform: translateY(0);
}

/* Contact form styles */
.contact {
  background-color: var(--white);
  position: relative;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contact-info {
  padding: 2rem;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  font-family: var(--font-heading);
}

.contact-details {
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-detail i {
  font-size: 1.2rem;
  color: var(--accent-color);
  margin-right: 1rem;
  width: 40px;
  height: 40px;
  background-color: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.contact-form:hover {
  box-shadow: var(--box-shadow-hover);
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: var(--transition);
  font-size: 1rem;
  background-color: #f9f9f9;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
  background-color: var(--white);
}

.contact-form .button {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form .button i {
  margin-right: 0.5rem;
}

/* Footer styles */
footer {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: var(--white);
  padding: 3rem 0 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.footer-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-nav {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
}

.footer-nav-item {
  color: var(--white);
  text-decoration: none;
  margin: 0 1rem;
  transition: var(--transition);
}

.footer-nav-item:hover {
  color: rgba(255, 255, 255, 0.8);
}

.social-links {
  margin: 1.5rem 0;
}

.social-link {
  color: var(--white);
  font-size: 1.5rem;
  margin: 0 0.8rem;
  transition: var(--transition);
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-link:hover {
  color: var(--accent-color);
  background-color: var(--white);
  transform: translateY(-5px);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-shape {
  position: absolute;
  opacity: 0.1;
  pointer-events: none;
}

.footer-shape-1 {
  top: 20%;
  left: 5%;
  width: 200px;
  height: 200px;
  background-color: var(--white);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: float 8s ease-in-out infinite;
}

.footer-shape-2 {
  bottom: 20%;
  right: 5%;
  width: 150px;
  height: 150px;
  background-color: var(--white);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: float 8s ease-in-out infinite reverse;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .hero-container {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .hero-content {
    padding-right: 0;
    margin-bottom: 2rem;
  }

  .creative-card-container {
    display: none;
  }

  .mobile-hero-content {
    display: block;
  }

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

  .about-image {
    order: -1;
    margin-bottom: 2rem;
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-item {
    margin: 0;
    padding: 1rem;
    border-top: 1px solid #e0e0e0;
  }

  .menu-toggle {
    display: block;
  }

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

  .typing-effect {
    margin-top: 3rem;
    font-size: 2.5rem;
  }

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

  .skill-item {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .typing-effect {
    font-size: 2rem;
  }

  .project-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }

  .project-button {
    margin: 0.25rem 0;
  }
}

.developer {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  font-family: "Courier New", monospace;
  color: var(--white);
  text-align: center;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
  max-width: 400px;
  width: 100%;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.developer:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.dev-head,
.dev-body {
  margin-bottom: 1.5rem;
}

.dev-mind,
.dev-eyes,
.dev-heart,
.dev-hands {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  position: relative;
  display: inline-block;
}

.tag {
  color: #f9ff00;
  opacity: 1.7;
  font-size: 0.9em;
  transition: opacity 0.3sease;
}

.developer:hover .tag {
  opacity: 1;
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.highlight-item i {
  color: var(--accent-color);
}

.project-button i,
.contact-detail i,
.social-link i {
  margin-right: 0.5rem;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* Skills Section */
.skills {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

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

.skill-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
}

.skill-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.skill-item h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: 0;
}

/* Projects Section */
.projects {
    padding: 5rem 0;
    background: var(--bg-primary);
}

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

.project-item {
    background: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
}

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

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

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

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.project-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

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

.project-button {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.project-button.more-info {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.project-button.try-now {
    background: var(--accent-color);
    color: white;
}

/* Experience Section */
.experience {
    padding: 5rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.experience-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 80px;
}

.timeline-track {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, 
        var(--accent-color) 0%,
        var(--accent-color-secondary) 50%,
        var(--accent-color) 100%);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--bg-color);
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-dot.current {
    background: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(var(--accent-color-rgb), 0.2);
}

.timeline-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.dot-content {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-color);
    padding: 8px 12px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.timeline-dot:hover .dot-content {
    opacity: 1;
    visibility: visible;
    left: 35px;
}

.dot-content .year {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 2px;
}

.dot-content .status {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.timeline-dot:nth-child(2) { top: 0; }
.timeline-dot:nth-child(3) { top: 50%; }
.timeline-dot:nth-child(4) { bottom: 0; }

.experience-grid {
    display: grid;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.experience-card {
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(var(--accent-color-rgb), 0.2);
}

.experience-card.current {
    border-left: 4px solid var(--accent-color);
}

.experience-header {
    padding: 1.5rem;
    background: var(--bg-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.experience-title h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.experience-title .company {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 500;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.experience-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.experience-meta .date {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    background: rgba(var(--accent-color-rgb), 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

.experience-meta .location {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.experience-meta .location i {
    color: var(--accent-color);
    font-size: 0.8rem;
}

.experience-content {
    padding: 1.5rem;
}

.role-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.achievements h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.achievements h4::before {
    content: '';
    width: 4px;
    height: 16px;
    background: var(--accent-color);
    border-radius: 2px;
}

.achievements ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.achievements li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    padding-left: 1.5rem;
    position: relative;
}

.achievements li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Responsive Design for Experience Section */
@media (max-width: 768px) {
    .experience-container {
        padding-left: 50px;
    }

    .timeline-dot {
        width: 16px;
        height: 16px;
    }

    .dot-content {
        display: none;
    }

    .experience-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .experience-meta {
        align-items: flex-start;
    }

    .experience-title h3 {
        font-size: 1.2rem;
    }

    .experience-title .company {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .experience-container {
        padding-left: 40px;
    }

    .experience-card {
        border-radius: 8px;
    }

    .experience-header,
    .experience-content {
        padding: 1.25rem;
    }

    .role-description {
        font-size: 0.95rem;
    }

    .achievements li {
        font-size: 0.9rem;
    }
}

/* Optimize animations for reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Add subtle glow effect to the card */
.creative-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.creative-card:hover::after {
  opacity: 1;
}


