/* === Animated Glassmorphic Header Redesign === */
.header {
  background: rgba(40, 43, 176, 0.18);
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.18);
  border-radius: 0 0 2.5rem 2.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
  backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 3px solid transparent;
  animation: headerBorderAnim 3.5s linear infinite alternate;
}
@keyframes headerBorderAnim {
  0% { border-bottom: 3px solid #b16cea; }
  50% { border-bottom: 3px solid #58acdc; }
  100% { border-bottom: 3px solid #e91f64; }
}
.animated-header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 2.2rem 0.7rem 2.2rem;
  min-height: 70px;
  position: relative;
}
.animated-logo-glass {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: linear-gradient(120deg, #b16cea22 0%, #58acdc22 100%);
  border-radius: 1.5rem;
  padding: 0.3rem 1.1rem 0.3rem 0.7rem;
  box-shadow: 0 2px 12px 0 #b16cea22;
  border: 2px solid #b16cea44;
  animation: logoGlassPulse 2.5s infinite alternate;
}
@keyframes logoGlassPulse {
  0% { box-shadow: 0 2px 12px 0 #b16cea22; }
  100% { box-shadow: 0 6px 24px 0 #58acdc44; }
}
.animated-logo-text-gradient {
  font-family: 'Tektur', 'Poppins', Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  background: linear-gradient(90deg, #b16cea 0%, #58acdc 50%, #e91f64 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: logoTextGradientMove 4s linear infinite alternate;
  letter-spacing: 2px;
}
@keyframes logoTextGradientMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.animated-nav-link {
  position: relative;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 1.2px;
  transition: color 0.3s, background 0.3s;
  overflow: hidden;
}
.animated-nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #b16cea 0%, #58acdc 100%);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
}
.animated-nav-link:hover::after, .animated-nav-link.active-link::after {
  transform: scaleX(1);
}
.animated-nav-link:hover, .animated-nav-link.active-link {
  color: #b16cea;
  background: linear-gradient(90deg, #b16cea11 0%, #58acdc11 100%);
  border-radius: 8px;
}
.nav__logo .animated-logo-glass:hover {
  box-shadow: 0 6px 24px 0 #b16cea44;
  transform: scale(1.06) rotate(-2deg);
  transition: box-shadow 0.3s, transform 0.3s;
}
/* Make Swiper arrows visible in light mode for Projects and Certificates */
body.light-theme .swiper-projects-icon {
  color: #b16cea !important;
  background: #fff !important;
  border-radius: 50%;
  padding: 0.65em;
  font-size: 3.6rem !important;
  width: 4.2rem;
  height: 4.2rem;
  box-shadow: 0 6px 24px 0 rgba(31,38,135,0.18);
  filter: drop-shadow(0 4px 18px #b16cea33);
  border: 2.5px solid #ececec;
  transition: color 0.3s, background 0.3s, box-shadow 0.3s, border 0.3s, transform 0.25s cubic-bezier(.77,0,.18,1);
  animation: arrowBounceBig 1.3s infinite alternate cubic-bezier(.77,0,.18,1);
}
@keyframes arrowBounceBig {
  0% { transform: translateY(0) scale(1); }
  60% { transform: translateY(-16px) scale(1.18); }
  100% { transform: translateY(-7px) scale(1.12); }
}
body.light-theme .swiper-projects-icon:hover {
  color: #fff !important;
  background: #b16cea !important;
  box-shadow: 0 8px 32px 0 #b16cea44;
  border: 2.5px solid #b16cea;
  transform: scale(1.22) rotate(-10deg);
  animation: none;
}
@keyframes arrowBounce {
  0% { transform: translateY(0) scale(1); }
  60% { transform: translateY(-7px) scale(1.12); }
  100% { transform: translateY(-3px) scale(1.08); }
}
body.light-theme .swiper-projects-icon:hover {
  color: #fff !important;
  background: #b16cea !important;
  box-shadow: 0 4px 16px 0 #b16cea33;
  border: 1.5px solid #b16cea;
  transform: scale(1.18) rotate(-8deg);
  animation: none;
}
body.light-theme .swiper-certificates-icon {
  color: #282bb0 !important;
  filter: drop-shadow(0 2px 8px #b16cea22);
  background: #fff !important;
  border-radius: 50%;
  padding: 0.25em;
  box-shadow: 0 2px 8px 0 rgba(31,38,135,0.08);
  transition: color 0.3s, background 0.3s;
}
body.light-theme .swiper-certificates-icon:hover {
  color: #fff !important;
  background: #b16cea !important;
}
/* Make Swiper arrows visible in light mode for Projects and Certificates */
/* Enhanced Light/Dark Mode for Projects Section - Match Certificates Style */
.projects__slider-container {
  background: rgba(40, 43, 176, 0.08);
  border-radius: 2.5rem;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.10), 0 1.5px 8px 0 rgba(177,108,234,0.08);
  padding: 2.5rem 1.5rem 2.5rem 1.5rem;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
  transition: background 0.4s, box-shadow 0.4s;
}
.projects__slider-container .project__card {
  background: linear-gradient(120deg, #23235b 0%, #282bb0 100%);
  border-radius: 1.5rem;
  box-shadow: 0 2px 16px 0 rgba(31,38,135,0.07);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s, background 0.3s;
  border: 1.5px solid #23235b;
}
.projects__slider-container .project__card:hover {
  box-shadow: 0 8px 32px 0 rgba(177,108,234,0.13), 0 2px 16px 0 rgba(31,38,135,0.10);
  transform: translateY(-8px) scale(1.03);
}
.projects__slider-container .project__img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #23235b;
  border-radius: 1.2rem 1.2rem 0 0;
  box-shadow: 0 1.5px 8px 0 rgba(177,108,234,0.06);
  transition: filter 0.3s;
}
.projects__slider-container .project__img:hover {
  filter: brightness(1.08) drop-shadow(0 0 8px #b16cea33);
}
.projects__slider-container .project__title {
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1.1px;
}
.projects__slider-container .project__description {
  color: #e0e0e0;
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
  opacity: 0.92;
}
.projects__slider-container .project__tech {
  color: #b16cea;
  background: #23235b;
  border-radius: 0.7rem;
  padding: 0.2rem 0.8rem;
  font-size: 0.98rem;
  margin-right: 0.5rem;
  margin-bottom: 0.3rem;
  display: inline-block;
}
.projects__slider-container .project__btn {
  background: linear-gradient(90deg, #b16cea 0%, #ff5e69 100%);
  color: #fff;
  border: none;
  border-radius: 1.2rem;
  padding: 0.7rem 1.6rem;
  font-weight: 700;
  font-size: 1.08rem;
  box-shadow: 0 2px 8px 0 rgba(177,108,234,0.10);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.projects__slider-container .project__btn:hover {
  background: linear-gradient(90deg, #ff8a56 0%, #b16cea 100%);
  color: #fff;
  box-shadow: 0 8px 32px 0 rgba(255,94,105,0.13);
}

body.light-theme .projects__slider-container {
  background: rgba(255,255,255,0.92);
  border-radius: 2.5rem;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.10), 0 1.5px 8px 0 rgba(177,108,234,0.08);
}
body.light-theme .projects__slider-container .project__card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 2px 16px 0 rgba(31,38,135,0.07);
  border: 1.5px solid #ececec;
}
body.light-theme .projects__slider-container .project__img {
  background: #fff;
}
body.light-theme .projects__slider-container .project__title {
  color: #222;
}
body.light-theme .projects__slider-container .project__description {
  color: #444;
}
body.light-theme .projects__slider-container .project__tech {
  color: #6c63ff;
  background: #f3f3fa;
}
body.light-theme .projects__slider-container .project__btn {
  background: linear-gradient(90deg, #b16cea 0%, #ff5e69 100%);
  color: #fff;
}
/* Modern Light/Dark Mode for Projects Section */
.projects__slider-light {
  background: rgba(255,255,255,0.96);
  border-radius: 2.5rem;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.10), 0 1.5px 8px 0 rgba(177,108,234,0.08);
  padding: 2.5rem 1.5rem 2.5rem 1.5rem;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
  transition: background 0.4s, box-shadow 0.4s;
}
.projects__slider-light .project__card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 2px 16px 0 rgba(31,38,135,0.07);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  border: 1.5px solid #ececec;
}
.projects__slider-light .project__card:hover {
  box-shadow: 0 8px 32px 0 rgba(177,108,234,0.13), 0 2px 16px 0 rgba(31,38,135,0.10);
  transform: translateY(-8px) scale(1.03);
}
.projects__slider-light .project__img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #fff;
  border-radius: 1.2rem 1.2rem 0 0;
  box-shadow: 0 1.5px 8px 0 rgba(177,108,234,0.06);
  transition: filter 0.3s;
}
.projects__slider-light .project__img:hover {
  filter: brightness(1.08) drop-shadow(0 0 8px #b16cea33);
}
.projects__slider-light .project__title {
  color: #222;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1.1px;
}
.projects__slider-light .project__description {
  color: #444;
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
  opacity: 0.92;
}
.projects__slider-light .project__tech {
  color: #6c63ff;
  background: #f3f3fa;
  border-radius: 0.7rem;
  padding: 0.2rem 0.8rem;
  font-size: 0.98rem;
  margin-right: 0.5rem;
  margin-bottom: 0.3rem;
  display: inline-block;
}
.projects__slider-light .project__btn {
  background: linear-gradient(90deg, #b16cea 0%, #ff5e69 100%);
  color: #fff;
  border: none;
  border-radius: 1.2rem;
  padding: 0.7rem 1.6rem;
  font-weight: 700;
  font-size: 1.08rem;
  box-shadow: 0 2px 8px 0 rgba(177,108,234,0.10);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.projects__slider-light .project__btn:hover {
  background: linear-gradient(90deg, #ff8a56 0%, #b16cea 100%);
  color: #fff;
  box-shadow: 0 8px 32px 0 rgba(255,94,105,0.13);
}

/* Light mode toggle for projects section */
body.light-theme .projects__slider-container {
  background: rgba(255,255,255,0.96);
  border-radius: 2.5rem;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.10), 0 1.5px 8px 0 rgba(177,108,234,0.08);
}
body.light-theme .project__card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 2px 16px 0 rgba(31,38,135,0.07);
  border: 1.5px solid #ececec;
}
body.light-theme .project__title {
  color: #222;
}
body.light-theme .project__description {
  color: #444;
}
body.light-theme .project__tech {
  color: #6c63ff;
  background: #f3f3fa;
}
body.light-theme .project__btn {
  background: linear-gradient(90deg, #b16cea 0%, #ff5e69 100%);
  color: #fff;
}
/* Modern Light Mode for Certificates Section */
.certificates__slider-light {
  background: rgba(255,255,255,0.92);
  border-radius: 2.5rem;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.10), 0 1.5px 8px 0 rgba(177,108,234,0.08);
  padding: 2.5rem 1.5rem 2.5rem 1.5rem;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
  transition: background 0.4s, box-shadow 0.4s;
}
.certificates__slider-light .certificate__card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 2px 16px 0 rgba(31,38,135,0.07);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  border: 1.5px solid #ececec;
}
.certificates__slider-light .certificate__card:hover {
  box-shadow: 0 8px 32px 0 rgba(177,108,234,0.13), 0 2px 16px 0 rgba(31,38,135,0.10);
  transform: translateY(-8px) scale(1.03);
}
.certificates__slider-light .certificate__image-container {
  background: linear-gradient(120deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 1.2rem 1.2rem 0 0;
  overflow: hidden;
  position: relative;
}
.certificates__slider-light .certificate__image {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #fff;
  border-radius: 1.2rem 1.2rem 0 0;
  box-shadow: 0 1.5px 8px 0 rgba(177,108,234,0.06);
  transition: filter 0.3s;
}
.certificates__slider-light .certificate__image:hover {
  filter: brightness(1.08) drop-shadow(0 0 8px #b16cea33);
}
.certificates__slider-light .certificate__badge {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  background: linear-gradient(135deg, #b16cea 0%, #ff8a56 100%);
  color: #fff;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 2px 8px 0 rgba(177,108,234,0.13);
  z-index: 3;
}
.certificates__slider-light .certificate__info {
  padding: 1.2rem 1.2rem 1.5rem 1.2rem;
  text-align: center;
}
.certificates__slider-light .certificate__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #2d2d2d;
  margin-bottom: 0.3rem;
  font-family: 'Tektur', sans-serif;
}
.certificates__slider-light .certificate__subtitle {
  font-size: 1rem;
  color: #6c63ff;
  margin-bottom: 0.2rem;
}
.certificates__slider-light .certificate__date {
  font-size: 0.95rem;
  color: #b16cea;
  margin-bottom: 0.7rem;
}
.certificates__slider-light .certificate__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(90deg, #b16cea 0%, #ff8a56 100%);
  color: #fff;
  border: none;
  border-radius: 2rem;
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px 0 rgba(177,108,234,0.10);
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
  margin-top: 0.5rem;
}
.certificates__slider-light .certificate__btn:hover {
  background: linear-gradient(90deg, #ff8a56 0%, #b16cea 100%);
  color: #fff;
  box-shadow: 0 8px 24px 0 rgba(255,94,105,0.13);
  transform: translateY(-2px) scale(1.04);
}
.certificates__slider-light .certificate__btn-icon {
  font-size: 1.1rem;
}
.certificates__slider-light .certificate__overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(120deg, #b16cea11 0%, #ff8a5611 100%);
  opacity: 0.7;
  border-radius: 1.2rem 1.2rem 0 0;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.3s;
}
.certificates__slider-light .certificate__image-container:hover .certificate__overlay {
  opacity: 0.9;
}
.contact__info-card {
  /* ...existing code... */
  box-shadow: 0 2px 12px 0 rgba(31, 38, 135, 0.08), 0 0 0 0 var(--first-color, #e91f64);
  transition: box-shadow 0.4s cubic-bezier(.77,0,.18,1), transform 0.4s cubic-bezier(.77,0,.18,1), filter 0.4s;
  filter: drop-shadow(0 0 0 var(--first-color, #e91f64));
}
.contact__info-card:hover {
  box-shadow: 0 12px 36px 0 var(--first-color, #e91f64), 0 0 32px 8px #fff3;
  filter: drop-shadow(0 0 16px var(--first-color, #e91f64));
  z-index: 2;
}

/* Sparkle effect on hover */
.contact__info-card:hover::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  width: 24px;
  height: 24px;
  background: radial-gradient(circle, #fff 0%, #fff0 80%);
  opacity: 0.7;
  border-radius: 50%;
  pointer-events: none;
  animation: sparkle 0.8s linear;
}
@keyframes sparkle {
  0% { opacity: 0.7; transform: scale(0.7) translateY(0); }
  60% { opacity: 1; transform: scale(1.2) translateY(-8px); }
  100% { opacity: 0; transform: scale(1.6) translateY(-18px); }
}

/* Pulse border animation */
.contact__info-card.animated-pulse {
  animation: infoCardPulse 1.6s infinite cubic-bezier(.77,0,.18,1);
  border: 2.5px solid var(--first-color, #e91f64);
}
@keyframes infoCardPulse {
  0% { box-shadow: 0 0 0 0 var(--first-color, #e91f64); }
  70% { box-shadow: 0 0 0 16px rgba(233,31,100,0); }
  100% { box-shadow: 0 0 0 0 var(--first-color, #e91f64); }
}
.contact__info-cards {
  /* Staggered animation for each card */
}
.contact__info-card {
  /* ...existing code... */
  animation: infoCardPopIn 1.1s cubic-bezier(.77,0,.18,1) both;
  will-change: transform, opacity, box-shadow;
  opacity: 0;
}
.contact__info-card:nth-child(1) {
  animation-delay: 0.1s;
  opacity: 1;
}
.contact__info-card:nth-child(2) {
  animation-delay: 0.3s;
  opacity: 1;
}
.contact__info-card:nth-child(3) {
  animation-delay: 0.5s;
  opacity: 1;
}

/* Floating glow effect */
.contact__info-card::after {
  content: '';
  position: absolute;
  top: -18px;
  right: -18px;
  width: 54px;
  height: 54px;
  background: radial-gradient(circle at 60% 40%, var(--first-color, #e91f64) 0%, #282bb0 100%);
  opacity: 0.13;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  animation: infoCardGlow 3.5s ease-in-out infinite alternate;
}
@keyframes infoCardGlow {
  0% { filter: blur(0px); opacity: 0.13; }
  50% { filter: blur(8px); opacity: 0.22; }
  100% { filter: blur(0px); opacity: 0.13; }
}

/* Subtle floating animation for cards */
.contact__info-card {
  animation-name: infoCardPopIn, infoCardFloat;
  animation-duration: 1.1s, 4.5s;
  animation-delay: 0.1s, 1.2s;
  animation-timing-function: cubic-bezier(.77,0,.18,1), ease-in-out;
  animation-fill-mode: both;
  animation-iteration-count: 1, infinite;
}
@keyframes infoCardFloat {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.01); }
  100% { transform: translateY(0) scale(1); }
}
.contact__info-card {
  /* ...existing code... */
  animation: infoCardPopIn 1.1s cubic-bezier(.77,0,.18,1) both;
  will-change: transform, opacity, box-shadow;
}

@keyframes infoCardPopIn {
  0% { opacity: 0; transform: scale(0.85) translateY(40px) rotate(-4deg); filter: blur(8px); }
  60% { opacity: 1; transform: scale(1.05) translateY(-8px) rotate(2deg); filter: blur(0.5px); }
  100% { opacity: 1; transform: scale(1) translateY(0) rotate(0); filter: blur(0); }
}

.contact__info-card:hover {
  animation: infoCardHoverPop 0.5s cubic-bezier(.77,0,.18,1) both;
  transform: scale(1.07) translateY(-6px) rotate(-2deg);
  box-shadow: 0 12px 36px 0 var(--first-color, #e91f64);
}

@keyframes infoCardHoverPop {
  0% { transform: scale(1) translateY(0) rotate(0); }
  60% { transform: scale(1.09) translateY(-10px) rotate(-3deg); }
  100% { transform: scale(1.07) translateY(-6px) rotate(-2deg); }
}
/* Beautiful font and animation for contact info card */
.contact__info-card h4 {
  font-family: 'Tektur', 'Poppins', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--first-color, #e91f64);
  margin: 0 0 2px 0;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, var(--first-color, #e91f64), #282bb0 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  animation: infoCardTitleFadeIn 1.1s cubic-bezier(.77,0,.18,1) both;
}

.contact__info-card p {
  font-family: 'Fira Mono', 'Consolas', monospace;
  font-size: 1.08rem;
  color: #222;
  margin: 0;
  opacity: 0.92;
  letter-spacing: 0.2px;
  background: none;
  transition: color 0.3s, letter-spacing 0.3s;
  animation: infoCardTextFadeIn 1.2s cubic-bezier(.77,0,.18,1) 0.2s both;
}

@keyframes infoCardTitleFadeIn {
  0% { opacity: 0; transform: translateY(18px) scale(0.92); filter: blur(6px); }
  80% { opacity: 1; transform: translateY(-4px) scale(1.08); filter: blur(0.5px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes infoCardTextFadeIn {
  0% { opacity: 0; transform: translateY(18px) scale(0.92); filter: blur(6px); }
  80% { opacity: 1; transform: translateY(-2px) scale(1.04); filter: blur(0.5px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.contact__info-card p:hover {
  color: var(--first-color, #e91f64);
  letter-spacing: 1.2px;
  transition: color 0.3s, letter-spacing 0.3s;
}
/* Fix for email/long text in contact info cards */
.contact__info-card p, .contact__info-card div > p, .contact__info-card .contact__info-description {
  word-break: break-all !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
  max-width: 100%;
  display: block;
  box-sizing: border-box;
}
/*==================== CONTACT ME (MODERN, ANIMATED, ENHANCED) ====================*/
.contact {
  background: linear-gradient(120deg, #f8fafc 60%, #e0e7ef 100%);
  border-radius: 2.5rem;
  box-shadow: 0 8px 40px rgba(135, 94, 232, 0.10), 0 1.5px 8px rgba(0,0,0,0.04);
  padding: 4rem 2rem 3.5rem 2rem;
  max-width: 800px;
  margin: 4rem auto 2rem auto;
  position: relative;
  overflow: visible;
  animation: contactFadeIn 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes contactFadeIn {
  0% { opacity: 0; transform: translateY(60px) scale(0.98); }
  80% { opacity: 1; transform: translateY(-8px) scale(1.03); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.contact__container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
  position: relative;
}

.contact__title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--first-color);
  margin-bottom: 0.5rem;
  letter-spacing: 1.5px;
  text-align: center;
  font-family: 'Tektur', 'Poppins', Arial, sans-serif;
  background: linear-gradient(90deg, var(--first-color), var(--first-color-alt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact__subtitle {
  font-size: 1.15rem;
  color: var(--text-color);
  margin-bottom: 2.2rem;
  text-align: center;
  opacity: 0.85;
  font-weight: 500;
  letter-spacing: 0.2px;
}


/* Modern Glassy Animated Contact Form */
.contact__form {
  background: rgba(255,255,255,0.18);
  border-radius: 22px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18), 0 1.5px 12px 0 rgba(233,31,100,0.08);
  padding: 40px 32px 32px 32px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  animation: contactFormFadeIn 1.2s cubic-bezier(.77,0,.18,1) 0.2s both;
  backdrop-filter: blur(8px) saturate(1.2);
  border: 2.5px solid rgba(233,31,100,0.13);
  overflow: visible;
}

.contact__form::before {
  content: '';
  position: absolute;
  inset: -2.5px;
  border-radius: 24px;
  background: linear-gradient(120deg, #e91f64 0%, #282bb0 100%);
  opacity: 0.13;
  z-index: 0;
  pointer-events: none;
  filter: blur(2.5px);
  animation: formBorderGlow 4s linear infinite alternate;
}

@keyframes formBorderGlow {
  0% { opacity: 0.13; filter: blur(2.5px); }
  50% { opacity: 0.22; filter: blur(4px); }
  100% { opacity: 0.13; filter: blur(2.5px); }
}

.contact__inputs.grid {
  display: flex;
  gap: 22px;
  margin-bottom: 22px;
}

.contact__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
  position: relative;
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  animation: contactFieldFadeIn 0.9s cubic-bezier(.77,0,.18,1) forwards;
}
.contact__content.animated {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.contact__inputs.grid .contact__content:nth-child(1) { animation-delay: 0.1s; }
.contact__inputs.grid .contact__content:nth-child(2) { animation-delay: 0.25s; }
.contact__message-content { animation-delay: 0.4s; }

/* Floating Labels */
.contact__label {
  font-weight: 600;
  color: var(--first-color, #e91f64);
  margin-bottom: 0;
  font-size: 1.08rem;
  letter-spacing: 0.5px;
  position: absolute;
  top: 18px;
  left: 18px;
  pointer-events: none;
  background: transparent;
  transition: all 0.22s cubic-bezier(.77,0,.18,1);
  opacity: 0.85;
  z-index: 2;
}
.contact__input:focus + .contact__label,
.contact__input:not(:placeholder-shown) + .contact__label {
  top: -10px;
  left: 10px;
  font-size: 0.98rem;
  color: #282bb0;
  background: rgba(255,255,255,0.85);
  padding: 0 6px;
  border-radius: 6px;
  opacity: 1;
}

/* Input Fields */
.contact__input {
  border: none;
  border-radius: 12px;
  padding: 18px 18px 12px 18px;
  font-size: 1.08rem;
  background: rgba(255,255,255,0.85);
  color: #222;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-bottom: 4px;
  transition: box-shadow 0.3s, border 0.3s, background 0.3s;
  outline: none;
  font-family: 'Fira Mono', 'Consolas', monospace;
  position: relative;
  z-index: 1;
}
.contact__input:focus {
  box-shadow: 0 4px 16px 0 var(--first-color, #e91f64);
  border: 2px solid var(--first-color, #e91f64);
  background: #fffbe9;
}
.contact__input.error {
  border: 2px solid #e74c3c;
  background: #fff0f3;
}
.contact__input.success {
  border: 2px solid #61c689;
  background: #f0fff7;
}

/* Animated Underline */
.contact__input {
  box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 0 0 0 var(--first-color, #e91f64);
  transition: box-shadow 0.3s, border 0.3s, background 0.3s;
}
.contact__input:focus {
  box-shadow: 0 4px 16px 0 var(--first-color, #e91f64), 0 0 0 4px #e91f6422;
}

/* Textarea */
.contact__textarea-enhanced {
  min-height: 110px !important;
  resize: vertical;
  padding-right: 56px;
  font-size: 1.08rem;
  background: linear-gradient(120deg, rgba(255,255,255,0.95) 80%, #f1c84f1a 100%);
  box-shadow: 0 2px 12px 0 rgba(31, 38, 135, 0.06);
  transition: box-shadow 0.3s, border 0.3s, background 0.3s;
  border-radius: 12px;
  font-family: 'Fira Mono', 'Consolas', monospace;
}
.contact__textarea-enhanced:focus {
  background: #fffbe9;
}

/* Animated Icon in Textarea */
.contact__textarea-wrapper {
  position: relative;
  display: flex;
  align-items: flex-end;
}
.contact__textarea-icon {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: var(--first-color, #e91f64);
  font-size: 1.3em;
  opacity: 0.7;
  pointer-events: none;
  transition: color 0.3s, opacity 0.3s, transform 0.3s;
  z-index: 3;
  animation: iconPop 1.2s cubic-bezier(.77,0,.18,1) both;
}
.contact__textarea-enhanced:focus ~ .contact__textarea-icon {
  color: #282bb0;
  opacity: 1;
  transform: scale(1.18) rotate(-8deg);
}

/* Character Counter */
.contact__char-count {
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 0.98em;
  color: #888;
  background: rgba(255,255,255,0.7);
  border-radius: 8px;
  padding: 2px 8px;
  pointer-events: none;
  z-index: 2;
  font-family: 'Fira Mono', 'Consolas', monospace;
}

/* Button */
.form-group {
  margin-top: 24px;
  text-align: center;
}
.gradient-btn {
  background: linear-gradient(90deg, var(--first-color, #e91f64) 0%, #282bb0 100%);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 14px 38px;
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: 0 4px 24px 0 rgba(31, 38, 135, 0.13);
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, background 0.3s;
  position: relative;
  overflow: hidden;
  font-family: 'Fira Mono', 'Consolas', monospace;
  letter-spacing: 1.1px;
}
.gradient-btn:hover {
  transform: scale(1.07) translateY(-2px) rotate(-2deg);
  box-shadow: 0 8px 32px 0 var(--first-color, #e91f64);
  background: linear-gradient(90deg, #282bb0 0%, var(--first-color, #e91f64) 100%);
}
.gradient-btn:active {
  transform: scale(0.97);
}
.button__icon {
  margin-left: 8px;
  font-size: 1.3em;
  vertical-align: middle;
  transition: transform 0.3s;
}

/* Error & Success Messages */
.error-message {
  color: #e74c3c;
  font-size: 0.98rem;
  margin-top: 2px;
  display: none;
  animation: shakeError 0.5s;
}
.success-message {
  color: #61c689;
  font-size: 1.08rem;
  margin-top: 10px;
  display: none;
  text-align: center;
  animation: fadeInSuccess 0.8s;
}

/* Responsive */
@media (max-width: 900px) {
  .contact__form {
    max-width: 100%;
    padding: 18px 6px 12px 6px;
    border-radius: 14px;
  }
  .contact__inputs.grid {
    flex-direction: column;
    gap: 10px;
  }
}
@media (max-width: 600px) {
  .contact__form {
    border-radius: 10px;
    padding: 8px 2px 2px 2px;
  }
  .contact__input, .contact__textarea-enhanced {
    font-size: 1em;
    padding: 12px 10px 8px 10px;
    border-radius: 8px;
  }
  .contact__label {
    top: 12px;
    left: 10px;
    font-size: 0.98rem;
  }
  .contact__input:focus + .contact__label,
  .contact__input:not(:placeholder-shown) + .contact__label {
    top: -8px;
    left: 6px;
    font-size: 0.92rem;
    padding: 0 4px;
  }
  .contact__char-count {
    right: 10px;
    top: 4px;
    font-size: 0.92em;
    padding: 1px 6px;
  }
}

@keyframes contactFormSlideIn {
  0% { opacity: 0; transform: translateY(60px) scale(0.98); }
  80% { opacity: 1; transform: translateY(-8px) scale(1.03); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.contact__input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  animation: fadeInUp 0.8s both;
}
.contact__input-group:nth-child(1) { animation-delay: 0.2s; }
.contact__input-group:nth-child(2) { animation-delay: 0.4s; }
.contact__input-group:nth-child(3) { animation-delay: 0.6s; }
.contact__input-group:nth-child(4) { animation-delay: 0.8s; }

.contact__label {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--first-color-alt);
  margin-bottom: 0.2rem;
  letter-spacing: 0.2px;
}

.contact__input, .contact__textarea {
  padding: 1.1rem 1.3rem;
  border-radius: 1.2rem;
  border: 1.5px solid #e0e7ef;
  background: #f8fafc;
  font-size: 1.08rem;
  color: var(--title-color);
  font-family: inherit;
  transition: border 0.2s, box-shadow 0.2s;
  outline: none;
  resize: none;
  box-shadow: 0 2px 8px rgba(135, 94, 232, 0.04);
}

.contact__input:focus, .contact__textarea:focus {
  border: 1.5px solid var(--first-color);
  box-shadow: 0 0 0 3px rgba(135, 94, 232, 0.10);
}

.contact__textarea {
  min-height: 120px;
  max-height: 240px;
}

.contact__button {
  background: linear-gradient(90deg, var(--first-color), var(--first-color-alt));
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  border: none;
  border-radius: 2rem;
  padding: 1.1rem 2.7rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(135, 94, 232, 0.13);
  transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
  margin-top: 0.5rem;
  align-self: center;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  animation: bounceIn 1.1s 1.1s both;
}

@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.7); }
  60% { opacity: 1; transform: scale(1.08); }
  80% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

.contact__button:hover, .contact__button:focus {
  background: linear-gradient(90deg, var(--first-color-alt), var(--first-color));
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 8px 32px rgba(135, 94, 232, 0.18);
}

.contact__icon {
  font-size: 1.4rem;
  color: #fff;
  margin-right: 0.3rem;
  animation: iconPulse 2.2s infinite;
}

@keyframes iconPulse {
  0%, 100% { filter: drop-shadow(0 0 0 #fff); }
  50% { filter: drop-shadow(0 0 8px var(--first-color-alt)); }
}

.contact__socials {
  display: flex;
  gap: 1.3rem;
  justify-content: center;
  margin-top: 2.2rem;
  animation: fadeInUp 1.2s 1.2s both;
}

.contact__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, #f8fafc 80%);
  box-shadow: 0 2px 8px rgba(135, 94, 232, 0.08);
  color: var(--first-color);
  font-size: 1.6rem;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  border: 1.5px solid #e0e7ef;
  animation: socialPop 0.7s cubic-bezier(0.23, 1, 0.32, 1) both;
}
.contact__social-link:nth-child(1) { animation-delay: 1.3s; }
.contact__social-link:nth-child(2) { animation-delay: 1.4s; }
.contact__social-link:nth-child(3) { animation-delay: 1.5s; }

@keyframes socialPop {
  0% { opacity: 0; transform: scale(0.7); }
  80% { opacity: 1; transform: scale(1.12); }
  100% { opacity: 1; transform: scale(1); }
}

.contact__social-link:hover {
  background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
  color: #fff;
  transform: scale(1.13) translateY(-2px);
  box-shadow: 0 6px 24px rgba(135, 94, 232, 0.16);
}

/* Success and error messages */
.contact__message {
  text-align: center;
  font-size: 1.08rem;
  margin-top: 0.7rem;
  padding: 0.9rem 1.2rem;
  border-radius: 1.2rem;
  font-weight: 700;
  display: none;
  animation: fadeInUp 0.7s both;
}
.contact__message.success {
  background: linear-gradient(90deg, #28a745, #20c997);
  color: #fff;
  display: block;
}
.contact__message.error {
  background: linear-gradient(90deg, #e74c3c, #fd7e14);
  color: #fff;
  display: block;
}

/* Decorative floating icons */
.contact__decor {
  position: absolute;
  z-index: 0;
  opacity: 0.13;
  pointer-events: none;
  animation: floatDecor 5s ease-in-out infinite alternate;
}
.contact__decor--1 {
  top: -40px;
  left: -40px;
  font-size: 6rem;
  color: var(--first-color);
  animation-delay: 0.2s;
}
.contact__decor--2 {
  bottom: -35px;
  right: -35px;
  font-size: 5rem;
  color: var(--first-color-alt);
  animation-delay: 0.5s;
}

@keyframes floatDecor {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(18px) scale(1.08); }
}

/* Responsive Design for Contact Section */
@media screen and (max-width: 900px) {
  .contact {
    max-width: 99vw;
    padding: 2.5rem 0.5rem 2rem 0.5rem;
  }
  .contact__form {
    padding: 1.7rem 0.7rem 1.2rem 0.7rem;
    border-radius: 1.2rem;
  }
  .contact__title {
    font-size: 1.7rem;
  }
}
@media screen and (max-width: 600px) {
  .contact {
    border-radius: 1.2rem;
    padding: 1.5rem 0.2rem 1.2rem 0.2rem;
  }
  .contact__form {
    border-radius: 1rem;
    padding: 1.2rem 0.2rem 1rem 0.2rem;
  }
  .contact__title {
    font-size: 1.2rem;
  }
}
/* Further improve My Projects section for mobile */
@media screen and (max-width: 600px) {
  .project__container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100vw !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    padding: 1rem 0.25rem 0 !important;
    border-radius: 0 !important;
  }
  .project__img {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    margin: 0 auto 1rem auto !important;
    display: block !important;
    border-radius: 0.5rem !important;
  }
  .project__bg {
    padding-top: 1rem !important;
    background: var(--first-color-second) !important;
  }
  .project__title {
    font-size: 1.05rem !important;
    margin-bottom: 0.4rem !important;
    word-break: break-word !important;
  }
  .project__description {
    font-size: 0.92rem !important;
    margin-bottom: 0.8rem !important;
    word-break: break-word !important;
  }
  .project {
    text-align: center !important;
    padding: 0 0.25rem !important;
    width: 100vw !important;
    box-sizing: border-box !important;
  }
}
@media screen and (max-width: 768px) {
  .qualification__tabs {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  .qualification__button {
    min-width: 90vw;
    width: 100%;
    justify-content: center;
    padding: 1rem 0.5rem;
    font-size: 1rem;
  }
  .qualification__timeline {
    max-width: 100%;
    padding: 0 0.5rem;
  }
  .qualification__data {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: stretch;
  }
  .qualification__card {
    padding: 1rem;
    min-width: 0;
  }
  .qualification__card-header {
    gap: 1rem;
    flex-direction: row;
    align-items: center;
  }
  .qualification__company-logo {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .qualification__skills-tags {
    justify-content: center;
  }
}
/* ===== Modern Glassy Stats & Animated Scroll Button ===== */
.glass-card {
  background: rgba(255,255,255,0.15);
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 1.5rem;
  border: 1.5px solid rgba(255,255,255,0.25);
  padding: 1.5rem 2.5rem;
  margin: 0 1rem;
  transition: transform 0.3s cubic-bezier(.4,2,.6,1), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.glass-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 16px 40px 0 rgba(31,38,135,0.22);
}
.home__stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--first-color);
  display: block;
  margin-bottom: 0.25rem;
  letter-spacing: 1px;
  transition: color 0.3s;
}
.home__stat-text {
  font-size: 1.1rem;
  color: var(--text-color);
  font-weight: 500;
  letter-spacing: 0.5px;
}
@media (max-width: 600px) {
  .glass-card { padding: 1rem 0.5rem; margin: 0 0.25rem; }
  .home__stat-number { font-size: 1.5rem; }
}

/* Scroll Down Button Animation */
.scroll-animate .scroll-glass {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.18);
  border-radius: 2rem;
  padding: 0.7rem 1.5rem;
  box-shadow: 0 4px 24px 0 rgba(31,38,135,0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255,255,255,0.22);
  position: relative;
  animation: floatY 2.2s ease-in-out infinite;
  transition: box-shadow 0.3s, background 0.3s;
}
.scroll-animate .scroll-glass:hover {
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.18);
  background: rgba(255,255,255,0.28);
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(18px); }
}
.home__scroll-mouse, .home__scroll-arrow {
  font-size: 1.5rem;
  color: var(--first-color);
  transition: color 0.3s;
}
.scroll-animate .home__scroll-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--first-color);
  letter-spacing: 0.5px;
}
/*==================== GOOGLE FONTS ====================*/

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

/*==================== VARIABLES CSS ====================*/

:root {
  --header-height: 3rem;
  /*========== Colors ==========*/
  /* Change favorite color */
  --hue-color: 250;
  /*Purple 250 - Green 142 - Blue 230 - Pink 340*/
  /* HSL color mode */
  --trans: 0.388;
  --first-color: #000000;
  --first-color-second:rgb(0, 0, 0);
  --first-color-alt:  var(--first-color);
  --first-color-lighter: var(--first-color);
  --title-color: hsl(var(--hue-color), 8%, 15%);
  --text-color: hsl(var(--hue-color), 8%, 45%);
  --text-color-light: hsl(var(--hue-color), 8%, 65%);
  --input-color: hsl(var(--hue-color), 70%, 96%);
  --body-color: hsl(var(--hue-color), 60%, 99%);
  --container-color: #fff;
  --scroll-bar-color: hsl(var(--hue-color), 12%, 90%);
  --scroll-thumb-color: hsl(var(--hue-color), 12%, 80%);

  /*========== Font and typography ==========*/
  --body-font: "Poppins", sans-serif;
  /* .5rem = 8px, 1rem = 16px, 1.5rem = 24px ... */
  --big-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1.125rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;
  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;
  /*========== Margines ==========*/
  /* .25rem = 4px, .5rem = 8px, .75rem = 12px ... */
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;
  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 100;
}


.back {
  background-color: var(--first-color);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%
}
/* Font size for large devices */

@media screen and (min-width: 968px) {
  :root {
    --big-font-size: 3rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}

/*========== Variables Dark theme ==========*/

body.dark-theme {
  /* HSL color mode */
  --first-color-second: hsl(var(--hue-color), 30%, 8%);
  --title-color: hsl(var(--hue-color), 8%, 95%);
  --text-color: hsl(var(--hue-color), 8%, 75%);
  --input-color: hsl(var(--hue-color), 29%, 16%);
  --body-color: hsl(var(--hue-color), 28%, 12%);
  --container-color: hsl(var(--hue-color), 29%, 16%);
  --scroll-bar-color: hsl(var(--hue-color), 12%, 48%);
  --scroll-thumb-color: hsl(var(--hue-color), 12%, 36%);
}

/*========== Button Dark/Light ==========*/

.nav__btns {
  display: flex;
  align-items: center;
}
.change-theme {
  font-size: 1.25rem;
  color: var(--title-color);
  margin-right: var(--mb-1);
  cursor: pointer;
}
.change-theme:hover {
  color: var(--first-color);
}

/*==================== BASE ====================*/

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0 0 var(--header-height) 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
}

h1,
h2,
h3,
h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/*==================== REUSABLE CSS CLASSES ====================*/

.noSelect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.section {
  padding: 2rem 0 4rem;
}

.section__title {
  font-size: var(--h1-font-size);
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-3);
}

.section__title,
.section__subtitle {
  text-align: center;
}

/*==================== LAYOUT ====================*/

.container {
  max-width: 768px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

header {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: var(--body-color);
}

/*==================== NAV ====================*/

.nav {
  max-width: 968px;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo,
.nav__toggle {
  color: var(--title-color);
  font-weight: var(--font-medium);
}

.nav__logo {
  text-decoration: none;
}

/* Logo Container Styles */
.logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.logo-image {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--first-color);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--title-color);
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.nav__logo:hover .logo-image {
  transform: scale(1.1);
  border-color: var(--first-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav__logo:hover .logo-text {
  color: var(--first-color);
  transform: translateX(2px);
}

.nav__logo:hover .logo-container {
  transform: translateY(-1px);
}

/* Dark theme support */
.dark-theme .logo-image {
  border-color: var(--first-color);
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

.dark-theme .nav__logo:hover .logo-image {
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.nav__logo:hover {
  color: var(--first-color);
}

.nav__toggle {
  font-size: 1.1rem;
  cursor: pointer;
}

.nav__toggle:hover {
  color: var(--first-color);
}

@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--body-color);
    padding: 2rem 1.5rem 4rem;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.15);
    border-radius: 1.5rem 1.5rem 0 0;
    transition: 0.3s;
  }

  /* Mobile Logo Responsive Styles */
  .logo-container {
    gap: 0.3rem;
  }

  .logo-image {
    width: 30px;
    height: 30px;
  }

  .logo-text {
    font-size: 1rem;
  }
}

.nav__list {
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: var(--small-font-size);
  color: var(--title-color);
  font-weight: var(--font-medium);
}

.nav__link:hover {
  color: var(--first-color);
}

.nav__icon {
  font-size: 1.2rem;
}

.nav__close {
  position: absolute;
  right: 1.3rem;
  bottom: 0.5rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--first-color);
}

.nav__close:hover {
  color: var(--first-color-alt);
}

/* show menu */

.show-menu {
  bottom: 0;
}

/* Active link */

.active-link {
  color: var(--first-color);
}

/* Change background header */

.scroll-header {
  box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.15);
}

/*===================== LOADER ====================*/

#loading {
  position: fixed;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  background-color: var(--first-color);
  z-index: 101;
}

.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: bold;
  font-size: 11vh;
  opacity: 0.8;
}
.loader span {
  display: inline-block;
  animation: pulse 0.4s alternate infinite ease-in-out;
}
.loader span:nth-child(odd) {
  animation-delay: 0.4s;
}

@keyframes pulse {
  to {
    transform: scale(0.8);
    opacity: 0.5;
  }
}

/*==================== HOME ====================*/

.home__container {
  gap: 1rem;
}

.home__content {
  grid-template-columns: 0.5fr 3fr;
  padding-top: 3.5rem;
  align-items: center;
}

.home__social {
  display: grid;
  grid-template-columns: max-content;
  row-gap: 1rem;
}

.home__social-icon {
  font-size: 1.25rem;
  color: var(--first-color);
}

.home__social-icon:hover {
  color: var(--first-color-alt);
  opacity: 75%;
}

.home__blob {
  width: 200px;
  fill: var(--first-color);
}

.home__blob-img {
  width: 255px;
}

.home__data {
  grid-column: 1/3;
}

.home__title {
  font-size: var(--big-font-size);
}
.title-highlight {
  color: var(--first-color);
}

.home__subtitle {
  font-size: var(--h3-font-size);
  color: var(--text-color);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-0-75);
}

.home__description {
  margin-bottom: var(--mb-2);
}

.home__scroll {
  display: none;
}

.home__scroll-button {
  color: var(--first-color);
  transition: 0.3s;
}

.home__scroll-button:hover {
  transform: translateY(0.25rem);
}

.home__scroll-mouse {
  font-size: 2rem;
}

.home__scroll-name {
  font-size: var(--small-font-size);
  color: var(--title-color);
  font-weight: var(--font-medium);
  margin-right: var(--mb-0-25);
}

.home__scroll-arrow {
  font-size: 1.25rem;
}

/*==================== BUTTONS ====================*/

.button {
  display: inline-block;
  background-color: var(--first-color);
  color: #fff;
  padding: 1rem;
  border-radius: 0.5rem;
  font-weight: var(--font-medium);
  border: 2px solid var(--first-color);
}

.button:hover {
  background-color: rgba(255, 255, 255, 0);
  border: 2px solid var(--first-color-alt);
  color: var(--first-color-alt);
  
}

.button__icon {
  font-size: 1.25rem;
  margin-left: var(--mb-0-5);
  transition: 0.3s;
}

.button--white {
  background-color: #fff;
  color: var(--first-color);
}

.button--white:hover {
  background-color: #fff;
}

.button--flex {
  display: inline-flex;
  align-items: center;
}

.button--small {
  padding: 0.75rem 1rem;
}

.button--link {
  padding: 0;
  background-color: transparent;
  color: var(--first-color);
}

.button--link:hover {
  background-color: transparent;
  color: var(--first-color-alt);
}

/*==================== ABOUT ====================*/

.about__container {
  gap: 3rem;
  padding: 2rem 0;
}

/* Image Section */
.about__img-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.about__img-background {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 280px;
  background: linear-gradient(135deg, var(--first-color), rgba(0, 0, 0, 0.7));
  border-radius: 50% 30% 50% 30%;
  z-index: -1;
  animation: morphing 6s ease-in-out infinite;
}

@keyframes morphing {
  0%, 100% { border-radius: 50% 30% 50% 30%; }
  25% { border-radius: 30% 50% 30% 50%; }
  50% { border-radius: 50% 30% 50% 30%; }
  75% { border-radius: 30% 50% 30% 50%; }
}

.about__img-frame {
  position: relative;
  padding: 1rem;
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  border-radius: 50%;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.1),
    inset 0 -5px 10px rgba(0, 0, 0, 0.05);
}

.about__img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
  transition: all 0.3s ease;
}

.about__img:hover {
  transform: scale(1.05);
  filter: saturate(1.2) contrast(1.1);
}

.about__img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  pointer-events: none;
}

/* Floating Elements */
.about__floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.about__floating-item {
  position: absolute;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--first-color), rgba(0, 0, 0, 0.8));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  animation: float 3s ease-in-out infinite;
}

.about__floating-item--1 {
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.about__floating-item--2 {
  bottom: 20%;
  left: 5%;
  animation-delay: 1s;
}

.about__floating-item--3 {
  top: 50%;
  right: -10px;
  animation-delay: 2s;
}

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

/* Stats Section */
.about__stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.about__stat-item {
  text-align: center;
  background: linear-gradient(145deg, var(--container-color), rgba(255, 255, 255, 0.05));
  padding: 1.5rem 1rem;
  border-radius: 20px;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  min-width: 120px;
}

.about__stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.about__stat-circle {
  position: relative;
  margin-bottom: 0.5rem;
}

.about__stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--first-color);
  display: inline-block;
}

.about__stat-plus {
  font-size: 1.2rem;
  color: var(--first-color);
  font-weight: 600;
}

.about__stat-label {
  font-size: var(--small-font-size);
  color: var(--text-color);
  font-weight: 500;
}

/* Info Cards */
.about__info-cards {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}


.about__info-card {
  background: linear-gradient(135deg, #fff 60%, #f8fafc 100%);
  padding: 2.2rem 1.7rem 2rem 1.7rem;
  border-radius: 2rem;
  box-shadow: 0 6px 32px rgba(135, 94, 232, 0.10), 0 1.5px 8px rgba(0,0,0,0.04);
  border: 1.5px solid #e0e7ef;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  position: relative;
  overflow: hidden !important;
  transition: box-shadow 0.3s, transform 0.3s, border 0.3s;
  z-index: 1;
  word-break: break-all;
  box-sizing: border-box;
}

.about__info-card::before {
  content: '';
  position: absolute;
  top: -18px;
  right: -18px;
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
  opacity: 0.10;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.about__info-card:hover {
  transform: translateY(-10px) scale(1.025);
  box-shadow: 0 16px 48px rgba(135, 94, 232, 0.16), 0 2px 12px rgba(0,0,0,0.06);
  border: 1.5px solid var(--first-color);
}

.about__info-card .about__info-icon-wrapper {
  background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(135, 94, 232, 0.18);
  position: relative;
  z-index: 2;
  transition: box-shadow 0.3s, transform 0.3s;
}

.about__info-card:hover .about__info-icon-wrapper {
  box-shadow: 0 16px 40px rgba(135, 94, 232, 0.22);
  transform: scale(1.08) rotate(-3deg);
}

.about__info-icon {
  font-size: 2.1rem;
  color: #fff;
  filter: drop-shadow(0 2px 8px rgba(135, 94, 232, 0.18));
}

.about__info-content {
  flex: 1;
  z-index: 2;
}

.about__info-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 0.18rem;
  letter-spacing: 0.2px;
  font-family: 'Tektur', 'Poppins', Arial, sans-serif;
}

.about__info-subtitle {
  font-size: 0.98rem;
  color: var(--first-color-alt);
  font-weight: 600;
  margin-bottom: 0.35rem;
  display: block;
  letter-spacing: 0.1px;
}



.about__info-description {
  font-size: 0.97rem;
  color: var(--text-color);
  line-height: 1.6;
  opacity: 0.92;
  word-break: break-all !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
  max-width: 100%;
  display: block;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@media screen and (max-width: 900px) {
  .about__info-card {
    padding: 1.5rem 0.7rem 1.3rem 0.7rem;
    border-radius: 1.2rem;
  }
  .about__info-card .about__info-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }
  .about__info-title {
    font-size: 1.01rem;
  }
}
@media screen and (max-width: 600px) {
  .about__info-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 1.1rem 0.2rem 1rem 0.2rem;
    border-radius: 0.8rem;
  }
  .about__info-card .about__info-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 8px;
  }
}


.about__info-icon-wrapper {
  background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(135, 94, 232, 0.18);
  position: relative;
  z-index: 2;
  transition: box-shadow 0.3s, transform 0.3s;
}

.about__info-card:hover .about__info-icon-wrapper {
  box-shadow: 0 16px 40px rgba(135, 94, 232, 0.22);
  transform: scale(1.08) rotate(-3deg);
}

.about__info-icon {
  font-size: 1.8rem;
  color: white;
}

.about__info-content {
  flex: 1;
}

.about__info-title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  margin-bottom: 0.25rem;
}

.about__info-subtitle {
  font-size: var(--small-font-size);
  color: var(--first-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

/* Make long text (like email) wrap and fit nicely in info cards */

/* Remove duplicate and override with main rule above */

/* Story Section */
.about__content {
  margin-bottom: 2rem;
}

.about__story {
  margin-bottom: 2rem;
}

.about__story-title {
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  margin-bottom: 1rem;
  position: relative;
}

.about__story-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--first-color), rgba(0, 0, 0, 0.5));
  border-radius: 2px;
}

.about__description {
  text-align: left;
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: var(--normal-font-size);
}

.about__highlight {
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
  color: var(--first-color);
}

/* Animated tech stack styles */
.about__tech, .about__tech-mern {
  color: #fff;
  font-weight: 700;
  background: linear-gradient(90deg, #ff6a00, #ee0979, #43cea2, #185a9d, #ff6a00);
  background-size: 300% 300%;
  padding: 2px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(67, 206, 162, 0.15);
  animation: tech-gradient-move 3s ease-in-out infinite, tech-bounce 1.2s infinite;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  font-size: 1.05em;
  letter-spacing: 0.5px;
  transition: box-shadow 0.3s, transform 0.3s;
  display: inline-block;
}

/* Special animation and color for MERN stack */
.about__tech-mern {
  background: linear-gradient(90deg, #3fa037, #61dafb, #f7df1e, #333, #3fa037);
  background-size: 400% 400%;
  animation: mern-gradient-move 2.5s linear infinite, mern-bounce 1.2s infinite, mern-glow 2.5s ease-in-out infinite;
  box-shadow: 0 2px 12px rgba(97, 218, 251, 0.18);
  font-size: 1.12em;
  letter-spacing: 1px;
  filter: drop-shadow(0 0 8px #61dafb88);
}

@keyframes mern-bounce {
  0%, 100% { transform: scale(1) rotate(-2deg); }
  20% { transform: scale(1.12) rotate(2deg); }
  40% { transform: scale(0.97) rotate(-2deg); }
  60% { transform: scale(1.08) rotate(2deg); }
  80% { transform: scale(0.98) rotate(-2deg); }
}

@keyframes mern-glow {
  0%, 100% { box-shadow: 0 0 16px 2px #61dafb55, 0 0 0 #3fa03700; }
  50% { box-shadow: 0 0 32px 8px #3fa03788, 0 0 24px 8px #f7df1e88; }
}

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

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

@keyframes tech-bounce {
  0%, 100% { transform: scale(1); }
  20% { transform: scale(1.08); }
  40% { transform: scale(0.97); }
  60% { transform: scale(1.04); }
  80% { transform: scale(0.98); }
}

.about__code {
  font-family: 'Courier New', monospace;
  background: #f4f4f4;
  padding: 2px 6px;
  border-radius: 4px;
  color: #e74c3c;
  font-weight: 600;
}

/* Timeline */
.about__timeline {
  position: relative;
  margin: 2rem 0;
}

.about__timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--first-color), rgba(0, 0, 0, 0.3));
}

.about__timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
}

.about__timeline-marker {
  position: absolute;
  left: 12px;
  top: 8px;
  width: 16px;
  height: 16px;
  background: var(--first-color);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 3px var(--first-color);
}

.about__timeline-content h4 {
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  margin-bottom: 0.5rem;
}

.about__timeline-content p {
  color: var(--text-color);
  line-height: 1.6;
  font-size: var(--small-font-size);
}

/* Buttons */
.about__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.about__button-primary,
.about__button-secondary {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 160px;
  justify-content: center;
  display: inline-flex;
  align-items: center;
}

.about__button-primary {
  background: linear-gradient(135deg, var(--first-color), rgba(0, 0, 0, 0.8));
  border: 2px solid transparent;
}

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

.about__button-primary:hover {
  background: transparent;
  border: 2px solid var(--first-color);
  color: var(--first-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about__button-secondary:hover {
  background: var(--first-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.button__icon-left {
  margin-right: 0.5rem;
  margin-left: 0;
  font-size: 1.1rem;
}

/*==================== SKILLS ====================*/

.skills__container {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(4, 1fr);
}

.skills__container-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.skills__container-img {
  height: 40px;
  width:33px;
}

.skills__container-img:hover {
  transform: rotate(25deg);
}

.skills__container-name {
  font-size: var(--smaller-font-size);
  display: block;
  text-align: center;
}

/*==================== QUALIFICATION ====================*/

.qualification__tabs {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: var(--mb-3);
}

.qualification__button {
  position: relative;
  padding: 1.5rem 2rem;
  background: var(--container-color);
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  min-width: 220px;
}

.qualification__button:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--first-color-alt);
}

.qualification__button.qualification__active {
  background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
  color: #fff;
  border-color: var(--first-color);
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(135, 94, 232, 0.3), 
              0 0 20px rgba(135, 94, 232, 0.2);
}

.qualification__icon {
  font-size: 2rem;
  color: inherit;
}

.qualification__button-content {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.qualification__button-title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  margin-bottom: 0.25rem;
}

.qualification__button-subtitle {
  font-size: var(--small-font-size);
  opacity: 0.8;
}

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

.qualification__data {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.qualification__data.fade-in-item {
  animation: fadeInUp 0.8s ease forwards;
}

.qualification__card {
  background: var(--container-color);
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(135, 94, 232, 0.1);
  flex: 1;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.qualification__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
  border-radius: 0 4px 4px 0;
}

.qualification__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--first-color-alt);
}

.qualification__card-future {
  background: linear-gradient(135deg, rgba(135, 94, 232, 0.05), rgba(135, 94, 232, 0.1));
  border: 2px dashed var(--first-color-alt);
}

.qualification__card-future::before {
  background: linear-gradient(135deg, var(--first-color-alt), var(--first-color));
}

.qualification__card-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.qualification__company-logo {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(135, 94, 232, 0.3);
}

.qualification__company-logo-future {
  background: linear-gradient(135deg, var(--first-color-alt), var(--first-color-second));
}

/* Enhanced styling for different qualification types */
.qualification__company-logo.qualification__school-logo {
  background: linear-gradient(135deg, #2c5aa0, #1e3d72);
  position: relative;
}

.qualification__company-logo.qualification__school-logo::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background: linear-gradient(135deg, #3498db, #2980b9);
  border-radius: calc(1rem - 2px);
  z-index: -1;
}

.qualification__company-logo.qualification__school-logo i {
  color: #fff;
  font-size: 1.6rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.qualification__card-info {
  flex: 1;
}

.qualification__title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 0.5rem;
  color: var(--title-color);
  line-height: 1.3;
}

.qualification__badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
  color: #fff;
  border-radius: 20px;
  font-size: var(--smaller-font-size);
font-weight: var(--font-medium);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/*==================== CONTACT ME (ENHANCED) ====================*/
.contact {
  background: linear-gradient(135deg, #f8fafc 60%, #e0e7ef 100%);
  border-radius: 2.5rem;
  box-shadow: 0 8px 40px rgba(135, 94, 232, 0.08), 0 1.5px 8px rgba(0,0,0,0.04);
  padding: 3.5rem 2rem 3rem 2rem;
  max-width: 700px;
  margin: 3rem auto 2rem auto;
  position: relative;
  overflow: visible;
}

.contact__container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}

.contact__title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--first-color);
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
  text-align: center;
  font-family: 'Tektur', 'Poppins', Arial, sans-serif;
}

.contact__subtitle {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 2rem;
  text-align: center;
  opacity: 0.85;
}

.contact__form {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(135, 94, 232, 0.07);
  padding: 2.5rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

.contact__input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact__label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--first-color-alt);
  margin-bottom: 0.2rem;
  letter-spacing: 0.2px;
}

.contact__input, .contact__textarea {
  padding: 0.9rem 1.2rem;
  border-radius: 1rem;
  border: 1.5px solid #e0e7ef;
  background: #f8fafc;
  font-size: 1rem;
  color: var(--title-color);
  font-family: inherit;
  transition: border 0.2s, box-shadow 0.2s;
  outline: none;
  resize: none;
}

.contact__input:focus, .contact__textarea:focus {
  border: 1.5px solid var(--first-color);
  box-shadow: 0 0 0 2px rgba(135, 94, 232, 0.08);
}

.contact__textarea {
  min-height: 110px;
  max-height: 220px;
}

.contact__button {
  background: linear-gradient(90deg, var(--first-color), var(--first-color-alt));
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 2rem;
  padding: 1rem 2.5rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(135, 94, 232, 0.13);
  transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
  margin-top: 0.5rem;
  align-self: center;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.contact__button:hover, .contact__button:focus {
  background: linear-gradient(90deg, var(--first-color-alt), var(--first-color));
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 32px rgba(135, 94, 232, 0.18);
}

.contact__icon {
  font-size: 1.3rem;
  color: #fff;
  margin-right: 0.3rem;
}

.contact__socials {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.contact__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, #f8fafc 80%);
  box-shadow: 0 2px 8px rgba(135, 94, 232, 0.08);
  color: var(--first-color);
  font-size: 1.5rem;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  border: 1.5px solid #e0e7ef;
}

.contact__social-link:hover {
  background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
  color: #fff;
  transform: scale(1.13) translateY(-2px);
  box-shadow: 0 6px 24px rgba(135, 94, 232, 0.16);
}

/* Success and error messages */
.contact__message {
  text-align: center;
  font-size: 1rem;
  margin-top: 0.5rem;
  padding: 0.7rem 1rem;
  border-radius: 1rem;
  font-weight: 600;
  display: none;
}
.contact__message.success {
  background: linear-gradient(90deg, #28a745, #20c997);
  color: #fff;
  display: block;
}
.contact__message.error {
  background: linear-gradient(90deg, #e74c3c, #fd7e14);
  color: #fff;
  display: block;
}

/* Decorative floating icons */
.contact__decor {
  position: absolute;
  z-index: 0;
  opacity: 0.13;
  pointer-events: none;
}
.contact__decor--1 {
  top: -40px;
  left: -40px;
  font-size: 5rem;
  color: var(--first-color);
}
.contact__decor--2 {
  bottom: -35px;
  right: -35px;
  font-size: 4.5rem;
  color: var(--first-color-alt);
}

/* Responsive Design for Contact Section */
@media screen and (max-width: 900px) {
  .contact {
    max-width: 98vw;
    padding: 2.5rem 0.5rem 2rem 0.5rem;
  }
  .contact__form {
    padding: 2rem 0.7rem 1.5rem 0.7rem;
  }
}
@media screen and (max-width: 600px) {
  .contact {
    border-radius: 1.2rem;
    padding: 1.5rem 0.2rem 1.2rem 0.2rem;
  }
  .contact__form {
    border-radius: 1rem;
    padding: 1.2rem 0.2rem 1rem 0.2rem;
  }
  .contact__title {
    font-size: 1.4rem;
  }
}

.qualification__badge-current {
  background: linear-gradient(135deg, #28a745, #20c997);
}

.qualification__badge-future {
  background: linear-gradient(135deg, #6c757d, #495057);
}

.qualification__badge-goal {
  background: linear-gradient(135deg, #ffc107, #fd7e14);
}

.qualification__subtitle {
  display: block;
  font-size: var(--normal-font-size);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.qualification__subtitle a {
  text-decoration: none;
  color: var(--first-color);
  font-weight: var(--font-medium);
  transition: all 0.3s ease;
}

.qualification__subtitle a:hover {
  color: var(--first-color-alt);
  text-decoration: underline;
}

.qualification__calender {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  font-weight: var(--font-medium);
}

.qualification__calender i {
  color: var(--first-color);
}

.qualification__card-description {
  margin-top: 1rem;
}

.qualification__card-description p {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.qualification__skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.qualification__tag {
  padding: 0.4rem 0.8rem;
  background: rgba(135, 94, 232, 0.1);
  color: var(--first-color);
  border-radius: 20px;
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  border: 1px solid rgba(135, 94, 232, 0.2);
  transition: all 0.3s ease;
}

.qualification__tag:hover {
  background: var(--first-color);
  color: #fff;
  transform: translateY(-2px);
}

.qualification__timeline-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 2rem;
  position: relative;
}

.qualification__rounder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 16px rgba(135, 94, 232, 0.3);
  position: relative;
  z-index: 2;
}

.qualification__rounder-end {
  background: linear-gradient(135deg, #28a745, #20c997);
}

.qualification__line {
  width: 2px;
  height: 60px;
  background: linear-gradient(180deg, var(--first-color), var(--first-color-alt));
  position: relative;
}

.qualification__timeline-end .qualification__line {
  display: none;
}

.qualification [data-content] {
  display: none;
}

.qualification__active[data-content] {
  display: block;
  animation: fadeIn 0.6s ease;
}

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

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

/* Enhanced animations for qualification section */
.qualification__container {
  opacity: 0;
  transform: translateY(40px);
  animation: slideUpFadeIn 0.8s ease 0.3s forwards;
}

@keyframes slideUpFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger animation for qualification items */
.qualification__data:nth-child(1) {
  animation-delay: 0.1s;
}

.qualification__data:nth-child(2) {
  animation-delay: 0.3s;
}

.qualification__data:nth-child(3) {
  animation-delay: 0.5s;
}

/* Add subtle glow effect to active tab */
.qualification__button.qualification__active {
  box-shadow: 0 8px 30px rgba(135, 94, 232, 0.3), 
              0 0 20px rgba(135, 94, 232, 0.2);
}

/* Smooth transitions for all interactive elements */
.qualification__tag,
.qualification__card,
.qualification__button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Add loading state for qualification cards */
.qualification__card {
  position: relative;
  overflow: hidden;
}

.qualification__card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(135, 94, 232, 0.1), 
    transparent);
  transition: left 0.6s ease;
}

.qualification__card:hover::after {
  left: 100%;
}

/* Enhanced focus states for accessibility */
.qualification__button:focus,
.qualification__tag:focus {
  outline: 2px solid var(--first-color);
  outline-offset: 2px;
}

.qualification__button:focus {
  box-shadow: 0 0 0 3px rgba(135, 94, 232, 0.2);
}

/*==================== SERVICES ====================*/

.services__container {
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}

.services__content {
  position: relative;
  background-color: var(--container-color);
  padding: 3.5rem 0.5rem 1.25rem 1.5rem;
  border-radius: 0.25rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  transition: 0.3s;
}

.services__content:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.services__icon {
  display: block;
  font-size: 1.5rem;
  color: var(--first-color);
  margin-bottom: var(--mb-1);
}

.services__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  font-weight: var(--font-medium);
}

.services__button {
  cursor: pointer;
  font-size: var(--small-font-size);
  padding:5px
}

.services__button:hover .button__icon {
  transform: translateX(0.25rem);
}

.services__modal {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transform: 0.3s;
}

.services__modal-content {
  position: relative;
  background-color: var(--container-color);
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.services__modal-services {
  row-gap: 1rem;
}

.services__modal-service {
  display: flex;
}

.services__modal-title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-1-5);
}

.services__modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--first-color);
  cursor: pointer;
}

.services__modal-icon {
  color: var(--first-color);
  margin-right: var(--mb-0-25);
}

/* Active Modal */

.active-modal {
  opacity: 1;
  visibility: visible;
}

.disable-scroll {
  overflow: hidden;
}

/*==================== PORTFOLIO ====================*/

.portfolio__container {
  overflow: initial;
}

.portfolio__content {
  padding: 0 1.5rem;
}

.portfolio__img {
  width: 265px;
  border-radius: 0.5rem;
  justify-self: center;
}

.portfolio__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-5);
}

.portfolio__description {
  margin-bottom: var(--mb-0-75);
}

.portfolio__button:hover .button__icon {
  transform: translateX(0.25rem);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  content: "";
}

.swiper-portfolio-icon {
  font-size: 2rem;
  color: var(--first-color);
}

.swiper-button-prev {
  left: -0.5rem;
}

.swiper-button-next {
  right: -0.5rem;
}

.swiper-container-horizontal > .swiper-pagination-bullets {
  bottom: 0.5rem;
}

.swiper-pagination-bullet-active {
  background-color: var(--first-color);
}

.swiper-button-prev,
.swiper-button-next,
.swiper-pagination-bullet {
  outline: none;
}
/*==================== PROJECT IN MIND ====================*/

.project {
  text-align: center;
}
.project__bg {
  background-color: var(--first-color-second);
  padding-top: 3rem;
}
.project__title {
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-0-75);
}
.project__description {
  margin-bottom: var(--mb-1-5);
}
.project__title,
.project__description {
  color: #fff;
}
.project__img {
  width: 232px;
  justify-self: center;
}

/* Responsive: My Projects section for mobile */
@media screen and (max-width: 600px) {
  .project__container {
    grid-template-columns: 1fr !important;
    padding: 1.5rem 0.5rem 0 !important;
    column-gap: 0 !important;
  }
  .project__img {
    width: 90vw !important;
    max-width: 320px !important;
    min-width: 160px !important;
    margin: 0 auto 1rem auto !important;
    display: block !important;
  }
  .project__bg {
    padding-top: 1.5rem !important;
  }
  .project__title {
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem !important;
  }
  .project__description {
    font-size: 0.95rem !important;
    margin-bottom: 1rem !important;
  }
  .project {
    text-align: center !important;
    padding: 0 0.5rem !important;
  }
}

/*==================== TESTIMONIAL ====================*/

/*==================== CONTACT ME ====================*/

.contact__container {
  row-gap: 3rem;
}
.contact__information {
  display: flex;
  margin-bottom: var(--mb-2);
}
.contact__icon {
  font-size: 2rem;
  color: var(--first-color);
  margin-right: var(--mb-0-75);
}
.contact__title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
}
.contact__subtitle {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}
.contact__subtitle a {
  text-decoration: none;
  color: var(--text-color-light)
}
.contact__subtitle a:hover {
  color: var(--first-color);
}
.contact__content {
  background-color: var(--input-color);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem 0.25rem;
}
.contact__label {
  font-size: var(--smaller-font-size);
  color: var(--title-color);
}
.contact__input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background-color: var(--input-color);
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  border: none;
  outline: none;
  padding: 1.1rem 1.7rem 1.1rem 1.7rem;
  font-size: 1.22rem;
  overflow-x: auto;
  text-overflow: ellipsis;
}

/*==================== FOOTER ====================*/


/* Modern, Animated Footer */
.footer {
  padding-top: 2rem;
  background: linear-gradient(135deg, #b16cea 0%, #ff5e69 50%, #ff8a56 100%);
  position: relative;
  overflow: hidden;
  animation: footerFadeIn 1.2s cubic-bezier(.77,0,.18,1);
}
@keyframes footerFadeIn {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
.footer__bg {
  background: rgba(30, 30, 60, 0.92);
  border-radius: 2.5rem 2.5rem 0 0;
  box-shadow: 0 -8px 32px 0 rgba(177,108,234,0.15);
  padding: 2.5rem 0 3.5rem;
  position: relative;
  z-index: 1;
}
.footer__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.title-highlight {
  font-family: 'Tektur', 'Libertinus Mono', monospace;
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #b16cea 0%, #ff5e69 50%, #ff8a56 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  margin-bottom: 0.5rem;
  animation: fadeInUp 1.2s 0.2s both;
}
.footer__subtitle {
  color: #fff;
  font-size: 1.1rem;
  opacity: 0.85;
  font-family: 'Fira Mono', 'Consolas', monospace;
  animation: fadeInUp 1.2s 0.4s both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  animation: fadeInUp 1.2s 0.6s both;
}
.footer__link {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}
.footer__link::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #b16cea 0%, #ff5e69 100%);
  transition: width 0.3s;
  position: absolute;
  left: 0;
  bottom: -3px;
  border-radius: 2px;
}
.footer__link:hover {
  color: #ff8a56;
}
.footer__link:hover::after {
  width: 100%;
}
.footer__socials {
  display: flex;
  gap: 1.2rem;
  animation: fadeInUp 1.2s 0.8s both;
}
.footer__social {
  color: #fff;
  font-size: 1.7rem;
  background: linear-gradient(135deg, #b16cea 0%, #ff5e69 100%);
  border-radius: 50%;
  padding: 0.5rem;
  box-shadow: 0 2px 12px 0 rgba(177,108,234,0.15);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}
.footer__social:hover {
  color: #fff;
  background: linear-gradient(135deg, #ff8a56 0%, #b16cea 100%);
  transform: translateY(-6px) scale(1.13) rotate(-6deg);
  box-shadow: 0 8px 32px 0 rgba(255,94,105,0.18);
}
.footer__social:active {
  transform: scale(0.95);
}
.footer__copy {
  font-size: 0.98rem;
  text-align: center;
  color: #fff;
  opacity: 0.7;
  margin-top: 2.5rem;
  letter-spacing: 1.2px;
  animation: fadeInUp 1.2s 1s both;
}

/* Animated floating gradient shapes */
.footer::before, .footer::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  z-index: 0;
}
.footer::before {
  width: 320px;
  height: 320px;
  left: -120px;
  bottom: -120px;
  background: linear-gradient(135deg, #b16cea 0%, #ff5e69 100%);
  animation: floatShape1 8s ease-in-out infinite alternate;
}
.footer::after {
  width: 220px;
  height: 220px;
  right: -80px;
  top: -80px;
  background: linear-gradient(135deg, #ff8a56 0%, #b16cea 100%);
  animation: floatShape2 10s ease-in-out infinite alternate;
}
@keyframes floatShape1 {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-40px) scale(1.08); }
}
@keyframes floatShape2 {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(40px) scale(1.12); }
}

/*========== SCROLL UP ==========*/

.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  background-color: var(--first-color);
  opacity: 0.8;
  padding: 0 0.3rem;
  border-radius: 0.4rem;
  z-index: var(--z-tooltip);
  transform: 0.4s;
}
.scrollup:hover {
  background-color: var(--first-color-alt);

}
.scrollup__icon {
  font-size: 1.5rem;
  color: #fff;
}

/* Show scroll */

.show-scroll {
  bottom: 5rem;
}

/*========== SCROLL BAR ==========*/

::-webkit-scrollbar {
  width: 0.6rem;
  background-color: var(--scroll-bar-color);
  border-radius: 0.5rem;
}
::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb-color);
  border-radius: 0.5rem;
}
::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-color-light);
}

/*==================== MEDIA QUERIES ====================*/

/* For small devices */

@media screen and (max-width: 350px) {
  .loader {
    font-size: 11vh;
  }
  .container {
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }
  .nav__menu {
    padding: 2rem 0.25rem 4rem;
  }
  .nav__list {
    column-gap: 0;
  }
  .home__content {
    grid-template-columns: 0.25fr 3fr;
  }
  .home__blob {
    width: 180px;
  }
  .qualification__data {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  
  .qualification__tabs {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .qualification__button {
    min-width: 280px;
    justify-content: center;
    padding: 1.25rem 1.5rem;
  }
  
  .qualification__timeline-connector {
    order: -1;
    margin: 0 0 1rem 0;
    flex-direction: row;
  }
  
  .qualification__line {
    width: 60px;
    height: 2px;
    margin: 0 1rem;
  }
  
  .qualification__card {
    padding: 1.5rem;
  }
  
  .qualification__card-header {
    gap: 1rem;
  }
  
  .qualification__company-logo {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .qualification__button-content {
    text-align: center;
  }
  
  .qualification__skills-tags {
    justify-content: center;
  }
  .services__container {
    grid-template-columns: max-content;
    justify-content: center;
  }
  .services__content {
    padding-right: 3.5rem;
  }
  .services__modal {
    padding: 0 0.5rem;
  }
  .project__img {
    width: 200px;
  }
  
  .about__buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  
  .about__button-primary,
  .about__button-secondary {
    width: 100%;
    max-width: 250px;
    min-width: unset;
  }
}

@media screen and (min-width: 351px) {
  .loader {
    font-size: 13vh;
  }
}

/* For medium devices */

@media screen and (min-width: 568px) {
  .loader {
    font-size: 14vh;
  }
  .home__content {
    grid-template-columns: max-content 1fr 1fr;
  }
  .home__data {
    grid-column: initial;
  }
  .home__img {
    order: 1;
    justify-self: center;
  }
  .about__container,
  .project__container,
  .portfolio__content,
  .contact__container,
  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
  .qualification__sections {
    display: grid;
    grid-template-columns: 0.6fr;
    justify-content: center;
  }
  .swiper-container-horizontal > .swiper-pagination-bullets {
    bottom: -1.5rem;
  }
}

@media screen and (min-width: 768px) {
  .loader {
    font-size: 16vh;
  }
  .container {
    margin-left: auto;
    margin-right: auto;
  }
  body {
    margin: 0;
  }
  .section {
    padding: 6rem 0 2rem;
  }
  .section__subtitle {
    margin-bottom: 4rem;
  }
  .header {
    top: 0;
    bottom: initial;
  }
  .header,
  .main,
  .footer__container {
    padding: 0 1rem;
  }
  .nav {
    height: calc(var(--header-height) + 1.5rem);
    column-gap: 1rem;
  }
  .nav__icon,
  .nav__close,
  .nav__toggle {
    display: none;
  }
  .nav__list {
    display: flex;
    column-gap: 2rem;
  }
  .nav__menu {
    margin-left: auto;
  }
  .change-theme {
    margin: 0;
  }
  .home__container {
    row-gap: 5rem;
  }
  .home__content {
    padding-top: 5.5rem;
    column-gap: 2rem;
  }
  .home__blob {
    width: 270px;
  }
  .home__scroll {
    display: block;
  }
  .home__scroll-button {
    margin-left: 3rem;
  }
  .about__container {
    grid-template-columns: 1fr 1.2fr;
    column-gap: 4rem;
    align-items: start;
  }
  
  .about__img-wrapper {
    position: sticky;
    top: 2rem;
  }
  
  .about__img-background {
    width: 350px;
    height: 350px;
  }
  
  .about__img {
    width: 320px;
    height: 320px;
  }
  
  .about__stats {
    margin-top: 2rem;
  }
  
  .about__info-cards {
    grid-template-columns: 1fr;
  }
  
  .about__description {
    text-align: left;
    font-size: var(--normal-font-size);
  }
  
  .about__buttons {
    justify-content: flex-start;
    margin-top: 2rem;
  }
  
  .about__timeline-item {
    padding-left: 4rem;
  }
  
  .about__timeline::before {
    left: 30px;
  }
  
  .about__timeline-marker {
    left: 22px;
  }
  .qualification__tabs {
    justify-content: center;
    gap: 1.5rem;
  }
  .qualification__button {
    min-width: 200px;
  }
  .qualification__sections {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
  }
  .qualification__timeline-connector {
    margin: 0 1.5rem;
  }
  /* .services__container{
        grid-template-columns: repeat(2, 218px);
        justify-self: center;
    } */
  .services__icon {
    font-size: 2rem;
  }
  .services__content {
    padding: 6rem 0 2rem 2.5rem;
  }
  .services__modal-content {
    width: 450px;
  }
  .project__img {
    width: 320px;
  }
  .portfolio__content {
    align-items: center;
  }
  .project {
    text-align: initial;
  }
  .project__bg {
    background: none;
  }
  .project__container {
    background-color: var(--first-color-second);
    border-radius: 1rem;
    padding: 3rem 2.5rem 0;
    grid-template-columns: 1fr max-content;
    column-gap: 3rem;
  }
  .project__data {
    padding-top: 0.8rem;
  }
  .swiper-container-horizontal > .swiper-pagination-bullets {
    bottom: -2rem;
  }
  .footer__container {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer__bg {
    padding: 3rem 0 3.5rem;
  }
  .footer__links {
    flex-direction: row;
    column-gap: 2rem;
  }
  .footer__socials {
    justify-self: flex-end;
  }
  .footer__copy {
    margin-top: 4.5rem;
  }
}

/* For large devices */

@media screen and (min-width: 1024px) {
  .loader {
    font-size: 20vh;
  }
  .header,
  .main,
  .footer__container {
    padding: 0;
  }
  .home__blob {
    width: 320px;
  }
  .home__social {
    transform: translateX(-6rem);
  }
  .portfolio__content {
    column-gap: 5rem;
  }
  .portfolio__img {
    width: 350px;
  }
  .swiper-portfolio-icon {
    font-size: 3.5rem;
  }
  .swiper-button-prev {
    left: -3.5rem;
  }
  .swiper-button-next {
    right: -3.5rem;
  }
  .swiper-container-horizontal > .swiper-pagination-bullets {
    bottom: -4.5rem;
  }
  .contact__form {
    width: 100%;
    max-width: 680px;
    min-width: 320px;
    margin: 0 auto;
    padding: 32px 28px 28px 28px;
/* Enhanced Contact Form Textarea */
.contact__textarea-enhanced {
  min-height: 200px !important;
  font-size: 1.22rem !important;
  padding: 1.2rem 1.7rem 1.2rem 1.7rem !important;
  resize: vertical;
}
  }
  .contact__inputs {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-group button {
    border: none;
  }
}

/* Center the image in Portfolio 3 */
.portfolio-3 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.portfolio-3 .portfolio__img {
  max-width: 100%;
  height: auto;
  border-radius: 25px;
}

/*========== Dark theme About section fixes ==========*/

body.dark-theme .about__info-card {
  background: linear-gradient(145deg, var(--container-color), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.dark-theme .about__stat-item {
  background: linear-gradient(145deg, var(--container-color), rgba(255, 255, 255, 0.02));
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.dark-theme .about__img-frame {
  background: linear-gradient(145deg, var(--container-color), rgba(255, 255, 255, 0.02));
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    inset 0 -5px 10px rgba(0, 0, 0, 0.2);
}

/* Styling for qualification strand information */
.qualification__strand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(135, 94, 232, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(135, 94, 232, 0.2);
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  color: var(--first-color);
}

.qualification__strand i {
  color: var(--first-color);
  font-size: 1rem;
}

.qualification__strand span {
  font-style: italic;
}

/* Alternative Logo Styles (Icon-only) */
.logo-container.icon-only {
  justify-content: center;
}

.logo-container.icon-only .logo-text {
  display: none;
}

.logo-container.icon-only .logo-image {
  width: 40px;
  height: 40px;
}

/* Alternative Logo Styles (Text with Icon Background) */
.logo-container.text-with-bg {
  background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
  padding: 0.5rem 1rem;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.logo-container.text-with-bg .logo-image {
  display: none;
}

.logo-container.text-with-bg .logo-text {
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

.nav__logo:hover .logo-container.text-with-bg {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Extra mobile responsiveness for CERTIFICATES section */
@media screen and (max-width: 480px) {
  .certificates__slider-container {
    padding: 0 5px !important;
    max-width: 100vw;
  }
  .certificate__card {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
    max-width: 100%;
    min-width: 0;
    min-height: 250px;
    gap: 1rem;
  }
  .certificate__image-container {
    width: 100%;
    height: 150px;
    margin-bottom: 1rem;
  }
  .certificate__title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  .certificate__subtitle {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
  }
  .certificate__date {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
  }
  .certificate__info {
    text-align: center;
  }
  .certificate__actions {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
  .certificates__stats {
    flex-direction: column;
    gap: 1rem;
  }
  .stat__item {
    min-width: 90px;
    padding: 0.5rem;
  }
  .stat__number {
    font-size: 1.2rem;
  }
}

/* Certificates Pagination - Match Projects Section */
.certificates__slider-container .swiper-pagination,
.certificates__slider-container .certificates-pagination,
.certificates section .swiper-pagination,
#Cetificate .swiper-pagination {
  margin-top: 1.5rem !important;
  display: block !important;
  text-align: center !important;
  width: 100% !important;
  padding: 15px 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  top: auto !important;
  position: relative !important;
  opacity: 1 !important;
  visibility: visible !important;
  height: auto !important;
  z-index: 10 !important;
  pointer-events: auto !important;
  transform: none !important;
}

.certificates__slider-container .swiper-pagination .swiper-pagination-bullet,
.certificates__slider-container .swiper-pagination-bullet,
.certificates section .swiper-pagination-bullet,
#Cetificate .swiper-pagination-bullet,
.swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
  background-color: var(--first-color) !important;
  background: var(--first-color) !important;
  opacity: 0.4 !important;
  transition: all 0.3s ease !important;
  margin: 0 4px !important;
  position: relative !important;
  border-radius: 50% !important;
  display: inline-block !important;
  visibility: visible !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  transform: none !important;
  border: none !important;
  outline: none !important;
}

.certificates__slider-container .swiper-pagination .swiper-pagination-bullet-active,
.certificates__slider-container .swiper-pagination-bullet-active,
.certificates section .swiper-pagination-bullet-active,
#Cetificate .swiper-pagination-bullet-active,
.swiper-pagination-bullet-active {
  background-color: var(--first-color) !important;
  background: var(--first-color) !important;
  opacity: 1 !important;
  transform: scale(1.2) !important;
  visibility: visible !important;
}
