/* ==================== VARIABLES ==================== */
:root {
  /* Colors */
  --hue: 240;
  --bg-color: hsl(var(--hue), 20%, 8%);
  --bg-color-alt: hsl(var(--hue), 20%, 12%);
  --text-color: hsl(var(--hue), 8%, 85%);
  --text-color-light: hsl(var(--hue), 8%, 65%);
  --primary-color: hsl(255, 90%, 65%);
  --primary-color-alt: hsl(255, 90%, 55%);
  --secondary-color: hsl(190, 90%, 55%);
  --white: #fff;

  /* Gradients */
  --gradient-1: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --gradient-text: linear-gradient(to right, var(--white), var(--text-color-light));

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  --glass-blur: blur(12px);

  /* Typography */
  --body-font: 'Outfit', sans-serif;
  --heading-font: 'Space Grotesk', sans-serif;

  --h1-fs: 2.5rem;
  --h2-fs: 2rem;
  --h3-fs: 1.25rem;
  --normal-fs: 1rem;
  --small-fs: 0.875rem;
  --smaller-fs: 0.813rem;

  /* Font weights */
  --font-light: 300;
  --font-medium: 500;
  --font-semi: 600;
  --font-bold: 700;

  /* Z-index */
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/* Responsive Typography */
@media screen and (min-width: 968px) {
  :root {
    --h1-fs: 4rem;
    --h2-fs: 2.75rem;
    --h3-fs: 1.5rem;
    --normal-fs: 1.125rem;
    --small-fs: 1rem;
    --smaller-fs: 0.875rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-fs);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

h1,
h2,
h3,
h4 {
  color: var(--white);
  font-family: var(--heading-font);
  font-weight: var(--font-bold);
  line-height: 1.2;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ==================== LAYOUT ==================== */
.container {
  max-width: 1140px;
  margin-inline: 1.5rem;
}

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

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

.section__title {
  font-size: var(--h2-fs);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--gradient-1);
  border-radius: 4px;
}

/* ==================== BACKGROUND SHAPES ==================== */
.bg-shape {
  position: absolute;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.5;
  border-radius: 50%;
}

.shape-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
}

.shape-2 {
  top: 40%;
  right: -20%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
}

.shape-3 {
  bottom: -10%;
  left: 10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
}

/* ==================== HEADER & NAV ==================== */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  transition: all 0.4s ease;
}

.scroll-header {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.nav {
  height: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  font-family: var(--heading-font);
  font-size: var(--h3-fs);
  font-weight: var(--font-bold);
  color: var(--white);
  transition: color 0.3s;
}

.nav__logo span {
  color: var(--primary-color);
}

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

.nav__toggle,
.nav__close {
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
  transition: color 0.3s;
}

.nav__toggle:hover,
.nav__close:hover {
  color: var(--primary-color);
}

@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    background: var(--bg-color-alt);
    backdrop-filter: var(--glass-blur);
    padding: 4rem 0 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transition: top 0.4s;
    border-bottom: 1px solid var(--glass-border);
  }
}

.nav__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-weight: var(--font-medium);
  color: var(--text-color);
  transition: color 0.3s, text-shadow 0.3s;
}

.nav__link:hover {
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(108, 99, 255, 0.4);
}

.active-link {
  color: var(--primary-color);
  position: relative;
}

.active-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-1);
}

.nav__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

.show-menu {
  top: 0;
}

/* ==================== BUTTONS ==================== */
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 3rem;
  font-weight: var(--font-semi);
  font-family: var(--heading-font);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.button--primary {
  background: var(--gradient-1);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
}

.button--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(108, 99, 255, 0.6);
}

.button--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
}

.button--ghost:hover {
  border-color: var(--primary-color);
  background: rgba(108, 99, 255, 0.1);
  transform: translateY(-3px);
}

/* ==================== HERO SECTION ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
}

.hero__container {
  grid-template-columns: 1fr;
  row-gap: 3rem;
  align-items: center;
  justify-items: center;
}

.hero__data {
  text-align: center;
  width: 100%;
  max-width: 800px;
}

.hero__greeting {
  display: block;
  font-size: var(--h3-fs);
  font-weight: var(--font-medium);
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.hero__title {
  font-size: var(--h1-fs);
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  display: block;
  font-size: var(--h3-fs);
  color: var(--text-color-light);
  font-weight: var(--font-normal);
  margin-top: 0.5rem;
  height: 2rem;
  overflow: hidden;
}

.hero__rotating-text {
  display: flex;
  flex-direction: column;
  animation: rotate-text 12.5s infinite;
}

.hero__rotating-text span {
  height: 2rem;
  line-height: 2rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
}

@keyframes rotate-text {
  0% {
    transform: translateY(0);
  }

  14% {
    transform: translateY(0);
  }

  20% {
    transform: translateY(-2rem);
  }

  34% {
    transform: translateY(-2rem);
  }

  40% {
    transform: translateY(-4rem);
  }

  54% {
    transform: translateY(-4rem);
  }

  60% {
    transform: translateY(-6rem);
  }

  74% {
    transform: translateY(-6rem);
  }

  80% {
    transform: translateY(-8rem);
  }

  94% {
    transform: translateY(-8rem);
  }

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

.hero__description {
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-inline: auto;
}

.hero__buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero__social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.hero__social-link {
  display: inline-flex;
  padding: 0.75rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.25rem;
  transition: all 0.3s;
  backdrop-filter: var(--glass-blur);
}

.hero__social-link:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
}

.hero__img-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
}

.hero__img-blob {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  overflow: hidden;
  background: var(--gradient-1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: blob-bounce 10s infinite alternate ease-in-out;
  border: 4px solid var(--glass-border);
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  mix-blend-mode: overlay;
}

.hero__badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  padding: 0.75rem 1.25rem;
  border-radius: 2rem;
  font-size: var(--small-fs);
  font-weight: var(--font-medium);
  box-shadow: var(--glass-shadow);
  color: var(--white);
  animation: float 4s ease-in-out infinite;
}

.hero__badge i {
  font-size: 1.25rem;
  color: var(--secondary-color);
}

.badge-1 {
  top: 10%;
  left: -10%;
}

.badge-2 {
  bottom: 10%;
  right: -10%;
  animation-delay: 2s;
}

/* ==================== ANIMATIONS ==================== */
@keyframes blob-bounce {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }

  25% {
    border-radius: 40% 60% 70% 30% / 40% 50% 50% 60%;
  }

  50% {
    border-radius: 50% 50% 30% 70% / 50% 30% 70% 50%;
  }

  75% {
    border-radius: 70% 30% 50% 50% / 30% 70% 30% 70%;
  }

  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}

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

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

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

/* Reveal Animations Base */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: all 1s ease-out;
}

.reveal {
  transform: translateY(30px);
}

.reveal-left {
  transform: translateX(-50px);
}

.reveal-right {
  transform: translateX(50px);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translate(0);
}

/* ==================== FOOTER ==================== */
.footer {
  background-color: var(--bg-color-alt);
  padding-block: 4rem 2rem;
  border-top: 1px solid var(--glass-border);
}

.footer__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer__title {
  font-size: var(--h2-fs);
  margin-bottom: 0.5rem;
}

.footer__title span {
  color: var(--primary-color);
}

.footer__subtitle {
  color: var(--text-color-light);
  margin-bottom: 2rem;
}

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

.footer__link {
  transition: color 0.3s;
}

.footer__link:hover {
  color: var(--primary-color);
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.footer__social-link {
  font-size: 1.5rem;
  color: var(--text-color-light);
  transition: all 0.3s;
}

.footer__social-link:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
}

.footer__copy {
  display: block;
  margin-top: 2rem;
  color: var(--text-color-light);
  font-size: var(--smaller-fs);
}

/* ==================== SCROLL UP ==================== */
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -30%;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  padding: 0.5rem;
  border-radius: 0.5rem;
  display: inline-flex;
  color: var(--white);
  font-size: 1.25rem;
  z-index: var(--z-tooltip);
  transition: all 0.4s;
}

.scrollup:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
}

.show-scroll {
  bottom: 3rem;
}

/* ==================== BREAKPOINTS ==================== */
@media screen and (min-width: 576px) {
  .hero__container {
    grid-template-columns: 350px;
    justify-content: center;
  }
}

@media screen and (min-width: 768px) {
  .nav {
    height: calc(4rem + 1rem);
    column-gap: 3rem;
  }

  .nav__toggle,
  .nav__close {
    display: none;
  }

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

  .nav__menu {
    margin-left: auto;
  }

  .hero__container {
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
  }

  .hero__data {
    text-align: center;
  }

  .hero__description {
    margin-inline: auto;
  }

  .hero__buttons,
  .hero__social {
    justify-content: center;
  }
}

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

  .section {
    padding-block: 7rem 2rem;
  }

  .hero {
    padding-top: 8rem;
  }

  .hero__img-container {
    max-width: 500px;
  }

  .badge-1 {
    top: 15%;
    left: -5%;
  }

  .badge-2 {
    bottom: 15%;
    right: -5%;
  }
}

/* ==================== ABOUT SECTION ==================== */
.about__container {
  row-gap: 3rem;
}

.about__data {
  text-align: center;
}

.about__subtitle {
  font-size: var(--h3-fs);
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.about__description {
  margin-bottom: 1.5rem;
  color: var(--text-color-light);
}

.about__description strong {
  color: var(--white);
}

.about__info {
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.about__box {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  padding: 1.25rem 0.75rem;
  border-radius: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.about__box:hover {
  transform: translateY(-5px);
  background: rgba(108, 99, 255, 0.1);
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.2);
}

.about__icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

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

.about__box-subtitle {
  font-size: var(--smaller-fs);
  color: var(--text-color-light);
}

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

.about__img {
  width: 100%;
  max-width: 400px;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 4px solid var(--glass-border);
  position: relative;
  z-index: 1;
}

.about__img-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  /* Adjust position based on layout */
  width: 100%;
  height: 100%;
  max-width: 400px;
  border: 2px solid var(--primary-color);
  border-radius: 1.5rem;
  z-index: 0;
  transition: transform 0.3s;
}

.about__img-container:hover .about__img-overlay {
  transform: translate(0.5rem, -0.5rem);
}

/* ==================== SKILLS SECTION ==================== */
.skills__container {
  display: flex;
  justify-content: center;
}

.skills__narrow-content {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  padding: 2.5rem;
  border-radius: 1.5rem;
  width: 100%;
  max-width: 600px;
  transition: all 0.3s ease;
}

.skills__narrow-content:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  border-color: rgba(108, 99, 255, 0.3);
}

.skills__category {
  font-size: var(--normal-fs);
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  margin-top: 2.5rem;
  text-align: center;
  font-weight: var(--font-medium);
}

.skills__category:first-child {
  margin-top: 0;
}

.skills__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.skills__tags span {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-color);
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-size: var(--small-fs);
  transition: all 0.3s ease;
}

.skills__tags span:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

/* ==================== PROJECTS SECTION ==================== */
.projects__container {
  grid-template-columns: 1fr;
  gap: 2rem;
}

.projects__card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.4s ease;
}

.projects__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  border-color: rgba(108, 99, 255, 0.4);
}

.projects__image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

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

.projects__card:hover .projects__img {
  transform: scale(1.1);
}

.projects__button {
  position: absolute;
  top: 1rem;
  right: -3rem;
  /* Hide initially */
  background: var(--primary-color);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.4s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.projects__card:hover .projects__button {
  right: 1rem;
  /* Show on hover */
}

.projects__button:hover {
  background: var(--secondary-color);
  transform: rotate(15deg);
}

.projects__content {
  padding: 1.5rem;
}

.projects__title {
  font-size: var(--h3-fs);
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.projects__card:hover .projects__title {
  color: var(--primary-color);
}

.projects__description {
  color: var(--text-color-light);
  font-size: var(--small-fs);
  margin-bottom: 1.25rem;
}

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

.projects__tags span {
  font-size: var(--smaller-fs);
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2rem;
  color: var(--text-color);
}

/* ==================== SERVICES SECTION ==================== */
.services__container {
  grid-template-columns: 1fr;
  gap: 2rem;
}

.services__card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  padding: 2.5rem 2rem;
  border-radius: 1.5rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.services__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-1);
  transition: height 0.3s;
  z-index: -1;
  opacity: 0;
}

.services__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.services__card:hover::before {
  opacity: 1;
}

.services__icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: transform 0.4s;
}

.services__card:hover .services__icon {
  transform: scale(1.1) rotateY(180deg);
}

.services__title {
  font-size: var(--h3-fs);
  margin-bottom: 1rem;
}

.services__description {
  color: var(--text-color-light);
  font-size: var(--small-fs);
  margin-bottom: 2rem;
}

.services__list {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.services__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: var(--small-fs);
}

.services__list i {
  color: var(--secondary-color);
  font-size: 1.25rem;
}

/* Media queries for larger screens adding later in block */
@media screen and (min-width: 768px) {

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

@media screen and (min-width: 992px) {

  .projects__container,
  .services__container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==================== CONTACT SECTION ==================== */
.contact__container {
  row-gap: 3rem;
  padding-bottom: 3rem;
}

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

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

.contact__card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  transition: all 0.3s;
}

.contact__card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  background: rgba(108, 99, 255, 0.05);
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.2);
}

.contact__card-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.contact__card-title,
.contact__card-data {
  font-size: var(--small-fs);
}

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

.contact__card-data {
  display: block;
  margin-bottom: 1rem;
  color: var(--text-color-light);
}

.contact__button {
  color: var(--primary-color);
  font-size: var(--small-fs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  transition: all 0.3s;
}

.contact__button:hover {
  gap: 0.5rem;
}

.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 var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-color);
  outline: none;
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s;
  backdrop-filter: var(--glass-blur);
}

.contact__form-input:focus {
  border-color: var(--primary-color);
  background: transparent;
}

.contact__form-tag {
  position: absolute;
  top: -0.75rem;
  left: 1.25rem;
  font-size: var(--smaller-fs);
  padding: 0.25rem 0.5rem;
  background: var(--bg-color);
  color: var(--text-color-light);
  border-radius: 0.25rem;
  z-index: 10;
}

.contact__form-area {
  height: 11rem;
}

.contact__form-area textarea {
  resize: none;
}

.contact__message {
  margin-top: 1rem;
  font-size: var(--small-fs);
  text-align: center;
}

/* Base styles for footer already included earlier, ensuring media queries align */
@media screen and (min-width: 768px) {
  .contact__container {
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    column-gap: 3rem;
  }

  .contact__info {
    grid-template-columns: 300px;
  }

  .contact__form {
    width: 360px;
  }
}

@media screen and (min-width: 992px) {
  .contact__container {
    column-gap: 6rem;
  }

  .contact__form {
    width: 460px;
  }
}