@import url("https://fonts.googleapis.com/css?family=DM+Sans:400,500|Jost:400,500,600&display=swap");

* {
  box-sizing: border-box;
}

body {
  color: #2b2c48;
  font-family: "Jost", sans-serif;
  background-image: url(https://cirruscdn.com/upload/HyjCqxXGB3l8MVU7OmchTWwPe);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  margin: 0;
  overflow: hidden;
}

.card {
  max-width: 340px;
  margin: auto;
  overflow: hidden;
  position: relative;
  z-index: 1;
  background-color: white;
  display: flex;
  transition: 0.3s;
  flex-direction: column;
  border-radius: 10px;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.2);
  max-height: 100vh;
}

.card[data-state="#about"] {
  height: 520px;
  max-height: calc(100vh - 40px);
}

.card[data-state="#about"] .card-main {
  padding-top: 0;
  overflow-y: hidden;
}

.card[data-state="#contact"] {
  height: 480px;
  max-height: calc(100vh - 40px);
}

.card[data-state="#projects"],
.card[data-state="#profile"] {
  height: 800px;
  max-height: calc(100vh - 40px);
  max-width: 1400px !important;
  /* Force wider container for projects and profile */
}

.card.is-wide {
  max-width: 1100px;
}

@media screen and (min-width: 420px) {
  .card.is-wide {
    width: 100%;
    max-width: 1100px;
  }
}

.card.is-active .card-header {
  height: 80px;
}

.card.is-active .card-cover {
  height: 100px;
  top: -50px;
}

.card.is-active .card-avatar {
  transform: none;
  left: 20px;
  width: 50px;
  height: 50px;
  bottom: 10px;
}

.card.is-active .card-fullname,
.card.is-active .card-jobtitle {
  left: 86px;
  transform: none;
}

.card.is-active .card-fullname {
  bottom: 18px;
  font-size: 19px;
}

.card.is-active .card-jobtitle {
  bottom: 16px;
  letter-spacing: 1px;
  font-size: 10px;
}

.card-header {
  position: relative;
  display: flex;
  height: 200px;
  flex-shrink: 0;
  width: 100%;
  transition: 0.3s;
}

.card-header * {
  transition: 0.3s;
}

.card-cover {
  width: 100%;
  height: 100%;
  position: absolute;
  height: 160px;
  top: -20%;
  left: 0;
  will-change: top;
  background-size: cover;
  background-position: center;
  filter: blur(30px);
  transform: scale(1.2);
  transition: 0.5s;
}

.card-avatar {
  width: 100px;
  height: 100px;
  box-shadow: 0 8px 8px rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  -o-object-position: center;
  object-position: center;
  -o-object-fit: cover;
  object-fit: cover;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-64px);
}

.card-fullname {
  position: absolute;
  bottom: 0;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  transform: translateY(-10px) translateX(-50%);
  left: 50%;
}

.card-jobtitle {
  position: absolute;
  bottom: 0;
  font-size: 11px;
  white-space: nowrap;
  font-weight: 500;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-7px);
}

.card-main {
  position: relative;
  flex: 1;
  display: flex;
  padding-top: 10px;
  flex-direction: column;
  overflow-y: auto;
  height: calc(100% - 200px);
  padding-bottom: 53px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.card-main::-webkit-scrollbar {
  width: 6px;
}

.card-main::-webkit-scrollbar-track {
  background: transparent;
}

.card-main::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 20px;
}

.card-subtitle {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 8px;
  margin-left: 10px;
}

.card-content {
  padding: 20px 0px;
  padding-bottom: 20px;
}

.card-desc {
  line-height: 1.6;
  color: #636b6f;
  font-size: 14px;
  margin: 0 10px 12px 10px;
  font-weight: 400;
  font-family: "DM Sans", sans-serif;
}

.card-contact-wrapper {
  margin-top: 20px;
  padding-left: 10px;
}

.card-contact {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #6f6f7b;
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
  cursor: pointer;
  padding: 6px 0;
  border-top: none;
  margin-top: 8px;
  margin-bottom: 0;
  margin-left: 15px;
}

.card-contact a {
  color: inherit;
  text-decoration: none;
}

.card-contact a:hover {
  color: #637faa;
}

.card-contact+.card-contact {
  margin-top: 16px;
}

.card-contact svg {
  flex-shrink: 0;
  width: 30px;
  min-height: 34px;
  margin-right: 12px;
  transition: 0.3s;
  padding-right: 12px;
  border-right: 1px solid #dfe2ec;
}

.card-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 0;
  margin-top: 5px;
  margin-bottom: 20px;
  border-top: none;
  padding-top: 0;
  padding-left: 15px;
}

.card-social a {
  color: #8797a1;
  height: 32px;
  width: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  background-color: rgba(93, 133, 193, 0.05);
  border-radius: 50%;
  margin-right: 10px;
  margin-bottom: 10px;
}

.card-social svg {
  fill: #a5b5ce;
  width: 16px;
  display: block;
  transition: 0.3s;
}

.card-social a:hover svg {
  fill: #637faa;
}

.card-social a:last-child {
  margin-right: 0;
}

.card-buttons {
  display: flex;
  background-color: #fff;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.card-buttons button {
  flex: 1 1 auto;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background: 0;
  font-size: 13px;
  border: 0;
  padding: 15px 5px;
  cursor: pointer;
  color: #5c5c6d;
  transition: 0.3s;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  outline: 0;
  border-bottom: 3px solid transparent;
  text-decoration: none;
  pointer-events: auto;
}

.card-buttons button.is-active,
.card-buttons button:hover {
  color: #2b2c48;
  border-bottom: 3px solid #8a84ff;
  background: linear-gradient(to bottom, rgba(127, 199, 231, 0) 0%, rgba(207, 204, 255, 0.2) 44%, rgba(211, 226, 255, 0.4) 100%);
}

.card-section {
  display: none;
  padding-bottom: 50px;
}

.card-section.is-active {
  display: block;
  -webkit-animation: fadeIn 0.6s both;
  animation: fadeIn 0.6s both;
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translatey(40px);
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translatey(40px);
  }

  100% {
    opacity: 1;
  }
}

.card-timeline {
  margin-top: 30px;
  position: relative;
}

.card-timeline:after {
  background: linear-gradient(to top, rgba(134, 214, 243, 0) 0%, #516acc 100%);
  content: "";
  left: 42px;
  width: 2px;
  top: 0;
  height: 100%;
  position: absolute;
  content: "";
}

.card-item {
  position: relative;
  padding-left: 60px;
  padding-right: 20px;
  padding-bottom: 30px;
  z-index: 1;
}

.card-item:last-child {
  padding-bottom: 5px;
}

.card-item:after {
  content: attr(data-year);
  width: 10px;
  position: absolute;
  top: 0;
  left: 37px;
  width: 8px;
  height: 8px;
  line-height: 0.6;
  border: 2px solid #fff;
  font-size: 11px;
  text-indent: -35px;
  border-radius: 50%;
  color: rgba(134, 134, 134, 0.7);
  background: linear-gradient(to bottom, #a0aee3 0%, #516acc 100%);
}

.card-item-title {
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 5px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 40px;
  padding: 40px;
}

.project-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(81, 106, 204, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(81, 106, 204, 0.2);
  border-color: rgba(255, 255, 255, 0.9);
}

.project-header {
  height: 80px;
  width: 100%;
  position: relative;
}

.project-info {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: transparent;
  gap: 12px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #2b2c48;
  margin-bottom: 20px;
  text-align: center;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #2b2c48 0%, #516acc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.project-title {
  font-size: 24px;
  font-weight: 700;
  color: #2b2c48;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #2b2c48 0%, #516acc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.project-desc {
  font-size: 16px;
  color: #5c5c6d;
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
  font-weight: 400;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.project-tag {
  font-size: 12px;
  font-weight: 600;
  color: #516acc;
  background-color: rgba(81, 106, 204, 0.08);
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(81, 106, 204, 0.15);
  transition: all 0.3s ease;
}

.project-tag:hover {
  background-color: rgba(81, 106, 204, 0.15);
  transform: translateY(-1px);
}

.project-links {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.project-link-icon {
  color: #8797a1;
  transition: color 0.3s;
}

.project-link-icon:hover {
  color: #516acc;
}

.card-contact-wrapper {
  margin-top: 20px;
}

.contact-me {
  border: 0;
  outline: none;
  background: linear-gradient(to right, rgba(83, 200, 239, 0.8) 0%, rgba(81, 106, 204, 0.8) 96%);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  color: #fff;
  padding: 12px 16px;
  width: 100%;
  border-radius: 5px;
  margin-top: 25px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  font-family: "Jost", sans-serif;
  transition: 0.3s;
}

.site-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  margin-bottom: 0;
  border-radius: 6px;
  color: white;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  font-family: "Jost", sans-serif;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.12);
  margin-left: auto;
}

.site-button svg {
  margin-right: 10px;
}

.site-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.15);
}

.instagram-button {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.github-button {
  background-color: #24292e;
}

.linkedin-button {
  background-color: #0077B5;
}

.signal-button {
  background-color: #3a76f0;
}

.website-button {
  background-color: #27ae60;
}

.card-biolinks-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
  width: 100%;
  padding: 0 15px;
}

.biolink-button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 20px 24px;
  border-radius: 16px;
  color: #2b2c48;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  font-family: "Jost", sans-serif;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(81, 106, 204, 0.1);
  width: 100%;
  margin: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
}

.biolink-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(81, 106, 204, 0.2);
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.95);
}



.card-social a img,
.card-contact img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.biolink-button img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  margin-right: 16px;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.card-contact img {
  margin-right: 12px;
  padding-right: 12px;
  border-right: 1px solid #dfe2ec;
}

/* Profile Section Styles */
.profile-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  height: 100%;
}

.profile-header h1 {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: #2b2c48;
}

.wave {
  display: inline-block;
  animation: wave-animation 2.5s infinite;
  transform-origin: 70% 70%;
}

@keyframes wave-animation {
  0% {
    transform: rotate(0.0deg)
  }

  10% {
    transform: rotate(14.0deg)
  }

  20% {
    transform: rotate(-8.0deg)
  }

  30% {
    transform: rotate(14.0deg)
  }

  40% {
    transform: rotate(-4.0deg)
  }

  50% {
    transform: rotate(10.0deg)
  }

  60% {
    transform: rotate(0.0deg)
  }

  100% {
    transform: rotate(0.0deg)
  }
}

.profile-subtitle {
  font-size: 18px;
  color: #5c5c6d;
  margin: 0;
}

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

.stat-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(81, 106, 204, 0.1);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.8);
}

.stat-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: #2b2c48;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: #6f6f7b;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.profile-about ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-about li {
  font-size: 16px;
  color: #2b2c48;
  line-height: 1.6;
}

.profile-about a {
  color: #516acc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}



/* GitHub Contribution Chart Styles */
#github-contribution-chart {
  width: 100%;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(81, 106, 204, 0.1);
  margin-top: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gh-chart-header {
  margin-bottom: 20px;
  width: 100%;
  text-align: center;
}

.gh-chart-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: #2b2c48;
}

.gh-chart-scroll-container {
  overflow-x: auto;
  padding-bottom: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.gh-chart {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: max-content;
}

/* Increased size for chart elements */
.gh-month-row {
  display: grid;
  grid-template-columns: 40px repeat(53, 14px);
  /* Increased from 30px/10px to 40px/14px */
  gap: 4px;
  /* Increased gap */
  margin-bottom: 8px;
}

.gh-month-label {
  font-size: 12px;
  /* Increased font size */
  color: #5c5c6d;
  grid-row: 1;
}

.gh-grid {
  display: grid;
  grid-template-columns: 40px repeat(53, 14px);
  grid-template-rows: repeat(7, 14px);
  gap: 4px;
}

.gh-day-labels {
  display: grid;
  grid-template-rows: repeat(7, 14px);
  gap: 4px;
  grid-column: 1;
  grid-row: 1 / span 7;
  padding-right: 8px;
}

.gh-day-label {
  font-size: 12px;
  color: #5c5c6d;
  line-height: 14px;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.gh-week {
  display: grid;
  grid-template-rows: repeat(7, 14px);
  gap: 4px;
}

.gh-day {
  width: 14px;
  /* Increased size */
  height: 14px;
  border-radius: 3px;
  background-color: #ebedf0;
  position: relative;
  transition: transform 0.1s ease;
}

.gh-day:hover {
  transform: scale(1.3);
  z-index: 10;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.gh-day[data-level="0"] {
  background-color: #ebedf0;
}

.gh-day[data-level="1"] {
  background-color: #9be9a8;
}

.gh-day[data-level="2"] {
  background-color: #40c463;
}

.gh-day[data-level="3"] {
  background-color: #30a14e;
}

.gh-day[data-level="4"] {
  background-color: #216e39;
}

.gh-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #24292e;
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 100;
  margin-bottom: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.gh-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #24292e transparent transparent transparent;
}

.gh-day:hover .gh-tooltip {
  opacity: 1;
}

.gh-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 15px;
  font-size: 12px;
  color: #5c5c6d;
  gap: 8px;
  padding-left: 40px;
  /* Align with grid */
  width: 100%;
}

.gh-legend {
  display: flex;
  gap: 4px;
}


/* GitHub Graph Section */
.github-graph-section {
  margin-top: 20px;
  width: 100%;
}

.github-graph-section h3 {
  font-size: 20px;
  font-weight: 600;
  color: #2b2c48;
  margin-bottom: 15px;
  text-align: center;
}

.github-graph-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.github-graph-container img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Tech Stack Section */
.tech-stack-section {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.tech-category {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

@media (max-width: 1200px) {
  .tech-stack-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .tech-stack-section {
    grid-template-columns: 1fr;
  }

  /* Mobile Projects Fixes */
  .projects-grid {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }

  /* Profile Footer Mobile Fixes */
  .profile-footer {
    flex-direction: column;
    gap: 25px;
    align-items: stretch;
  }

  .footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-social h3 {
    margin-bottom: 15px;
  }

  .footer-social .card-social {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 20px;
    justify-content: center;
    margin-left: 0; /* Reset default margin */
    padding-left: 0; /* Reset default padding */
  }

  /* GitHub Chart Mobile Fixes */
  #github-contribution-chart {
    padding: 15px;
    border-radius: 12px;
  }
  
  .gh-chart-scroll-container {
    margin: 0 -15px; /* Negative margin to allow edge-to-edge scrolling */
    padding: 0 15px 15px 15px;
    width: calc(100% + 30px);
  }

  .profile-content {
    padding: 20px;
  }

  /* Reduce project card padding on mobile */
  .project-info {
    padding: 20px;
  }
}

.tech-category h3 {
  font-size: 16px;
  font-weight: 600;
  color: #2b2c48;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 10px;
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.tech-grid i {
  font-size: 40px;
  transition: all 0.3s ease;
  padding: 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  color: #2b2c48;
  /* Dark color for light mode */
}

.tech-grid i:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  color: #516acc;
  /* Accent color on hover */
  background: white;
}

/* Profile Header Centering */
.profile-header {
  text-align: center;
  margin-bottom: 30px;
}

.profile-header h1 {
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 10px;
}

.coming-soon-card {
  opacity: 0.8;
  filter: grayscale(0.2);
}

.coming-soon-card:hover {
  opacity: 1;
  filter: grayscale(0);
}

.project-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Resume Section (Redesign) */
.profile-additional-info {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 30px;
  align-items: start;
}

.resume-section-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.resume-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.resume-section-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: #2b2c48;
  margin: 0;
}

.resume-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.resume-card-header {
  margin-bottom: 20px;
}

.resume-role-group {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 5px;
}

.resume-role-group h4 {
  font-size: 18px;
  font-weight: 700;
  color: #2b2c48;
  margin: 0;
  line-height: 1.4;
}

.resume-badge {
  background: #d1fae5;
  color: #059669;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  margin-left: 10px;
}

.resume-company {
  font-size: 16px;
  color: #6d28d9;
  /* Purple accent */
  font-weight: 600;
  margin: 5px 0 10px 0;
}

.resume-meta {
  display: flex;
  gap: 15px;
  font-size: 13px;
  color: #6b7280;
}

.resume-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.resume-content p {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 20px;
}

.resume-achievements {
  margin-top: 20px;
}

.achievement-title {
  font-size: 14px;
  font-weight: 600;
  color: #6d28d9;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.resume-achievements ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.resume-achievements li {
  font-size: 13px;
  color: #4b5563;
  margin-bottom: 8px;
  padding-left: 15px;
  position: relative;
}

.resume-achievements li::before {
  content: "•";
  color: #6d28d9;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Certifications Cards */
.cert-card {
  background: white;
  border-radius: 16px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 15px;
  transition: transform 0.2s ease;
}

.cert-card:hover {
  transform: translateY(-2px);
}

.cert-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
}

.cert-name {
  font-weight: 600;
  color: #2b2c48;
  font-size: 14px;
}

@media (max-width: 900px) {
  .profile-additional-info {
    grid-template-columns: 1fr;
  }
}



.footer-social h3 {
  font-size: 18px;
  font-weight: 700;
  color: #2b2c48;
  margin-bottom: 20px;
}

.profile-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-social .card-social {
  margin: 0;
  padding: 0;
}