/* === Modern About Me Section === */
.about-section {
  background: #f8f7fc;
  border-radius: 2rem;
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.08);
  margin-bottom: 2rem;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 60px 40px;
}

.about-left, .about-right {
  flex: 1;
}

.about-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-left h2 {
  font-size: 2.2rem;
  color: #7c3aed;
  margin-bottom: 1.2rem;
  text-align: left;
}

.about-left p {
  font-size: 1.13rem;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 2rem;
  text-align: left;
}

.about-cards {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.card {
  flex: 1;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
  text-align: center;
  background: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.13);
}

.about-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-right img {
  width: 100%;
  max-width: 340px;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.13);
  object-fit: cover;
  aspect-ratio: 1/1.1;
}

@media (max-width: 900px) {
  .about-container {
    gap: 24px;
    padding: 32px 8px;
  }
  .about-right img {
    max-width: 220px;
    border-radius: 14px;
  }
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
    gap: 28px;
    padding: 20px 4px;
  }
  .about-left h2, .about-left p {
    text-align: center;
  }
  .about-cards {
    flex-direction: column;
    gap: 16px;
  }
  .about-right img {
    max-width: 180px;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .about-container {
    padding: 10px 0;
    gap: 12px;
  }
  .about-right img {
    max-width: 120px;
    border-radius: 10px;
  }
}
/* === Custom About Me Flexbox Layout === */
.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px;
  background: #fff;
  border-radius: 2rem;
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.08);
  margin-bottom: 2rem;
}

.about-image,
.about-text {
  flex: 1;
}

.about-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image img {
  width: 100%;
  max-width: 340px;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.13);
  object-fit: cover;
  aspect-ratio: 1/1.1;
}

.about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 1.5rem;
}

.about-text h2 {
  font-size: 2rem;
  color: #7c3aed;
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1.08rem;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
  .about-container {
    gap: 20px;
    padding: 24px 8px;
  }
  .about-text {
    padding: 0 0.5rem;
  }
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
    gap: 28px;
    padding: 20px 4px;
  }
  .about-image img {
    max-width: 220px;
    border-radius: 16px;
  }
  .about-text {
    padding: 0;
  }
}

@media (max-width: 480px) {
  .about-container {
    padding: 10px 0;
    gap: 16px;
  }
  .about-image img {
    max-width: 140px;
    border-radius: 12px;
  }
}
/* Floating WhatsApp Button */

.floating-whatsapp {
  position: fixed;
  right: 2.2rem;
  bottom: 2.2rem;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--first-color, #a78bfa);
  color: #fff;
  border-radius: 2.5rem;
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.13);
  padding: 0.7rem 1.3rem 0.7rem 0.9rem;
  font-weight: 600;
  font-size: 1.08rem;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  animation: whatsapp-pulse-theme 1.6s infinite;
}
.about.section {
  padding-bottom: 5rem !important;
}
.floating-whatsapp__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--first-color, #a78bfa);
  border-radius: 50%;
  width: 2.2rem;
  height: 2.2rem;
  font-size: 1.5rem;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.10);
}
.floating-whatsapp__text {
  display: inline-block;
  margin-left: 0.2rem;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.floating-whatsapp:hover {
  background: var(--first-color-alt, #7c3aed);
  transform: scale(1.07);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.18);
}
.floating-whatsapp:active {
  transform: scale(0.97);
}
@media (max-width: 600px) {
  .floating-whatsapp {
    right: 1rem;
    bottom: 1rem;
    padding: 1rem 1.2rem 1rem 1rem;
    font-size: 1.18rem;
  }
  .floating-whatsapp__icon {
    width: 2.7rem;
    height: 2.7rem;
    font-size: 1.8rem;
  }
  .floating-whatsapp__text {
    font-size: 1.13rem;
  }
}
@keyframes whatsapp-pulse-theme {
  0% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.13); }
  70% { box-shadow: 0 0 0 12px rgba(124, 58, 237, 0.07); }
  100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.13); }
}
.whatsapp__button {
  background-color: #25D366 !important;
  color: #fff !important;
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  transition: background 0.2s;
}
.whatsapp__button:hover {
  background-color: #128C7E !important;
  color: #fff !important;
}
/*=============== ACHIEVEMENTS & RECOGNITION ===============*/
.achievements__container {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}
.achievements__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.achievement__card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 4px 24px rgba(124,58,237,0.10);
  padding: 1.5rem 1.2rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 240px;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.achievement__card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(124,58,237,0.16);
}
.achievement__photo {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 1rem;
  border: 3px solid #ede9fe;
  box-shadow: 0 2px 12px rgba(124,58,237,0.10);
  margin-bottom: 1rem;
  background: #f3e8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.achievement__photo--icon {
  background: #f3e8ff;
  color: #7c3aed;
  font-size: 2.5rem;
  width: 90px;
  height: 90px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.achievement__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #7c3aed;
  margin-bottom: 0.3rem;
  text-align: center;
}
.achievement__desc {
  font-size: 0.98rem;
  color: #4b5563;
  text-align: center;
}

.achievement__details {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  font-size: 0.97rem;
  color: #6d28d9;
  text-align: center;
  margin-top: 0.5rem;
  transition: opacity 0.3s, max-height 0.3s;
}
.achievement__card:hover .achievement__details {
  opacity: 1;
  max-height: 120px;
}
/* ========== GOOGLE FONTS ========== */
@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@400;600&display=swap");

/* ========== ROOT VARIABLES ========== */
:root {
  --first-hue: 265;
  --sat: 80%;
  --lig: 60%;
  --first-color: hsl(var(--first-hue), var(--sat), var(--lig));          /* main purple */
  --first-color-alt: hsl(var(--first-hue), var(--sat), 50%);             /* darker purple */
  --title-color: #1f2933;
  --text-color: #4b5563;
  --text-color-light: #9ca3af;
  --body-color: #f5f3ff;                                                /* lavender bg */
  --container-color: #ffffff;
  --card-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  --body-font: "Quicksand", sans-serif;
  --font-semibold: 600;
  --normal-font-size: 1rem;
}

/* Responsive font sizes */
@media screen and (min-width: 968px) {
  :root {
    --biggest-font-size: 2.5rem;
    --h1-font-size: 2rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}

/* ========== RESET / BASE ========== */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body,
button,
input,
textarea {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background: linear-gradient(145deg, #f5f3ff 0%, #eef2ff 100%);
  color: var(--text-color);
  transition: background-color 0.4s ease, color 0.4s ease;
  min-height: 100vh;
  padding-top: 4.5rem; /* offset for fixed header */
  line-height: 1.6;
}

h1,
h2,
h3 {
  color: var(--title-color);
  font-weight: var(--font-semibold);
  letter-spacing: 0.5px;
  line-height: 1.3;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========== DARK MODE TOGGLE ========== */
.dark-mode-toggle {
  display: flex;
  align-items: center;
  margin-left: 1rem;
}

.toggle-icon {
  font-size: 1.5rem;
  cursor: pointer;
  color: #a855f7;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.toggle-icon .bx {
  display: none;
}

/* Show icons based on theme */
body.dark-mode .bx-sun {
  display: inline;
}
body.dark-mode .bx-moon {
  display: none;
}
body:not(.dark-mode) .bx-sun {
  display: none;
}
body:not(.dark-mode) .bx-moon {
  display: inline;
}

/* ========== LIGHT THEME VARIANT ========== */
body.light-theme {
  --body-color: #f3e8ff;
  --container-color: rgba(250, 245, 255, 0.95);
  --title-color: #111827;
  --text-color: #374151;
  --text-color-light: #9ca3af;
  --first-color: #7c3aed;
  --first-color-alt: #5b21b6;
  background: linear-gradient(145deg, #f9f5ff 0%, #eef2ff 100%);
}

/* ========== BUTTON ========== */
.button {
  background-color: var(--first-color);
  color: #fff;
  padding: 0.7rem 1.3rem;
  border-radius: 1rem;
  font-weight: var(--font-semibold);
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.25);
  transition: 0.3s ease;
}
.button:hover {
  background-color: var(--first-color-alt);
  transform: translateY(-2px);
}

/* ========== CARD / BOX ========== */
.card {
  background-color: var(--container-color);
  box-shadow: var(--card-shadow);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f3f4f6;
}
::-webkit-scrollbar-thumb {
  background-color: var(--first-color);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background-color: var(--first-color-alt);
}

/*=============== REUSABLE CLASSES UPDATED ===============*/
:root {
  --body-color: #ffffff;
  --section-bg: #f3e8ff;
  --text-color: #1f2933;
  --text-color-light: #6b7280;
  --first-color: #7c3aed;
  --h2-font-size: 2rem;
  --small-font-size: 0.9rem;
}

.dark-mode {
  --body-color: #0f172a;
  --section-bg: #020617;
  --text-color: #e5e7eb;
  --text-color-light: #9ca3af;
  --first-color: #c4b5fd;
}

.container {
  max-width: 1000px;
  padding: 0 0rem;
  margin: auto;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.main {
  overflow: hidden;
  background-color: var(--body-color);
  transition: background-color 0.3s ease;
}

.section {
  padding: 4rem 1rem;
  background-color: var(--section-bg);
  text-align: center;
  transition: background-color 0.3s ease;
}

.section__title,
.section__subtitle {
  text-align: center;
  color: var(--text-color);
}

.section__title {
  font-size: var(--h2-font-size);
  color: var(--first-color);
  letter-spacing: 0.6px;
  margin-bottom: 2.5rem;
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  font-style: italic;
}

/*=============== HEADER & NAV===============*/

/*=============== HEADER STYLES ===============*/
:root {
  --header-bg: rgba(255, 255, 255, 0.95);
  --header-shadow: 0 4px 12px rgba(124, 58, 237, 0.12);
  --nav-link-color: #111827;
  --nav-hover-bg: rgba(124, 58, 237, 0.08);
  --nav-hover-color: #7c3aed;
  --nav-active-gradient: linear-gradient(120deg, #7c3aed, #a855f7);
  --icon-color: #7c3aed;
}

.dark-mode {
  --header-bg: rgba(15, 23, 42, 0.9);
  --header-shadow: 0 4px 12px rgba(148, 163, 184, 0.1);
  --nav-link-color: #e5e7eb;
  --nav-hover-bg: rgba(148, 163, 184, 0.08);
  --nav-hover-color: #c4b5fd;
  --icon-color: #c4b5fd;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background-color: var(--header-bg);
  backdrop-filter: blur(12px);
  box-shadow: var(--header-shadow);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav {
  width: 100%;
  max-width: 1000px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.2rem;
}

.nav__icon-img {
  width: 40px;
  height: 60px;
  object-fit: contain;
}

.nav__logo {
  color: var(--icon-color);
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 1px;
  z-index: 1010;
}

.nav__logo:hover {
  color: var(--nav-hover-color);
}

.nav__toggle {
  display: none;
  font-size: 2rem;
  color: var(--icon-color);
  cursor: pointer;
  z-index: 1010;
}

.nav__menu {
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--nav-link-color);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  transition: 0.3s ease;
  text-decoration: none;
}

.nav__link i {
  font-size: 1.2rem;
  color: var(--icon-color);
}

.nav__link:hover {
  background-color: var(--nav-hover-bg);
  color: var(--nav-hover-color);
}

.active-link {
  background: var(--nav-active-gradient);
  color: #fff;
  font-weight: bold;
  box-shadow: 0 0 8px rgba(124, 58, 237, 0.4);
}

.nav {
  justify-content: space-between;
  padding-left: 0.5rem;
}

.nav__logo {
  color: var(--icon-color);
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 1px;
  z-index: 1010;
  margin: 0;
}

/* ===================== Responsive ===================== */
@media screen and (max-width: 768px) {
  .nav__toggle {
    display: block;
  }

  .nav__menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--header-bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding-top: 2rem;
    transition: right 0.4s ease;
    z-index: 1001;
  }

  .nav__menu.show-menu {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    gap: 1.5rem;
  }

  .nav__link {
    font-size: 1.2rem;
  }

  .nav__overlay {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 999;
  }

  .nav__overlay.active {
    display: block;
  }
}

/*=============== HOME SECTION ===============*/

.home__container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 4rem;
  padding: 4rem 1rem 2rem;
  text-align: center;
}

.home__data {
  max-width: 600px;
  margin: 0 auto;
}

.home__greeting,
.home__education {
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.home__greeting {
  color: var(--first-color);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.home__education {
  color: var(--text-color-light);
  font-size: var(--normal-font-size);
  margin-bottom: 2rem;
  font-style: italic;
}

.home__name {
  font-size: calc(var(--biggest-font-size) + 0.3rem);
  color: var(--first-color-alt);
  font-weight: var(--font-semibold);
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 4px rgba(15, 23, 42, 0.25);
}

.home__img {
  width: 280px;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.25);
  transition: transform 0.3s ease;
}

.home__img:hover {
  transform: scale(1.03);
}

.home__handle {
  transition: transform 0.3s ease;
}

.home__handle:hover {
  transform: translateY(-6px);
}

.home__button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* === SOCIALS === */
.home__social {
  position: absolute;
  bottom: 4rem;
  left: 1rem;
  display: grid;
  row-gap: 0.75rem;
}

.home__social-link {
  display: flex;
  align-items: center;
  padding: 0.4rem 0.6rem;
  background-color: var(--container-color);
  color: var(--first-color);
  font-size: 1.05rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
  transition: 0.3s ease;
}

.home__social-link:hover {
  background-color: var(--first-color);
  color: #fff;
  transform: translateX(4px);
}

.home__social::after {
  content: "";
  width: 36px;
  height: 1px;
  background-color: var(--first-color);
  transform: rotate(90deg) translate(18px, 4px);
}

.home__social-link.linkedin:hover {
  background-color: #0a66c2;
}
.home__social-link.github:hover {
  background-color: #000;
}
.home__social-link.twitter:hover {
  background-color: #1d9bf0;
}

/* === SCROLL === */
.home__scroll {
  position: absolute;
  right: -1.5rem;
  bottom: 4rem;
  display: grid;
  row-gap: 2rem;
  justify-items: center;
  color: var(--first-color);
  opacity: 0.85;
}

.home__scroll-icon {
  font-size: 1.3rem;
  animation: bounce 1.5s infinite;
}

.home__scroll-name {
  font-size: var(--smaller-font-size);
  transform: rotate(-90deg);
  letter-spacing: 1px;
  color: var(--text-color-light);
}

/* === BUTTONS === */
.button {
  background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0.9rem;
  font-weight: var(--font-semibold);
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.button:hover {
  background: linear-gradient(135deg, var(--first-color-alt), var(--first-color));
  transform: translateY(-2px);
}

.button--ghost {
  background-color: transparent;
  color: var(--first-color);
  border: 2px solid var(--first-color);
  padding: 0.65rem 1.1rem;
  border-radius: 0.9rem;
  transition: all 0.3s ease;
}

.button--ghost:hover {
  background-color: var(--first-color);
  color: #fff;
  transform: scale(1.05);
}

/* ========== RESPONSIVE BREAKPOINTS ========== */

/* Tablets */
@media screen and (max-width: 1024px) {
  .home__container {
    row-gap: 3rem;
    padding-top: 3rem;
  }

  .home__img {
    max-width: 240px;
    border-radius: 50%;
  }
}

/* Mobile */
@media screen and (max-width: 768px) {
  .home__img {
    width: 200px;
    border-radius: 50%;
  }

  .home__scroll,
  .home__social {
    display: none;
  }
}

/* Small Screens */
@media screen and (max-width: 480px) {
  .home__name {
    font-size: 2rem;
  }

  .home__education {
    font-size: 0.9rem;
  }

  .home__button {
    flex-direction: column;
    gap: 0.75rem;
  }

  .button,
  .button--ghost {
    width: 100%;
    text-align: center;
  }
}

/* ========== DARK MODE SUPPORT ========== */

:root {
  --body-color: #ffffff;
  --text-color-light: #6b7280;
  --container-color: #f3f4f6;
  --first-color: #7c3aed;
  --first-color-alt: #5b21b6;
}

[data-theme="dark"] {
  --body-color: #020617;
  --text-color-light: #9ca3af;
  --container-color: #020617;
  --first-color: #c4b5fd;
  --first-color-alt: #a855f7;
}

/* Gradient background and decorative divider for About section */
.about__bg {
  }

  /* About section: no image mode */
  .about__container--noimg {
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 0;
  }
  .about__container--noimg .about__data {
    align-items: center;
    width: 100%;
  }
  .about__container--noimg .about__info {
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
  }
  .about__container--noimg .about__description {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .about__container--noimg .about__divider {
    margin: 2rem 0 1.5rem 0;
  }
  .about__container--noimg .about__button-contact {
    display: block;
    margin: 2rem auto 0 auto;
  }

  /* Award photo styling */
  .about__award-photo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
  }
  .about__award-photo {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 1.2rem;
    border: 5px solid #ede9fe;
    box-shadow: 0 6px 32px rgba(124,58,237,0.13);
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  .about__award-photo:hover {
    transform: scale(1.04) rotate(-2deg);
    box-shadow: 0 12px 40px rgba(124,58,237,0.18);
  }
  .about__award-caption {
    margin-top: 0.7rem;
    font-size: 1rem;
    color: #7c3aed;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
  }

  /* Animated background shape for About section */

  /* Fade-in animation for About section */
  .about__fadein {
    opacity: 0;
    animation: aboutFadeIn 1.2s 0.2s forwards;
  }

  @keyframes aboutFadeIn {
    to { opacity: 1; }
  }

  /* Icon row divider */
  .about__icon-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 2rem;
    color: #a78bfa;
    margin-bottom: 1.5rem;
    opacity: 0.85;
  }

  /* Fun quote styling */
  .about__quote {
    margin: 2.5rem auto 0 auto;
    font-style: italic;
    color: #7c3aed;
    background: #f3e8ff;
    border-left: 4px solid #a78bfa;
    padding: 1rem 1.5rem;
    border-radius: 0.7rem;
    max-width: 500px;
    font-size: 1.08rem;
    box-shadow: 0 2px 12px rgba(124,58,237,0.07);
  }
  .about__quote span {
    color: #4b5563;
    font-size: 0.95em;
    margin-left: 0.5em;
  }

  /* Enhanced card hover for interest */
  .about__box-animate {
    box-shadow: 0 6px 24px rgba(124,58,237,0.13);
    transition: box-shadow 0.3s, transform 0.3s;
  }
  .about__box-animate:hover {
    box-shadow: 0 12px 32px rgba(124,58,237,0.18);
    transform: translateY(-10px) scale(1.04) rotate(-1deg);
  }
  background: linear-gradient(135deg, #ede9fe 0%, #f5f3ff 100%);
  border-radius: 2rem;
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.08);
  padding-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}

.about__img-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__img {
  border: 6px solid #fff;
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.15);
  z-index: 2;
  transition: transform 0.4s cubic-bezier(.4,2,.6,1);
}

.about__img-wrapper:hover .about__img {
  transform: scale(1.05) rotate(-2deg);
}

.about__img-decor {
  position: absolute;
  width: 120%;
  height: 120%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #c4b5fd33 60%, transparent 100%);
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
}

.about__divider {
  width: 100%;
  text-align: center;
  margin: 1.5rem 0 1rem 0;
  font-size: 2rem;
  color: #a78bfa;
  letter-spacing: 0.2em;
  opacity: 0.7;
}

.about__highlight {
  background: linear-gradient(90deg, #a78bfa 10%, #f472b6 90%);
  color: #fff;
  border-radius: 0.4em;
  padding: 0.1em 0.4em;
  font-weight: 600;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Animate About cards */
.about__box-animate {
  animation: aboutBoxFadeIn 0.7s cubic-bezier(.4,2,.6,1) both;
}

@keyframes aboutBoxFadeIn {
  0% { opacity: 0; transform: translateY(30px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/*=============== ABOUT SECTION ===============*/
:root {
  --container-color: #fdfdfd;
  --first-color: #7c3aed;
  --first-color-hover: #5b21b6;
  --title-color: #111827;
  --text-color: #4b5563;
  --text-color-light: #9ca3af;
  --box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  --radius: 1rem;
}

[data-theme="dark"] {
  --container-color: #020617;
  --title-color: #e5e7eb;
  --text-color: #d1d5db;
  --text-color-light: #9ca3af;
  --box-shadow: 0 6px 18px rgba(15, 23, 42, 0.6);
}

/* ========== About Section ========== */
.about__info {
  max-width: 100%;
  overflow-x: auto;
  margin-inline: auto;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.about__info::-webkit-scrollbar {
  height: 8px;
}

.about__info::-webkit-scrollbar-thumb {
  background-color: var(--first-color);
  border-radius: 10px;
}

.about__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 2rem 1rem;
}

.about__img {
  width: 250px;
  border-radius: 1.5rem;
  justify-self: center;
}

.about__data {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about__description {
  text-align: justify;
  margin-bottom: 1rem;
}

.about__box {
  background-color: var(--container-color);
  border-radius: 1rem;
  padding: 1.5rem;
  min-width: 220px;
  flex: 0 0 auto;
  text-align: center;
  box-shadow: 0 4px 8px rgba(15, 23, 42, 0.1);
  scroll-snap-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Hover effect for cards */
.about__box:hover {
  transform: translateY(-6px);
  background-color: #ede9fe;
}

[data-theme="dark"] .about__box:hover {
  background-color: #111827;
}

.about__icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--first-color);
}

.about__title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--title-color);
}

.about__subtitle {
  font-size: 0.9rem;
  color: var(--text-color-light);
}

/* Button styled like other site buttons */
.button {
  background-color: var(--first-color);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: var(--first-color-hover);
}

.button__icon {
  font-size: 1.2rem;
}

@media screen and (max-width: 768px) {
  .about__info {
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    overflow-x: unset;
  }

  .about__box {
    width: 100%;
    min-width: unset;
  }
}

@media (min-width: 768px) {
  .about__container {
    flex-direction: row;
    justify-content: center;
  }
}

/*=============== SERVICES ===============*/
.services__container {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.services__content {
  position: relative;
  width: 300px;
}

.services__card {
  background: #ede9fe;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.25);
  transition: transform 0.3s ease, border 0.3s ease;
}

.services__card:hover {
  transform: translateY(-10px);
  border: 2px solid #c4b5fd;
}

.services__icon {
  font-size: 2.5rem;
  color: #7c3aed;
}

.services__title {
  font-size: 1.2rem;
  color: #4c1d95;
  margin: 1rem 0;
}

.services__button {
  color: #7c3aed;
  cursor: pointer;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s;
}

.services__button:hover {
  color: #4c1d95;
}

.services__modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(124, 58, 237, 0.2);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease-in-out;
}

.services__modal.active-modal {
  display: flex;
}

.services__modal-content {
  background: #f5f3ff;
  padding: 2rem;
  border-radius: 1rem;
  width: 80%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.25);
  animation: slideUp 0.4s ease;
}
.about__button-contact {
  width: 150px;
}
.services__modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: #a855f7;
  cursor: pointer;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    background: rgba(124, 58, 237, 0);
  }
  to {
    background: rgba(124, 58, 237, 0.2);
  }
}
body.dark-mode .services__card {
  background: #020617;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.5);
  border: 1px solid #4c1d95;
}

body.dark-mode .services__card:hover {
  transform: translateY(-10px);
  border: 2px solid #a855f7;
}

body.dark-mode .services__icon {
  color: #c4b5fd;
}

body.dark-mode .services__title {
  color: #e5e7eb;
}

body.dark-mode .services__button {
  color: #c4b5fd;
}

body.dark-mode .services__button:hover {
  color: #a855f7;
}

body.dark-mode .services__modal {
  background: rgba(0, 0, 0, 0.7);
}

body.dark-mode .services__modal-content {
  background: #020617;
  color: #e5e7eb;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.8);
}

body.dark-mode .services__modal-close {
  color: #a855f7;
}

/*=============== SKILLS ===============*/
/* Skills Section */
:root {
  --bg-light: #f3e8ff;
  --bg-dark: #020617;
  --text-light: #6d28d9;
  --text-dark: #e9d5ff;
  --card-bg-light: rgba(255, 255, 255, 0.7);
  --card-bg-dark: rgba(15, 23, 42, 0.9);
  --border-light: #c4b5fd;
  --border-dark: #a855f7;
  --progress-light: #ddd6fe;
  --progress-dark: #111827;
  --progress-fill-light: #7c3aed;
  --progress-fill-dark: #a855f7;
}

body.dark-mode .skills {
  background-color: #020617;
}

body.dark-mode .section__title {
  color: var(--text-dark);
}

.skills {
  background-color: var(--bg-light);
  padding: 4rem 2rem;
  text-align: center;
  transition: background-color 0.3s ease;
}

.section__title {
  font-size: 2.5rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.skills__filter {
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.6rem 1.2rem;
  margin: 0.5rem;
  background: var(--border-light);
  border: none;
  border-radius: 25px;
  cursor: pointer;
  color: #fff;
  font-weight: bold;
  transition: background 0.3s;
}

body.dark-mode .filter-btn {
  background: var(--border-dark);
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--text-light);
}

body.dark-mode .filter-btn.active,
body.dark-mode .filter-btn:hover {
  background-color: var(--progress-fill-dark);
}

.skills__container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.skill__card {
  background: var(--card-bg-light);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 1.5rem;
  width: 250px;
  box-shadow: 0 8px 16px rgba(124, 58, 237, 0.2);
  transition: transform 0.3s ease, background 0.3s ease, border 0.3s;
  border: 2px solid var(--border-light);
}

body.dark-mode .skill__card {
  background: var(--card-bg-dark);
  border: 2px solid var(--border-dark);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.7);
}

.skill__card:hover {
  transform: translateY(-10px) scale(1.05);
}

.skill-bar {
  height: 10px;
  background: var(--progress-light);
  border-radius: 10px;
  margin-top: 0.5rem;
  overflow: hidden;
}

body.dark-mode .skill-bar {
  background: var(--progress-dark);
}

.progress {
  height: 100%;
  background: var(--progress-fill-light);
  border-radius: 10px;
  transition: width 1s ease-in-out;
}

body.dark-mode .progress {
  background: var(--progress-fill-dark);
}

body.dark .skills__content {
  background-color: #020617;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

body.dark .skills__title {
  color: #c4b5fd;
}

body.dark .skills__icon {
  color: #a855f7;
}

body.dark .skills__name {
  color: #e5e5e5;
}

/* EXPERIENCE TIMELINE */
.experience__container {
  display: flex;
  justify-content: center;
}

.experience__timeline {
  position: relative;
  width: 80%;
  padding-left: 2rem;
  border-left: 4px dashed #7c3aed;
}

.experience__item {
  position: relative;
  margin-bottom: 3rem;
}

/* Dot */
.experience__dot {
  position: absolute;
  left: -1.1rem;
  top: 0.8rem;
  width: 1.3rem;
  height: 1.3rem;
  background-color: #7c3aed;
  border: 3px solid #fff;
  border-radius: 50%;
  z-index: 10;
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.7);
}

/* Card */
.experience__card {
  background: rgba(243, 232, 255, 0.9);
  border: 1px solid #c4b5fd;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
}

.experience__card:hover {
  box-shadow: 0 16px 32px rgba(124, 58, 237, 0.35);
}

/* Texts */
.experience__title {
  font-size: 1.5rem;
  color: #4c1d95;
  margin-bottom: 0.3rem;
}

.experience__company {
  font-size: 0.95rem;
  font-weight: 500;
  color: #7c3aed;
  display: block;
  margin-bottom: 1rem;
}

.experience__description {
  font-size: 0.95rem;
  color: #111827;
  text-align: left;
}

.experience__item {
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* EDUCATION TIMELINE */
.education__container {
  display: flex;
  justify-content: center;
}

.education__timeline {
  position: relative;
  width: 80%;
  padding-right: 2rem;
  border-right: 4px dashed #7c3aed;
}

/* Items */
.education__item {
  position: relative;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

/* Dot on right */
.education__dot {
  position: absolute;
  right: -1.1rem;
  top: 0.8rem;
  width: 1.3rem;
  height: 1.3rem;
  background-color: #7c3aed;
  border: 3px solid #fff;
  border-radius: 50%;
  z-index: 10;
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.7);
}

/* Card */
.education__card {
  background: rgba(243, 232, 255, 0.9);
  border: 1px solid #c4b5fd;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
}

.education__card:hover {
  box-shadow: 0 16px 32px rgba(124, 58, 237, 0.35);
}

/* Text */
.education__title {
  font-size: 1.5rem;
  color: #4c1d95;
  margin-bottom: 0.3rem;
}

.education__institute {
  font-size: 0.95rem;
  font-weight: 500;
  color: #7c3aed;
  display: block;
  margin-bottom: 1rem;
}

.education__description {
  font-size: 0.95rem;
  color: #111827;
}

/* Animation */
@keyframes fadeInUp {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ACHIEVEMENTS ROOT */
:root {
  --ach-pink: var(--first-color, #7c3aed);
  --ach-pink-alt: var(--first-color-alt, #a855f7);
  --ach-bg-lite: rgba(243, 232, 255, 0.9);
  --ach-text-dark: var(--title-color, #1f2933);
  --ach-shadow: rgba(124, 58, 237, 0.25);
  --ach-gold: #ffd700;
  --ach-silver: #c0c0c0;
  --ach-rose: #c4b5fd;
}

/*=============== WORK SECTION ===============*/
:root {
  --first-color: #7c3aed;
  --first-color-alt: #a855f7;
  --container-color: #f3e8ff;
  --title-color: #4c1d95;
  --text-color-light: #c4b5fd;
  --body-color: #ffffff;
  --font-medium: 500;
  --font-semibold: 600;
  --h3-font-size: 1.2rem;
  --small-font-size: 0.9rem;
}

.work__container {
  padding-top: 2rem;
  padding-inline: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.work__filters {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin: 2rem 0;
}

.work__item {
  cursor: pointer;
  color: var(--title-color);
  padding: 0.5rem 1.25rem;
  font-weight: var(--font-medium);
  background-color: transparent;
  border: 2px solid var(--text-color-light);
  border-radius: 1.25rem;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s ease;
}

.work__item:hover,
.active-work {
  background-color: var(--first-color);
  color: var(--body-color);
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.5);
}

.work__card {
  background-color: var(--container-color);
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid var(--text-color-light);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: zoomIn 0.8s ease-in-out;
}

@keyframes zoomIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.work__card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.5);
}

.work__img {
  width: 100%;
  border-radius: 1rem;
  margin-bottom: 1rem;
  object-fit: cover;
  height: 15rem;
}

.work__title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-semibold);
  margin-bottom: 0.5rem;
  color: var(--title-color);
}

.work__button {
  display: inline-flex;
  align-items: center;
  font-size: var(--small-font-size);
  color: var(--first-color);
  gap: 0.35rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.work__button:hover {
  color: var(--first-color-alt);
}

.work__icon {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.work__button:hover .work__icon {
  transform: translateX(0.35rem);
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
  .work__filters {
    flex-direction: column;
    align-items: center;
  }

  .work__container {
    grid-template-columns: 1fr;
    padding-inline: 1rem;
  }
}

/* Ensure images look good on all screen sizes */
.work__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 1rem;
}

/* Default container style */
.work__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  padding: 2rem 2.5rem;
}

/* Medium devices */
@media screen and (max-width: 1024px) {
  .work__container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 1.5rem 2rem;
  }

  .work__img {
    height: 180px;
  }
}

/* Tablets and smaller */
@media screen and (max-width: 768px) {
  .work__filters {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .work__container {
    grid-template-columns: 1fr;
    padding-inline: 1.5rem;
    gap: 2rem;
  }

  .work__card {
    padding: 1.5rem;
  }

  .work__img {
    height: 170px;
  }
}

/* Mobile phones */
@media screen and (max-width: 480px) {
  .work__card {
    padding: 1.25rem;
  }

  .work__img {
    height: 150px;
  }

  .work__title {
    font-size: 1rem;
  }

  .work__button {
    font-size: 0.9rem;
  }
}

/* ACHIEVEMENTS SECTION */
/* Base styles */
.achievements {
  padding: 4rem 1.5rem;
  background: linear-gradient(145deg, #f5f3ff 0%, #e0e7ff 100%);
  text-align: center;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
}

.achievements .section__title {
  margin-bottom: 0.5rem;
  color: var(--ach-text-dark);
  font-size: 2rem;
}

.achievements .section__subtitle {
  display: block;
  margin-bottom: 2.5rem;
  color: var(--text-color-light, #9ca3af);
  font-style: italic;
  font-size: 1.1rem;
}

/* Filter buttons */
.achievements__filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  width: 100%;
}

.achievements__filter-btn {
  padding: 0.6rem 1.5rem;
  font-size: 0.95rem;
  border-radius: 2rem;
  border: 2px solid var(--ach-pink);
  background: transparent;
  color: var(--ach-pink);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.achievements__filter-btn:hover,
.achievements__filter-btn.is-active {
  background: var(--ach-pink);
  color: #fff;
  box-shadow: 0 0 12px var(--ach-shadow);
}

/* Grid layout */
.achievements__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  justify-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Achievement cards */
.achievement {
  perspective: 1200px;
  width: 100%;
  max-width: 320px;
  min-height: 380px;
  position: relative;
  animation: achFadeInUp 0.8s ease both;
  margin: 0 auto;
}

@keyframes achFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.achievement__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.2, 0.85, 0.3, 1.1);
}

.achievement.is-flipped .achievement__inner {
  transform: rotateY(180deg);
}

/* Card faces */
.achievement__face {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem 1.5rem;
  border-radius: 1.25rem;
  background: var(--ach-bg-lite);
  border: 2px solid #c4b5fd;
  box-shadow: 0 10px 24px var(--ach-shadow);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  overflow: hidden;
}

.achievement__front {
  z-index: 2;
  text-align: center;
}

.achievement__back {
  transform: rotateY(180deg);
  text-align: left;
  padding: 2rem;
}

.achievement__back h4 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
  color: #4c1d95;
}

.achievement__back ul {
  margin: 0 0 1.5rem;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.4;
}

.achievement__back li {
  margin-bottom: 0.4rem;
  list-style: disc;
}

.achievement__close-btn {
  align-self: flex-start;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  border: 1px solid var(--ach-pink);
  background: transparent;
  border-radius: 0.75rem;
  color: var(--ach-pink);
  cursor: pointer;
  transition: all 0.25s;
  margin-top: auto;
}
.achievement__close-btn:hover {
  background: var(--ach-pink);
  color: #fff;
}

/* Front content */
.achievement__icon-wrap {
  font-size: 2.5rem;
  color: var(--ach-pink);
  margin-bottom: 1rem;
  line-height: 1;
}

.achievement__title {
  font-size: 1.25rem;
  color: #4c1d95;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.achievement__mini {
  font-size: 0.95rem;
  color: #7c3aed;
  margin-bottom: 1.5rem;
}

.achievement__ribbon {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1.5rem;
  font-size: 0.85rem;
  border-radius: 2rem;
  color: #fff;
  background: var(--ach-pink);
  box-shadow: 0 4px 14px var(--ach-shadow);
  white-space: nowrap;
}

/* Tier colors */
.achievement.is-gold .achievement__ribbon {
  background: var(--ach-gold);
  color: #7a5a00;
}
.achievement.is-silver .achievement__ribbon {
  background: var(--ach-silver);
  color: #333;
}
.achievement.is-rose .achievement__ribbon {
  background: var(--ach-pink-alt);
}

/* Sparkles */
.achievement__sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.8) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.9) 0 2px, transparent 3px),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.6) 0 1.5px, transparent 2px);
  background-repeat: no-repeat;
  background-size: 4px 4px, 6px 6px, 5px 5px;
  opacity: 0;
  transition: opacity 0.3s;
}
.achievement:hover .achievement__sparkles {
  opacity: 1;
  animation: sparkleTwinkle 1.4s ease-in-out infinite alternate;
}
@keyframes sparkleTwinkle {
  from {
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.7));
  }
  to {
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 1));
  }
}

/* Responsive adjustments */

/* Tablets */
@media (max-width: 992px) {
  .achievements {
    padding: 3.5rem 1.25rem;
  }

  .achievements__grid {
    gap: 1.75rem;
  }
}

/* Small tablets and large phones */
@media (max-width: 768px) {
  .achievements {
    padding: 3rem 1rem;
  }

  .achievement {
    min-height: 360px;
  }

  .achievement__face {
    padding: 1.75rem 1.25rem;
  }

  .achievement__back {
    padding: 1.75rem 1.25rem;
  }

  .achievement__icon-wrap {
    font-size: 2.25rem;
  }

  .achievement__title {
    font-size: 1.15rem;
  }

  .achievement__mini {
    font-size: 0.9rem;
  }
}

/* Small phones */
@media (max-width: 576px) {
  .achievements {
    padding: 2.5rem 0.75rem;
  }

  .achievements__filter {
    gap: 0.5rem;
  }

  .achievements__filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .achievements__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .achievement {
    max-width: 100%;
    min-height: 340px;
  }

  .achievement__face {
    padding: 1.5rem 1rem;
  }

  .achievement__back {
    padding: 1.5rem 1rem;
  }

  .achievement__back h4 {
    font-size: 1.1rem;
  }

  .achievement__back ul {
    font-size: 0.85rem;
  }

  .achievement__ribbon {
    font-size: 0.75rem;
    padding: 0.35rem 1.25rem;
  }
}

/* Extra small phones */
@media (max-width: 380px) {
  .achievements .section__title {
    font-size: 1.75rem;
  }

  .achievements .section__subtitle {
    font-size: 1rem;
  }

  .achievement {
    min-height: 320px;
  }

  .achievement__ribbon {
    padding: 0.3rem 1rem;
  }
}

/* 🌙 Dark mode overrides for Achievements */
body.dark-mode .achievements {
  background: linear-gradient(145deg, #020617 0%, #020617 100%);
}

body.dark-mode .achievements .section__title,
body.dark-mode .achievement__title {
  color: #e9d5ff;
}

body.dark-mode .achievements .section__subtitle {
  color: #9ca3af;
}

body.dark-mode .achievement__face,
body.dark-mode .achievement__back {
  background: rgba(15, 23, 42, 0.9);
  border-color: #a855f7;
}

body.dark-mode .achievement__back h4 {
  color: #c4b5fd;
}

body.dark-mode .achievement__back ul {
  color: #e5e7eb;
}

body.dark-mode .achievement__close-btn {
  color: #e9d5ff;
  border-color: #e9d5ff;
}
body.dark-mode .achievement__close-btn:hover {
  background-color: #e9d5ff;
  color: #020617;
}

body.dark-mode .achievement__ribbon {
  color: #fff;
  box-shadow: 0 4px 14px rgba(165, 180, 252, 0.25);
}

/*=============== CONTACT SECTION ===============*/
.contact__container {
  display: grid;
  row-gap: 3rem;
  padding-bottom: 4rem;
}

.contact__title {
  text-align: center;
  font-size: var(--h3-font-size);
  color: var(--first-color);
  margin-bottom: 1.5rem;
}

.contact__info {
  display: grid;
  gap: 1.5rem;
}

.contact__card {
  background-color: var(--container-color);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  transition: all 0.3s ease;
}

.contact__card:hover {
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.15);
  transform: translateY(-4px);
}

.contact__card-icon {
  font-size: 2.5rem;
  color: var(--first-color);
  margin-bottom: 0.75rem;
}

.contact__card-title {
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  color: var(--title-color);
  margin-bottom: 0.25rem;
}

.contact__card-data {
  font-size: var(--small-font-size);
  color: var(--text-color);
  margin-bottom: 0.75rem;
}

.contact__button {
  font-size: var(--small-font-size);
  color: var(--first-color);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact__button:hover .contact__button-icon {
  transform: translateX(0.3rem);
}

.contact__button-icon {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.contact__form-div {
  position: relative;
  margin-bottom: 2rem;
  height: 4.25rem;
}

.contact__form-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid var(--text-color-light);
  background-color: var(--input-bg-color, #fff);
  border-radius: 0.75rem;
  padding: 1.5rem;
  font-size: var(--normal-font-size);
  color: var(--text-color);
  outline: none;
  z-index: 1;
  transition: border 0.3s ease;
}

.contact__form-input:focus {
  border-color: var(--first-color);
}

.contact__form-tag {
  position: absolute;
  top: -0.75rem;
  left: 1.25rem;
  font-size: var(--smaller-font-size);
  padding: 0.25rem;
  background-color: var(--body-color);
  z-index: 10;
  color: var(--text-color);
}

.contact__form-area {
  height: 17rem;
}

.contact__form-area textarea {
  resize: none;
}

/* ========== FOOTER ========== */
.footer {
  background-color: var(--first-color);
}

.footer__container {
  padding: 2rem 0 0.1rem;
}

.footer__title,
.footer__link {
  color: var(--body-color);
}

.footer__title {
  text-align: center;
  margin-bottom: 2rem;
}

.footer__list {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer__social {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 1rem;
}

.footer__social-link {
  background-color: var(--body-color);
  color: var(--first-color);
  padding: 0.5rem;
  border-radius: 0.5rem;
  font-size: 1.25rem;
  display: inline-flex;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.footer__social-link:hover {
  transform: scale(1.1);
}

/* Footer copyright */
.footer__copy {
  display: block;
  margin-top: 4.5rem;
  color: var(--container-color);
  text-align: center;
  font-size: var(--smaller-font-size);
  margin-bottom: 2rem;
}

/* ========== DARK MODE: FOOTER ========== */
body.dark-mode .footer {
  background: linear-gradient(to right, #020617, #020617);
  border-top: 1px solid #111827;
  color: #e5e7eb;
}

body.dark-mode .footer__title {
  color: #ffffff;
}

body.dark-mode .footer__link {
  color: #bbbbbb;
  transition: color 0.2s ease;
}

body.dark-mode .footer__link:hover {
  color: #a855f7;
}

body.dark-mode .footer__social-link {
  background-color: #020617;
  color: #c4b5fd;
  border: 1px solid #111827;
}

body.dark-mode .footer__social-link:hover {
  background-color: #7c3aed;
  color: #fff;
  transform: scale(1.1);
}

/* Brand hover overrides */
body.dark-mode .footer__social-link:nth-child(1):hover {
  background-color: #4267b2;
  color: #fff;
}

body.dark-mode .footer__social-link:nth-child(2):hover {
  background-color: #1da1f2;
  color: #fff;
}

body.dark-mode .footer__social-link:nth-child(3):hover {
  background-color: #e1306c;
  color: #fff;
}

body.dark-mode .footer__social-link:nth-child(4):hover {
  background-color: #0a66c2;
  color: #fff;
}

body.dark-mode .footer__social-link:nth-child(5):hover {
  background-color: #333;
  color: #fff;
}

body.dark-mode .footer__social-link:nth-child(6):hover {
  background-color: #ffa116;
}

/* LeetCode logo hover effect */
body.dark-mode .footer__social-link:nth-child(6) img {
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

body.dark-mode .footer__social-link:nth-child(6):hover img {
  filter: grayscale(0%);
}

.contact__card-icon,
.contact__button {
  transition: color 0.3s ease;
}

/* Email - red or blueish */
.contact__card.email:hover .contact__card-icon,
.contact__card.email:hover .contact__button {
  color: #d44638;
}

/* WhatsApp - green */
.contact__card.whatsapp:hover .contact__card-icon,
.contact__card.whatsapp:hover .contact__button {
  color: #25d366;
}

/* Twitter - blue */
.contact__card.twitter:hover .contact__card-icon,
.contact__card.twitter:hover .contact__button {
  color: #1da1f2;
}

.footer__social-link {
  background-color: #fff;
  padding: 0.5rem;
  border-radius: 0.5rem;
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.footer__social {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 1rem;
}

.footer__social-item {
  transition: transform 0.3s ease;
}

.footer__social-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.footer__social-link:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Icon colors on hover */
.footer__social-link:hover .bxl-facebook {
  color: #3b5998;
}

.footer__social-link:hover .bxl-twitter {
  color: #1da1f2;
}

.footer__social-link:hover .bxl-linkedin {
  color: #0077b5;
}

.footer__social-link:hover .bxl-instagram {
  color: #e1306c;
}

.footer__social-link:hover .bxl-github {
  color: #333;
}

/* LeetCode logo hover effect */
.footer__social-link img {
  transition: transform 0.3s ease;
}

.footer__social-link:hover img {
  transform: scale(1.1);
}

.work__links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.work__btn {
  text-decoration: none;
  padding: 0.5rem 1rem;
  background-color: var(--first-color);
  color: white;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.work__btn:hover {
  background-color: hsl(var(--first-hue), var(--sat), 50%);
}

.project__img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 1rem;
}

.services__modal-description {
  margin-bottom: 20px;
  text-align: left;
}

html,
body {
  overflow-x: hidden;
}
/* =========================================
   🔧 RESPONSIVE TWEAKS / FIXES (ADD AT END)
   ========================================= */

/* Tablet & small laptop tweaks */
@media screen and (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }

  .section {
    padding: 3rem 1.25rem;
  }

  .home__container {
    padding: 3rem 1.25rem 2rem;
  }

  .work__container {
    padding: 2rem 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .skills {
    padding: 3rem 1.5rem;
  }
}

/* Main mobile breakpoint */
@media screen and (max-width: 768px) {
  /* Make generic container breathe */
  .container {
    padding: 0 1.25rem;
  }

  /* Experience & Education timelines become full-width, stacked */
  .experience__container,
  .education__container {
    justify-content: flex-start;
  }

  .experience__timeline,
  .education__timeline {
    width: 100%;
    padding: 0 1.25rem;
  }

  .experience__timeline {
    border-left: 3px dashed #7c3aed;
  }

  .education__timeline {
    border-right: none;
    border-left: 3px dashed #7c3aed;
    padding-left: 1.25rem;
    padding-right: 0;
  }

  /* Move education dots to left so they don't overflow */
  .education__dot {
    right: auto;
    left: -1rem;
  }

  /* Cards: slightly tighter padding */
  .experience__card,
  .education__card {
    padding: 1.25rem;
  }

  /* Services: cards use full width */
  .services__container {
    gap: 1.5rem;
  }

  .services__content {
    width: 100%;
  }

  /* Achievements padding */
  .achievements {
    padding: 3rem 1.25rem;
  }

  /* Contact – stack nicely */
  .contact__container {
    row-gap: 2.5rem;
    padding: 0 0 3rem;
  }
}

/* Small phones */
@media screen and (max-width: 480px) {
  html {
    font-size: 90%;
  }

  .section {
    padding: 2.5rem 1rem;
  }

  .home__container {
    padding: 2.5rem 1rem 1.5rem;
  }

  .work__container {
    padding: 1.5rem 1rem;
    gap: 1.5rem;
  }

  .skills,
  .achievements {
    padding: 2.5rem 1rem;
  }

  .experience__timeline,
  .education__timeline {
    padding: 0 1rem;
  }

  .experience__card,
  .education__card {
    padding: 1.1rem;
  }

  .services__content {
    width: 100%;
  }

  .project__img,
  .work__img {
    height: 160px;
  }
}

/* Very small screens */
@media screen and (max-width: 360px) {
  .work__card,
  .skill__card,
  .services__card {
    padding: 1rem;
  }

  .home__name {
    font-size: 1.8rem;
  }
}
/* SweetAlert2 theming */
.swal-theme-popup {
  border-radius: 1.25rem !important;
  padding: 1.75rem 1.5rem !important;
  background: radial-gradient(circle at top, #fdf4ff 0%, #eef2ff 45%, #e0e7ff 100%);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.35) !important;
  font-family: var(--body-font, "Quicksand", sans-serif);
}

.swal-theme-title {
  color: #4c1d95 !important;
  font-weight: 700 !important;
  font-size: 1.4rem !important;
}

.swal-theme-text {
  color: #374151 !important;
}

.swal-theme-confirm {
  border-radius: 999px !important;
  padding: 0.55rem 1.4rem !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35) !important;
}

/* Dark mode support */
body.dark-mode .swal-theme-popup {
  background: linear-gradient(135deg, #020617 0%, #020617 40%, #111827 100%) !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.9) !important;
}

body.dark-mode .swal-theme-title {
  color: #e9d5ff !important;
}

body.dark-mode .swal-theme-text {
  color: #e5e7eb !important;
}
