html,
body {
  overflow-x: hidden !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600&family=Open+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 4rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: rgb(255, 255, 255);
  --title-color: #0f172a;
  /* Darker, sharper title */
  --text-color: #4a4a4a;
  /* Modern gray */
  --text-color-light: #64748b;
  --body-color: #f8fafc;
  --status-color: #2563eb;
  /* Vibrant Blue */
  --accent-color: var(--status-color);
  --container-color: #ffffff;
  --gradient-color: linear-gradient(180deg,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 1));

  /* font and size */
  /* 1rem = 16px */
  --body-font: 'Inter', 'Open Sans', sans-serif;
  /* Modern stack */
  --title-font: 'Outfit', 'Montserrat', sans-serif;
  --serif-font: 'Lora', serif;
  /* Modern stack */
  /* ... existing variables ... */

  --biggest-font-size: 2.5rem;
  --h1-font-size: 1.75rem;
  --h2-font-size: 1.5rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: .875rem;
  --smaller-font-size: .813rem;
  --tiny-font-size: .688rem;

  /* font weight */
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /* z index */
  --z-normal: 1;
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* Responsive typography */
@media screen and (min-width: 1024px) {
  :root {
    --biggest-font-size: 3rem;
    --h1-font-size: 2.5rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
    --tiny-font-size: .688rem;
  }
}

/* Adjusting base font sizes for very small devices */
@media screen and (max-width: 320px) {
  :root {
    --biggest-font-size: 1.5rem;
    --h1-font-size: 1.25rem;
    --h2-font-size: 1rem;
    --h3-font-size: 0.875rem;
    --normal-font-size: 0.813rem;
    --small-font-size: 0.75rem;
    --smaller-font-size: 0.688rem;
    --tiny-font-size: 0.625rem;
  }

  .container {
    margin-inline: 0.75rem;
  }

  .nav__menu {
    padding: 1.5rem 1rem 4rem;
  }

  .nav__list {
    grid-template-columns: repeat(2, max-content);
    gap: 1rem 1.5rem;
  }

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

  .home__blob {
    width: 160px;
    height: 240px;
  }

  .home__profile {
    width: 140px;
    height: 220px;
  }

  .home__profile img {
    width: 140px;
  }

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

  .skills__blob {
    width: 70px;
    height: 80px;
  }

  .skills__blob img {
    width: 36px;
  }

  .services_card {
    width: 200px;
    height: 320px;
    padding: 2rem 1rem;
  }

  .services_border {
    width: 210px;
    height: 330px;
  }

  .projects_img {
    width: 180px;
  }

  .contact_form_div {
    height: 3.5rem;
  }

  .contact_form_input {
    padding: 0.75rem;
    font-size: var(--smaller-font-size);
  }

  .footer_list {
    column-gap: 1.5rem;
  }
}

/* Adjusting for devices between 321px and 379px */
@media screen and (min-width: 321px) and (max-width: 379px) {
  .container {
    margin-inline: 1rem;
  }

  .nav__menu {
    padding: 2rem 1.25rem 4rem;
  }

  .home__blob {
    width: 180px;
    height: 260px;
  }

  .home__profile {
    width: 160px;
    height: 240px;
  }

  .skills__blob {
    width: 80px;
    height: 90px;
  }

  .services_card {
    width: 220px;
    height: 340px;
  }
}

/* Improving medium device responsiveness */
@media screen and (min-width: 380px) and (max-width: 767px) {
  .nav__menu {
    width: 320px;
  }

  .home__blob {
    width: 200px;
    height: 280px;
  }

  .skills__info {
    gap: 1.5rem;
  }

  .projects_container {
    width: 320px;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  letter-spacing: .5px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  transition: background .6s;
  /* for dark mode animation */
}

h1,
h2,
h3 {
  color: var(--title-color);
  font-family: var(--title-font);
  font-weight: var(--font-medium);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

/*=============== HOME 2025 HERO ===============*/
/*=============== HOME 2025 HERO ===============*/
.hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 3rem;
  padding-block: 2rem 4rem;
}

.hero__title {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  /* Allow wrapping on very small screens but try to keep inline */
  gap: 0.5rem;
  font-family: var(--title-font);
  font-size: var(--biggest-font-size);
  font-weight: var(--font-bold);
  line-height: 1.1;
  color: var(--title-color);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  animation: none;
}

.hero__title span[itemprop="name"] {
  font-family: var(--serif-font);
  font-weight: 500;
  /* Lighter weight for the serif elegant look */
  color: var(--title-color);
}

/* Dynamic Text Cursor Animation */
.dynamic-text {
  color: var(--title-color);
  position: relative;
  font-weight: 400;
  font-family: var(--title-font);
}

.dynamic-text::after {
  content: "|";
  position: absolute;
  right: -8px;
  animation: blink 0.7s infinite;
  color: var(--title-color);
}

@keyframes blink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.hero__subtitle {
  margin-top: .5rem;
  color: var(--text-color);
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  letter-spacing: -0.01em;
}

.hero__summary {
  margin-top: 1.5rem;
  color: var(--text-color-light);
  line-height: 1.6;
  max-width: 600px;
}

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

.hero__scroll-down {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  animation: bounce 2s infinite;
  cursor: pointer;
  text-decoration: none;
}

.hero__scroll-down i {
  font-size: 1.5rem;
  color: var(--text-color-light);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 1.5rem;
  border-radius: 99px;
  /* Pill shape */
  font-weight: var(--font-semi-bold);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: var(--normal-font-size);
}

.btn i {
  font-size: 1.2rem;
}

.btn--primary {
  background: var(--status-color);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.35);
  filter: none;
}

.btn--ghost {
  background: transparent;
  color: var(--title-color);
  border-color: rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.btn--ghost::after {
  display: none;
}

.btn--ghost:hover {
  border-color: var(--status-color);
  color: var(--status-color);
  background: rgba(37, 99, 235, 0.05);
}

.hero__chips {
  display: flex;
  gap: .75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.chip {
  padding: .5rem 1rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.03);
  color: var(--text-color);
  border: 1px solid rgba(0, 0, 0, 0.05);
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  transition: all 0.3s;
}

.chip:hover {
  background: rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  /* Stack label under number */
  align-items: flex-start;
  gap: .25rem;
}

.stat__num {
  font-family: var(--title-font);
  font-weight: var(--font-bold);
  color: var(--title-color);
  font-size: 2rem;
  line-height: 1;
}

.stat__label {
  color: var(--text-color-light);
  font-size: var(--small-font-size);
}

.hero__social {
  display: flex;
  gap: 1.25rem;
  margin-top: 2.5rem;
  list-style: none;
  padding: 0;
}

.hero__social a {
  color: var(--text-color);
  font-size: 1.5rem;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__social a:hover {
  color: var(--status-color);
  transform: translateY(-2px);
  opacity: 1;
}

/* Dark theme specific tweaks */
.dark_theme .btn--primary {
  background: var(--status-color);
  color: #fff;
}

.dark_theme .btn--ghost {
  color: var(--title-color);
  border-color: rgba(255, 255, 255, 0.1);
}

.dark_theme .btn--ghost:hover {
  border-color: var(--status-color);
  color: var(--status-color);
}

.dark_theme .chip {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text-color);
}

.dark_theme .chip:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero__visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.avatar {
  position: relative;
  width: 300px;
  height: 300px;
  display: grid;
  place-items: center;
  z-index: 1;
}

.avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  /* box-shadow: 0 20px 40px rgba(0, 0, 0, .15); */
  /* border: 6px solid var(--container-color); */
}

.avatar::before {
  content: '';
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(37, 99, 235, 0));
  z-index: -1;
  filter: blur(20px);
}

.avatar .ring {
  display: none;
}

@media screen and (min-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding-block: 4rem 6rem;
    gap: 4rem;
  }

  .avatar {
    width: 380px;
    height: 380px;
  }

  .hero__title {
    font-size: 3.5rem;
  }
}

.hero__social {
  display: flex;
  gap: .75rem;
  margin-top: 1.25rem;
  list-style: none;
  padding: 0;
}

.hero__social a {
  color: var(--title-color);
  font-size: 1.25rem;
  transition: opacity .2s;
}

.hero__social a:hover {
  opacity: .7;
}

/* Dark theme specific tweaks */
.dark_theme .btn--primary {
  background: var(--accent-color);
  color: #0e1114;
  filter: none;
}

.dark_theme .btn--ghost {
  color: var(--title-color);
  border-color: color-mix(in srgb, var(--title-color) 25%, transparent);
}

.dark_theme .chip {
  background: color-mix(in srgb, var(--container-color) 70%, black);
  border-color: color-mix(in srgb, var(--title-color) 10%, transparent);
}

.dark_theme .hero__social a {
  color: var(--title-color);
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.avatar {
  position: relative;
  width: 260px;
  height: 260px;
  display: grid;
  place-items: center;
}

.avatar img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
  border: 6px solid var(--container-color);
}

.avatar .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--accent-color) 25%, transparent) 0%, transparent 60%);
  filter: blur(2px);
}

@media screen and (min-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding-block: 2rem 3rem;
  }

  .avatar {
    width: 320px;
    height: 320px;
  }

  .avatar img {
    width: 280px;
    height: 280px;
  }
}

/*=============== SECTION TITLES ===============*/
.section__title {
  position: relative;
}

.section__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: .5rem;
  background: var(--accent-color);
  border-radius: 3px;
}

/*=============== THEME ===============*/
.nav__buttons {
  display: flex;
  align-items: center;
  column-gap: 1.5rem;
}

.change_theme {
  font-size: 1.25rem;
  color: var(--title-color);
  cursor: pointer;
  transition: color .3s;
}

/* Active link highlight */
.active_link {
  color: var(--status-color);
}

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

/*========== Variables Dark theme ==========*/
body.dark_theme {
  --title-color: #f1f5f9;
  --text-color: #94a3b8;
  --body-color: #0f172a;
  --container-color: #1e293b;
  --status-color: #3b82f6;
  --gradient-color: linear-gradient(180deg,
      rgba(0, 0, 0, 0),
      rgb(90, 90, 90));
}

/* ? color changes */
.dark_theme .nav,
.dark_theme .nav_menu,
.dark_theme .scroll_up {
  background-color: var(--container-color);
  box-shadow: 0 4px 20px rgba(15, 20, 24, 0.4);
}

.dark_theme .home_shape_circle,
.dark_theme .qualification_img,
.dark_theme .comments_img {
  filter: invert(1);
}

.dark_theme .home_social_link {
  color: var(--title-color);
}

.dark_theme .section_border {
  border-bottom: 1px solid rgb(78, 82, 85);
}

.dark_theme::-webkit-scrollbar {
  background-color: rgb(38, 39, 41);
}

.dark_theme::-webkit-scrollbar-thumb {
  background-color: rgb(73, 76, 78);
}

.dark_theme::-webkit-scrollbar-thumb:hover {
  background-color: rgb(99, 104, 107);
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1024px;
  margin-inline: 1.5rem;
}

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

.section {
  padding-block: 2.5rem;
}

.section__border {
  border-bottom: 1px solid var(--title-color);
  padding-bottom: 3.5rem;
}

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

.section__title {
  font-size: var(--h1-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: .25rem;
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  margin-bottom: 3rem;
}

.main {
  overflow: hidden;
  /* For animation */
}

/*=============== HEADER & NAV ===============*/
.header {
  width: 100%;
  position: fixed;
  bottom: 1rem;
  left: 0;
  z-index: var(--z-fixed);
}

.nav {
  height: calc(var(--header-height) + .5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--body-color);
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  padding-inline: 1.5rem;
  border-radius: 3rem;
  transition: background .5;
}

.nav__logo,
.nav__toggle,
.nav__close {
  color: var(--title-color);
}

.nav__logo {
  font-family: var(--title-font);
  font-weight: var(--font-medium);
}

.nav__toggle {
  display: flex;
  font-size: 1.25rem;
  cursor: pointer;
}

@media screen and (max-width:1023px) {
  .nav__menu {
    position: fixed;
    width: 88%;
    left: 0;
    right: 0;
    bottom: -60%;
    margin: 0 auto;
    background-color: var(--body-color);
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    padding: 2rem 1.5rem 5rem;
    border-radius: 2rem;
    transition: bottom .3s;
  }
}

.nav__list {
  grid-template-columns: repeat(3, max-content);
  justify-content: center;
  gap: 2rem 3rem;
}

.nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
  transition: color .3s;
}

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

.nav__link i {
  font-size: 1.25rem;
}

.nav__close {
  position: absolute;
  right: 1.5rem;
  bottom: .7rem;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Show menu */
.show-menu {
  bottom: 2rem;
}

/* Active link */


/*=============== HOME ===============*/
.home__container {
  row-gap: 4rem;
  padding-top: 2rem;
}

.home__data {
  row-gap: 1.5rem;
}

.home__title {
  text-align: center;
  font-size: var(--biggest-font-size);
  letter-spacing: .3px;
  margin-bottom: .5rem;
}

.home__blob {
  position: relative;
  width: 200px;
  height: 290px;
  background-color: var(--body-color);
  border: 2px solid var(--text-color-light);
  justify-self: center;
  border-radius: 6.25rem;
  place-items: center;
}

.home__profile {
  width: 170px;
  height: 260px;
  background: var(--gradient-color);
  border-radius: 5.5rem;
  overflow: hidden;
  display: flex;
}

.home__profile img {
  width: 300px;
  height: 260px;
}

.home__shape-wawes,
.home__shape-circle {
  position: absolute;
  opacity: .1;
}

.home__shape-wawes {
  width: 50px;
  left: -1.5rem;
  top: 5rem;
}

.home__shape-circle {
  width: 150px;
  bottom: -2rem;
  right: -3rem;
  transform: rotate(15deg);
  z-index: -1;
}

.home__social {
  justify-self: center;
  display: flex;
  column-gap: 1.25rem;
}

.home__social-link {
  font-size: 1.25rem;
  color: var(--text-color-light);
  transition: color .3s;
}

.home__social-link:hover {
  color: var(--title-color);
}

.home__info {
  display: grid;
  row-gap: 2rem;
}

.home__info-title {
  font-family: var(--body-font);
  font-size: var(--smaller-font-size);
  font-weight: 400;
  color: var(--text-color-light);
  margin-bottom: 1rem;
}

.home__info-description,
.home__info-number {
  font-family: var(--title-font);
  color: var(--title-color);
}

.home__info-description {
  padding-right: 4rem;
}

.home__info-number {
  font-size: var(--h1-font-size);
  font-weight: var(--font-semi-bold);
}


/*=============== SKILLS ===============*/
.skills__container {
  row-gap: 3.5rem;
}

.skills__title {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: .5rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 2.5rem;
}

.skills__title i {
  font-size: 1rem;
  font-weight: initial;
}

.skills__info,
.skills__data,
.skills__blob {
  display: grid;
}

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

.skills__data {
  justify-content: center;
  text-align: center;
}

.skills__blob {
  width: 88px;
  height: 100px;
  background-color: var(--container-color);
  border-radius: 3rem;
  place-items: center;
  margin-bottom: 1rem;
}

.skills__blob img {
  width: 48px;
}

.skills__name {
  font-size: var(--small-font-size);
  margin-bottom: .25rem;
}

.skills__subtitle {
  font-size: var(--tiny-font-size);
  color: var(--text-color-light);
}

/* Animation skills */
.skills__blob img {
  animation: bounce-skills .6s;
}

@keyframes bounce-skills {
  0% {
    transform: translate(0);
  }

  20% {
    transform: translateY(-6px);
  }

  40% {
    transform: 0;
  }

  60% {
    transform: translateY(-3px);
  }

  80% {
    transform: 0;
  }
}

/*=============== QUALIFICATION ===============*/
.qualification__container {
  display: flex;
  flex-direction: column;
  row-gap: 4rem;
  max-width: 1020px;
  margin: 0 auto;
}

.qualification__section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.qualification__section-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}

.qualification__timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  margin-left: 1rem;
}

.qualification__item {
  position: relative;
  margin-bottom: 2.5rem;
}

.qualification__item:last-child {
  margin-bottom: 0;
}

.qualification__dot {
  position: absolute;
  left: -2.4rem; /* Adjust based on padding-left of timeline + border width */
  top: 1.5rem;
  width: 12px;
  height: 12px;
  background-color: var(--status-color);
  border-radius: 50%;
  border: 2px solid var(--body-color);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.qualification__card {
  background-color: var(--container-color);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.qualification__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.qualification__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.qualification__card-title {
  font-size: 1.1rem;
  font-weight: var(--font-bold);
  color: var(--title-color);
}

.qualification__date {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  font-weight: var(--font-medium);
}

.qualification__place {
  display: inline-block;
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--status-color);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  margin-bottom: 1.25rem;
}

.qualification__list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.qualification__list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--text-color);
  font-size: var(--normal-font-size);
  line-height: 1.6;
}

.qualification__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--status-color);
  font-weight: bold;
}

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

.qualification__tags span {
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 99px;
  font-size: var(--small-font-size);
  color: var(--text-color);
  background-color: transparent;
}

/* Dark theme adjustments */
.dark_theme .qualification__card {
  border-color: rgba(255, 255, 255, 0.05);
}

.dark_theme .qualification__tags span {
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-color-light);
}

.dark_theme .qualification__place {
  background-color: rgba(59, 130, 246, 0.15);
}

.dark_theme .qualification__timeline {
  border-left-color: rgba(255, 255, 255, 0.1);
}

/*=============== MY LINKS ====================*/
.links__container {
  row-gap: 3rem;
  justify-content: center;
}

.links__content {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(5, max-content);
  gap: 2.5rem 2rem;
}

.links__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.5rem;
  cursor: pointer;
}

.links__icon {
  width: 60px;
  height: 60px;
  background-color: var(--container-color);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  transition: transform .3s, box-shadow .3s;
  -webkit-tap-highlight-color: transparent;
}

.links__icon i {
  font-size: 2rem;
  transition: transform .3s;
}

.links__name {
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  color: var(--title-color);
}

.links__card:hover .links__icon {
  transform: translateY(-.25rem);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.links__card:hover .links__icon i {
  transform: scale(1.1);
}

/* For small devices */
@media screen and (max-width: 380px) {
  .links__content {
    grid-template-columns: repeat(2, max-content);
    gap: 1.5rem;
  }

  .links__icon {
    width: 50px;
    height: 50px;
  }

  .links__icon i {
    font-size: 1.5rem;
  }

  .links__card {
    padding: 0.75rem;
  }
}

/* For medium devices */
@media screen and (min-width: 381px) and (max-width: 767px) {
  .links__content {
    grid-template-columns: repeat(3, max-content);
    gap: 2rem 1.5rem;
  }
}

/* For large devices */
@media screen and (min-width: 1024px) {
  .links__container {
    row-gap: 4rem;
  }

  .links__content {
    gap: 3rem 4rem;
  }

  .links__icon {
    width: 80px;
    height: 80px;
  }

  .links__icon i {
    font-size: 2.5rem;
  }

  .links__name {
    font-size: var(--normal-font-size);
  }
}

/*=============== SERVICES ===============*/
.services {
  position: relative;
}

.services_container {
  row-gap: 2.5rem;
  justify-content: center;
}

.services_card {
  position: relative;
  width: 230px;
  height: 370px;
  background-color: var(--container-color);
  text-align: center;
  padding: 3.5rem 1rem;
  border-radius: 7rem;
  transition: background .5s;
}

.services_card i {
  display: block;
  font-size: 2rem;
  color: var(--title-color);
  margin-bottom: .75rem;
  transition: transform .8s;
}

.services_title {
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 1.5rem;
}

.services_border {
  width: 240px;
  height: 380px;
  border: 2px dashed var(--text-color-light);
  border-radius: 7rem;
  position: absolute;
  inset: 0;
  left: -5px;
  margin: auto;
  z-index: -1;
  transition: opacity .6s;
  opacity: 0;
}

.services_card:hover i {
  transform: rotateY(360deg);
}

.services_card:hover .services_border {
  opacity: 1;
}

/*=============== PROJECTS ===============*/
.projects_container {
  overflow: initial;
}

.projects_content {
  display: grid;
  justify-content: center;
}

.projects_img {
  width: 250px;
  border-radius: .75rem;
  margin-bottom: 1.25rem;
}

.projects_subtitle {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.projects_title {
  font-size: var(--h2-font-size);
  margin-bottom: 1.25rem;
  margin: .5rem 0 1.25rem;
}

.projects_button {
  display: flex;
  align-items: center;
  column-gap: .5rem;
  color: var(--title-color);
  font-size: var(--small-font-size);
}

.projects_button i {
  font-size: 1rem;
  transition: transform .3s;
}

.projects_button:hover i {
  transform: translateX(.25rem);
}

/* ? swiper class */
.projects_container .swiper-button-prev::after,
.projects_container .swiper-button-next::after {
  content: '';
}

.projects_container .swiper-button-prev,
.projects_container .swiper-button-next {
  width: initial;
  height: initial;
  margin: initial;
  font-size: 2.5rem;
  color: var(--title-color);
}

.projects_container .swiper-button-prev {
  left: -1rem;
  top: 4.5rem;
}

.projects_container .swiper-button-next {
  right: -1rem;
  top: 4.5rem;
}

.projects_container .swiper-slide {
  margin-bottom: 4.5rem;
}

.projects_container .swiper-pagination-bullets {
  bottom: 0;
}

.projects_container .swiper-pagination-bullet {
  background-color: var(--text-color-light);
  opacity: initial;
}

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

/*=============== TESTIMONIAL ===============*/
.comments {
  position: relative;
}

.comments_content {
  text-align: center;
}

.comments_description {
  font-family: var(--title-font);
  color: var(--title-color);
  margin-bottom: 1.5rem;
}

.comments_name {
  font-family: var(--body-font);
  font-size: var(--small-font-size);
  margin-bottom: .25rem;
}

.comments_subtitle {
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
}

.comments_img {
  width: 100px;
  transform: translate(30deg);
  position: absolute;
  top: 2rem;
  right: -1.5rem;
  opacity: .1;
}

/* ? swiper class */
.comments_container .swiper-slide {
  margin-bottom: 4rem;
}

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

.comments_container .swiper-button-prev,
.comments_container .swiper-button-next {
  font-size: 2rem;
  color: var(--title-color);
  width: initial;
  height: initial;
  top: initial;
  bottom: .5rem;
}

.comments_container .swiper-button-prev {
  left: calc(50% - 3rem);
}

.comments_container .swiper-button-next {
  right: calc(50% - 3rem);
}


/*=============== CONTACT ===============*/
.contact_container {
  row-gap: 3.5rem;
}

.contact_container {
  row-gap: 3rem;
  padding-bottom: 3rem;
}

.contact_title {
  text-align: center;
  font-size: var(--h3-font-size);
  margin-bottom: 1.5rem;
}

.contact_info {
  display: grid;
  gap: 1rem;
}

.contact_card {
  background-color: var(--container-color);
  padding: 1rem;
  border-radius: .75rem;
  text-align: center;
}

.contact_card-icon {
  font-size: 2rem;
  color: var(--title-color);
  margin-bottom: .25rem;
}

.contact_card-title, 
.contact_card-data {
  display: block;
}

.contact_card-title {
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
}

.contact_card-data {
  font-size: var(--smaller-font-size);
  margin-bottom: .75rem;
}

.contact_button {
  color: var(--status-color);
  font-size: var(--small-font-size);
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: .25rem;
}

.contact_button:hover .contact_button-icon {
  transform: translateX(.25rem);
}

.contact_button-icon {
  font-size: 1rem;
  transition: .4s;
}

.contact_form_div {
  position: relative;
  margin-bottom: 2rem;
  height: 4rem;
}

.contact_form_input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(0,0,0,0.1);
  background: none;
  color: var(--text-color);
  outline: none;
  border-radius: .75rem;
  padding: 1.5rem;
  z-index: 1;
}

.contact_form_tag {
  position: absolute;
  top: -.75rem;
  left: 1.25rem;
  font-size: var(--smaller-font-size);
  padding: .25rem;
  background-color: var(--body-color);
  z-index: 10;
}

.contact_form_area {
  height: 11rem;
}

.contact_form_area textarea {
  resize: none;
}

/* Submit Button */
.contact_form .contact_button {
    width: 100%;
    background-color: var(--status-color);
    color: #fff;
    padding: 1rem;
    border-radius: .5rem;
    font-size: var(--normal-font-size);
    font-weight: var(--font-medium);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.contact_message {
  font-size: var(--small-font-size);
  position: absolute;
  bottom: 2.8rem;
  left: 1.5rem;
}

/* ? status color */
.color_blue {
  color: var(--status-color);
}

/*=============== FOOTER ===============*/
.footer_container {
  padding: 3rem 0 7rem;
  text-align: center;
}

.footer_title {
  font-size: var(--h1-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 1rem;
}

.footer_list,
.footer_social {
  display: flex;
  justify-content: center;
}

.footer_list {
  margin: 2.5rem 0;
  column-gap: 2.5rem;
}

.footer_link {
  color: var(--title-color);
}

.footer_link:hover {
  text-decoration: underline;
}

.footer_social {
  column-gap: 1.25rem;
}

.footer_social_link {
  font-size: 1.5rem;
  color: var(--title-color);
  transition: transform .3s;
}

.footer_social_link:hover {
  transform: translateY(-.15rem);
}

.footer_copy {
  display: block;
  margin-top: 4.5rem;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

/* ? scroll bar */
::-webkit-scrollbar {
  width: .5rem;
  border-radius: .5rem;
  background-color: rgb(255, 255, 255);
}

::-webkit-scrollbar-thumb {
  background-color: var(--text-color-light);
  border-radius: .5rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-color);
}

/* ? scroll up */
.scroll_up {
  position: fixed;
  right: 1rem;
  bottom: -30%;
  background-color: var(--body-color);
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  display: flex;
  padding: .35rem;
  border-radius: .25rem;
  font-size: 1.5rem;
  color: var(--title-color);
  z-index: var(--z-tooltip);
  transition: bottom .3s, transform .3s;
}

.scroll_up:hover {
  transform: translateY(-.25rem);
}

/* ? show scroll up */
.show_scroll {
  bottom: 6rem;
}

/*=============== LOADER ===============*/
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--body-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: var(--z-fixed);
  transition: opacity 0.5s ease-out, visibility 0.5s;
}

.loader .lottie {
  width: 140px;
  height: 140px;
  will-change: transform;
  transform: translateZ(0);
  filter: hue-rotate(165deg) saturate(1.15);
}

.dark_theme .loader {
  background: var(--body-color);
}

.loader__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  padding: 1rem;
}

.loader__title {
  font-family: var(--title-font);
  color: var(--title-color);
  font-size: var(--h2-font-size);
  line-height: 1;
}

.loader__subtitle {
  color: var(--text-color);
  font-size: var(--small-font-size);
}

.loader__content {
  text-align: center;
  max-width: 80%;
}

.loader__text-wrapper {
  transform: translateY(-20px);
}

.loader__title {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.loader__letter {
  font-family: var(--title-font);
  font-size: 2.5rem;
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  animation: simpleFloat 2s ease-in-out infinite;
  animation-delay: calc(0.1s * var(--delay));
}

.loader__subtitle {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  color: var(--text-color);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeIn 0.5s ease-out forwards 0.5s;
}

.loader__tech-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.loader__tech-item {
  font-family: var(--body-font);
  font-size: var(--small-font-size);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  background: var(--container-color);
  color: var(--title-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(20px);
  animation: techItemFloat 0.5s ease-out forwards;
  animation-delay: calc(0.2s * var(--tech-delay));
}

.loader__progress {
  width: 200px;
  height: 4px;
  background: var(--container-color);
  border-radius: 2px;
  margin: 0 auto;
  overflow: hidden;
}

.loader__progress-bar {
  width: 100%;
  height: 100%;
  background: var(--title-color);
  animation: progress 2s ease-in-out infinite;
  transform-origin: left;
}

@keyframes simpleFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes techItemFloat {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes progress {
  0% {
    transform: scaleX(0);
  }

  50% {
    transform: scaleX(0.5);
  }

  100% {
    transform: scaleX(1);
  }
}

.loader--hidden {
  opacity: 0;
  visibility: hidden;
}

/* Dark theme adjustments */
.dark_theme .loader {
  background: var(--body-color);
}

.dark_theme .loader__tech-item {
  background: var(--container-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive loader */
@media screen and (min-width: 768px) {
  .loader__letter {
    font-size: 3.5rem;
  }

  .loader__subtitle {
    font-size: var(--h3-font-size);
  }

  .loader__tech-item {
    font-size: var(--normal-font-size);
  }

  .loader__progress {
    width: 300px;
  }
}

/* Loader adjustments for small devices */
@media screen and (max-width: 320px) {
  .loader__letter {
    font-size: 1.75rem;
  }

  .loader__subtitle {
    font-size: var(--small-font-size);
  }

  .loader__tech-item {
    font-size: var(--smaller-font-size);
    padding: 0.35rem 0.75rem;
  }

  .loader__progress {
    width: 180px;
  }
}

/* Loader adjustments for standard mobile devices */
@media screen and (min-width: 321px) and (max-width: 767px) {
  .loader__letter {
    font-size: 2rem;
  }

  .loader__subtitle {
    /* Relying on var(--h3-font-size) which is 1rem by default for this range, 
       or explicitly set if needed, e.g., font-size: 1rem; */
    font-size: var(--h3-font-size);
  }

  .loader__tech-item {
    /* Relying on var(--small-font-size) which is 0.813rem by default for this range,
       or explicitly set if needed, e.g., font-size: var(--small-font-size); */
    font-size: var(--small-font-size);
    padding: 0.4rem 0.8rem;
  }

  .loader__progress {
    width: 220px;
  }
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 380px) {
  .container {
    margin-inline: 1rem;
  }


  .nav__menu {
    padding-bottom: 4rem;
  }

  .nav__list {
    gap: 1rem;
  }

  .nav__link {
    font-size: var(--smaller-font-size);
  }

  .home__title {
    font-size: var(--h2-font-size);

  }

  .skills__info {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects_img {
    width: 200px;
    justify-self: center;
  }

  .links__content {
    grid-template-columns: repeat(2, max-content);
  }
}

@media screen and (max-width: 380px) {
  .nav__menu {
    padding: 2rem 1.5rem 4rem;
  }

  .nav__list {
    grid-template-columns: repeat(2, max-content);
    gap: 1.5rem 2rem;
  }
}

@media screen and (min-width: 381px) and (max-width: 767px) {
  .nav__menu {
    padding: 2rem 2.5rem 4rem;
  }

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

@media screen and (min-width: 1023px) {
  .nav__list {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .nav__link {
    font-size: var(--small-font-size);
  }
}

@media screen and (min-width: 1200px) {
  .nav__list {
    gap: 3rem;
  }

  .nav__link {
    font-size: var(--normal-font-size);
  }
}

/* For medium devices */
@media screen and (min-width: 570px) {

  .nav,
  .nav__menu {
    width: 380px;
  }

  .nav {
    margin: 0 auto;
  }

  .skills__container {
    justify-content: center;
  }

  .projects_container,
  .comments_container {
    width: 400px;
  }

  .projects_container {
    overflow: hidden;
  }

  .projects_container .swiper-button-prev {
    left: 1rem;
  }

  .projects_container .swiper-button-next {
    right: 1rem;
  }

  .links__container {
    width: 400px;
    margin: 0 auto;
  }

  .links__content {
    grid-template-columns: repeat(3, max-content);
    gap: 2rem;
    justify-content: space-between;
  }
}

@media screen and (min-width: 760px) {
  .home__container {
    grid-template-columns: 1fr 2fr 1fr;
  }

  .home__data {
    order: 2;
  }

  .home__info:nth-child(3) {
    order: 3;
    text-align: right;
  }

  .home__info {
    margin-top: 10rem;
  }

  .home__info-description {
    padding-right: 0;
  }

  .skills__container,
  .qualification__container,
  .services_container,
  .contact_container {
    grid-template-columns: repeat(2, max-content);
  }

  .skills__container,
  .services_container {
    column-gap: 5rem;
  }

  .qualification__container {
    justify-content: center;
    column-gap: 10rem;
  }

  .projects_container {
    width: 500px;
  }

  .contact_form {
    width: 360px;
  }

  .contact_container {
    justify-content: center;
    column-gap: 8rem;
  }

  .comments_img {
    width: 200px;
    right: -2rem;
  }

  .links__container {
    width: 540px;
  }

  .links__content {
    grid-template-columns: repeat(5, max-content);
    gap: 2.5rem;
  }
}

@media screen and (min-width: 1023px) {
  .header {
    top: 0;
    bottom: initial;
    background-color: var(--body-color);
    transition: .5s;
  }

  .nav {
    width: initial;
    height: calc(var(--header-height) + 1.5rem);
    box-shadow: none;
    border-radius: 0;
    column-gap: 3rem;
    margin-inline: 1.5rem;
    padding: 0;
    transition: background .5s;
  }

  .nav__link i,
  .nav__toggle,
  .nav__close {
    display: none;
  }

  .nav__menu {
    width: initial;
    margin-left: auto;
    background-color: var(--body-color);
    transition: background .5s;
  }

  .nav__list {
    display: flex;
    column-gap: 3rem;
  }

  .nav__link {
    font-size: var(--normal-font-size);
  }

  .dark_theme .nav,
  .dark_theme .nav__menu {
    background-color: var(--body-color);
    box-shadow: none;
    transition: background .5s;
  }

  .change_theme {
    color: var(--title-color);
  }

  .change_theme:hover {
    color: var(--title-color);
  }

  .section {
    padding-block: 5rem 0;
  }

  .home__title {
    font-size: 2.25rem;
  }

  .scroll_up {
    right: 3rem;
  }

  .show_scroll {
    bottom: 5rem;
  }

  /* ? background header */
  .bg_header {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  }

  .dark_theme .bg_header {
    box-shadow: rgba(59, 59, 59, 0.2) 0px 8px 24px;
  }
}

@media screen and (min-width: 1048px) {
  .container {
    margin-inline: auto;
  }
}

@media screen and (min-width: 1200px) {
  .section_border {
    padding-bottom: 6rem;
  }

  .section_subtitle {
    margin-bottom: 5rem;
  }

  .home__blob {
    width: 300px;
    height: 450px;
    border-radius: 10.5rem;
  }

  .home__blob img {
    width: 300px;
    height: 399px;
  }

  .home__profile {
    width: 250px;
    height: 400px;
    border-radius: 10.5rem;
  }

  .home__data {
    row-gap: 2.5rem;
  }

  .home__social {
    column-gap: 2rem;
  }

  .home__social-link {
    font-size: 2rem;
  }

  .home__info {
    grid-template-rows: repeat(3, 130px);
    row-gap: 4rem;
    margin-top: 16rem;
  }

  .skills__container {
    column-gap: 10rem;
  }

  .skills__title {
    margin-bottom: 3rem;
  }

  .skills__title i {
    font-size: 1.25rem;
  }

  .skills__name {
    font-size: var(--normal-font-size);
  }

  .skills__info {
    gap: 3rem;
  }

  .qualification__container {
    column-gap: 14rem;
  }

  .qualification__title {
    margin-bottom: 3rem;
  }

  .qualification__title i {
    font-size: 1.25rem;
  }

  .qualification__name {
    font-size: var(--h3-font-size);
  }

  .qualification__img {
    width: 300px;
    left: -5rem;
  }

  .services_container {
    grid-template-columns: repeat(3, max-content);
  }

  .services_card {
    width: 240px;
    height: 390px;
    border-radius: 8rem;
    padding: 3.5rem 1.5rem;
  }

  .services_card i {
    font-size: 2rem;
  }

  .services_border {
    width: 250px;
    height: 400px;
    border-radius: 8rem;
  }

  .projects_container {
    width: 900px;
  }

  .projects_container .swiper-button-prev,
  .projects_container .swiper-button-next {
    font-size: 3rem;
  }

  .projects_container .swiper-button-prev {
    left: -1rem;
  }

  .projects_container .swiper-button-next {
    right: -1rem;
  }

  .projects_container .swiper-slide {
    margin-bottom: 6.5rem;
  }

  .projects_img {
    width: 320px;
    margin-bottom: 2rem;
  }

  .comments_container {
    width: 566px;
  }

  .comments_container .swiper-button-prev,
  .comments_container .swiper-button-next {
    font-size: 2.5rem;
  }

  .comments_container .swiper-button-prev {
    left: calc(50% - 5rem);
  }

  .comments_container .swiper-button-next {
    right: calc(50% - 5rem);
  }

  .comments_container .swiper-slide {
    margin-bottom: 6rem;
  }

  .comments_description {
    font-size: var(--normal-font-size);
    margin-bottom: 2rem;
  }

  .comments_img {
    width: 300px;
    right: -7rem;
  }

  .contact_title {
    margin-bottom: 3rem;
  }

  .contact_title i {
    font-size: 1.5rem;
  }

  .contact_info {
    row-gap: 3rem;
  }

  .contact_data_info {
    font-size: var(--normal-font-size);
  }

  .contact_form {
    row-gap: 2.5rem;
  }

  .footer_container {
    padding: 4rem 0 3rem;
  }

  .footer_list {
    column-gap: 3rem;
    margin: 3rem 0;
  }

  .footer_social {
    column-gap: 2rem;
  }

  .footer_copy {
    margin-top: 5rem;
  }
}

/*=============== ABOUT SECTION ===============*/
.about__container {
  padding-bottom: 4rem;
}

.about__data {
  text-align: left;
}

.about__overline {
  display: block;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  margin-bottom: 1rem;
  font-weight: var(--font-medium);
}

.about__heading {
  font-size: var(--h1-font-size);
  font-family: var(--title-font);
  color: var(--title-color);
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

.about__description {
  margin-bottom: 2rem;
  line-height: 1.6;
  color: var(--text-color);
}

.about__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.about__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--title-color);
  font-weight: var(--font-medium);
  font-size: var(--normal-font-size);
}

.about__item i {
  color: var(--status-color);
  font-size: 1.2rem;
}

/* Stats Cards */
.about__stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.about__card {
  background: var(--container-color);
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  min-width: 100px;
  text-align: center;
  transition: transform 0.3s;
}

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

.about__card-title {
  font-size: 1.5rem;
  color: var(--title-color);
  margin-bottom: 0.25rem;
}

.about__card-subtitle {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  font-weight: var(--font-medium);
}

.about__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* About Visual & Floating Pills */
.about__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about__image-container {
  position: relative;
  width: 350px;
  height: 350px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(37, 99, 235, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 2rem;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  /* Align image to bottom */
}

.about__img {
  width: 280px;
  margin-bottom: -1rem;
  /* Slight overlap */
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.floating-pill {
  position: absolute;
  background: var(--container-color);
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  border: 1px solid rgba(0, 0, 0, 0.04);
  animation: float 3s ease-in-out infinite;
  user-select: none;
  -webkit-user-select: none;
}

.floating-pill i {
  color: var(--status-color);
  font-size: 1.1rem;
}

.pill-1 {
  top: 20%;
  left: -10px;
  animation-delay: 0s;
}

.pill-2 {
  top: 10%;
  right: 10px;
  animation-delay: 1s;
}

.pill-3 {
  bottom: 20%;
  right: -20px;
  animation-delay: 2s;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

@media screen and (min-width: 768px) {
  .about__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 4rem;
  }

  .about__data {
    order: -1;
  }
}

/* Dark Theme Overrides for About */
.dark_theme .about__card {
  background: var(--container-color);
  /* Darker container in dark mode */
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.dark_theme .about__image-container {
  background: radial-gradient(50% 50% at 50% 50%, rgba(37, 99, 235, 0.15) 0%, rgba(0, 0, 0, 0) 100%);
}

.dark_theme .floating-pill {
  background: color-mix(in srgb, var(--container-color) 90%, white);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

@media screen and (min-width: 1024px) {
  .hero__title {
    flex-wrap: nowrap;
  }
}