@charset "UTF-8";

/*=============== VARIABLES ===============*/
:root {
  --primary-color: #49bf9d;
  --primary-color-dark: #279679;
  --primary-color-light: #dff8f0;
  --sidebar-color: #101b27;
  --sidebar-color-light: #182838;
  --title-color: #1b2733;
  --text-color: #66717c;
  --text-color-light: #88939e;
  --body-color: #f5f8f9;
  --surface-color: #ffffff;
  --surface-color-alt: #eef4f4;
  --border-color: #dce6e7;
  --white-color: #ffffff;
  --shadow-sm: 0 10px 30px rgba(16, 27, 39, 0.08);
  --shadow-md: 0 20px 55px rgba(16, 27, 39, 0.12);
  --shadow-lg: 0 30px 80px rgba(16, 27, 39, 0.18);
  --sidebar-width: 360px;
  --radius-sm: 0.6rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --transition: 0.3s ease;
}

/*=============== RESET ===============*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}

body {
  margin: 0;
  background-color: var(--body-color);
  color: var(--text-color);
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: "Open Sans", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
blockquote,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--title-color);
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

ul,
ol {
  margin-bottom: 0;
  padding-left: 0;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

address {
  font-style: normal;
}

::selection {
  background-color: var(--primary-color);
  color: var(--sidebar-color);
}

/*=============== ACCESSIBILITY ===============*/
.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background-color: var(--white-color);
  color: var(--sidebar-color);
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(73, 191, 157, 0.45);
  outline-offset: 3px;
}

/*=============== REUSABLE ===============*/
.section {
  padding: 6.5rem clamp(2rem, 6vw, 6rem);
  border-bottom: 1px solid var(--border-color);
}

.section-kicker {
  margin-bottom: 0.8rem;
  color: var(--primary-color-dark);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: 3rem;
  margin-bottom: 3rem;
}

.section-title {
  margin-bottom: 0;
  font-family: "DM Serif Display", serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.section-description {
  max-width: 560px;
  margin-bottom: 0;
}

.section-actions {
  margin-top: 2.5rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.button:hover {
  transform: translateY(-3px);
}

.button--primary {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  color: var(--sidebar-color);
  box-shadow: 0 12px 28px rgba(73, 191, 157, 0.22);
}

.button--primary:hover {
  border-color: #67d4b5;
  background-color: #67d4b5;
}

.button--outline {
  border-color: var(--border-color);
  background-color: transparent;
  color: var(--title-color);
}

.button--outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color-dark);
}

.button--ghost-dark {
  border-color: rgba(255, 255, 255, 0.2);
  background-color: transparent;
  color: var(--white-color);
}

.button--ghost-dark:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.button--small {
  min-height: 40px;
  padding: 0.6rem 0.9rem;
  font-size: 0.7rem;
}

.button--full {
  width: 100%;
}

/*=============== SIDEBAR ===============*/
.profile-panel {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 10;
  width: var(--sidebar-width);
  min-height: 100vh;
  overflow-y: auto;
  background:
    linear-gradient(rgba(16, 27, 39, 0.88), rgba(16, 27, 39, 0.96)),
    url("../images/bg.jpg") center / cover no-repeat;
  color: rgba(255, 255, 255, 0.72);
}

.profile-panel__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 10%, rgba(73, 191, 157, 0.22), transparent 32%);
}

.profile-panel__content {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 4rem 2.5rem;
}

.profile-avatar {
  width: 112px;
  height: 112px;
  display: block;
  margin-bottom: 1.75rem;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-eyebrow {
  margin-bottom: 0.65rem;
  color: var(--primary-color);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.profile-title {
  margin-bottom: 1.15rem;
  color: var(--white-color);
  font-family: "DM Serif Display", serif;
  font-size: 3rem;
  font-weight: 400;
  line-height: 0.95;
}

.profile-title span {
  display: block;
  color: rgba(255, 255, 255, 0.64);
  font-family: "Open Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.profile-description {
  margin-bottom: 2rem;
  font-size: 0.92rem;
}

.profile-nav {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 2rem;
}

.profile-nav a {
  position: relative;
  padding: 0.65rem 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 600;
  transition:
    color var(--transition),
    padding-left var(--transition);
}

.profile-nav a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary-color);
  transform: translateY(-50%);
  transition: width var(--transition);
}

.profile-nav a:hover {
  padding-left: 1.3rem;
  color: var(--primary-color);
}

.profile-nav a:hover::before {
  width: 0.85rem;
}

.profile-actions {
  display: grid;
  gap: 0.75rem;
}

.social-list {
  display: flex;
  gap: 0.7rem;
  margin-top: auto;
  padding-top: 2rem;
  list-style: none;
}

.social-list a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: var(--white-color);
  transition:
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition),
    transform var(--transition);
}

.social-list a:hover {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  color: var(--sidebar-color);
  transform: translateY(-3px);
}

/*=============== MAIN ===============*/
.page-content {
  width: calc(100% - var(--sidebar-width));
  margin-left: var(--sidebar-width);
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 85% 20%, rgba(73, 191, 157, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff, #f5f8f9);
}

.hero-title {
  max-width: 900px;
  margin-bottom: 1.4rem;
  font-family: "DM Serif Display", serif;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.hero-title span {
  color: var(--primary-color-dark);
}

.hero-description {
  max-width: 720px;
  margin-bottom: 2rem;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 4rem;
}

.hero-stats {
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hero-stats article {
  padding: 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
}

.hero-stats strong {
  display: block;
  color: var(--title-color);
  font-family: "DM Serif Display", serif;
  font-size: 2rem;
  font-weight: 400;
}

.hero-stats span {
  color: var(--text-color-light);
  font-size: 0.78rem;
  font-weight: 600;
}

/*=============== PROJECTS ===============*/
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background-color: var(--surface-color);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.project-card:hover {
  border-color: rgba(73, 191, 157, 0.55);
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
}

.project-card__image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.project-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 27, 39, 0.75), transparent 48%);
  opacity: 0;
  transition: opacity var(--transition);
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.6s ease,
    filter 0.6s ease;
}

.project-card__image span {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  color: var(--white-color);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity var(--transition),
    transform var(--transition);
}

.project-card:hover .project-card__image::after,
.project-card:hover .project-card__image span {
  opacity: 1;
}

.project-card:hover .project-card__image span {
  transform: translateY(0);
}

.project-card:hover .project-card__image img {
  transform: scale(1.05);
  filter: brightness(1.03);
}

.project-card__content {
  padding: 1.5rem;
}

.project-card__tag {
  margin-bottom: 0.4rem;
  color: var(--primary-color-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-card__content h3 {
  margin-bottom: 0.65rem;
  font-size: 1.3rem;
}

.project-card__content p:last-child {
  margin-bottom: 0;
  font-size: 0.92rem;
}

/*=============== CONTACT ===============*/
.contact-section {
  background-color: var(--surface-color-alt);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 1.5rem;
}

.contact-form,
.demo-form {
  min-width: 0;
  display: grid;
  gap: 1.15rem;
}

.contact-form {
  padding: 2rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background-color: var(--surface-color);
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  min-width: 0;
  display: grid;
  gap: 0.45rem;
}

.form-field label,
.option-group legend {
  color: var(--title-color);
  font-size: 0.78rem;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: #fbfdfd;
  color: var(--title-color);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background-color var(--transition);
}

.form-field input,
.form-field select {
  min-height: 50px;
  padding: 0.75rem 0.9rem;
}

.form-field textarea {
  min-height: 140px;
  padding: 0.85rem 0.9rem;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  background-color: var(--white-color);
  box-shadow: 0 0 0 4px rgba(73, 191, 157, 0.12);
}

.contact-card {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background-color: var(--sidebar-color);
  color: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-md);
}

.contact-card__item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0.85rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-card__item i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background-color: rgba(73, 191, 157, 0.12);
  color: var(--primary-color);
}

.contact-card__item strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--white-color);
  font-size: 0.78rem;
}

.contact-card__item span,
.contact-card__item a {
  max-width: 100%;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.contact-card__item a:hover {
  color: var(--primary-color);
}

/*=============== COMPONENT LAB ===============*/
.component-lab {
  background-color: #f1f6f6;
}

.demo-card {
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background-color: var(--surface-color);
  box-shadow: var(--shadow-sm);
}

.demo-card:last-child {
  margin-bottom: 0;
}

.demo-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  background-color: #f9fbfb;
}

.demo-card__header > span {
  width: 46px;
  height: 46px;
  display: grid;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  background-color: var(--primary-color-light);
  color: var(--primary-color-dark);
  font-family: "DM Serif Display", serif;
  font-size: 1.1rem;
}

.demo-card__header p {
  margin-bottom: 0.1rem;
  color: var(--primary-color-dark);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.demo-card__header h3 {
  margin-bottom: 0;
  font-size: 1.2rem;
}

.demo-card__body {
  padding: 2rem;
}

.typography-demo h1 {
  font-size: 2.5rem;
}

.typography-demo h2 {
  font-size: 2rem;
}

.typography-demo h3 {
  font-size: 1.65rem;
}

.typography-demo h4 {
  font-size: 1.35rem;
}

.typography-demo h5 {
  font-size: 1.1rem;
}

.typography-demo h6 {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.typography-demo blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--primary-color);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background-color: var(--primary-color-light);
}

.typography-demo blockquote p {
  margin-bottom: 0.4rem;
  color: var(--title-color);
  font-family: "DM Serif Display", serif;
  font-size: 1.35rem;
}

.typography-demo cite {
  color: var(--primary-color-dark);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 700;
}

code {
  padding: 0.2rem 0.45rem;
  border: 1px solid var(--border-color);
  border-radius: 0.35rem;
  background-color: #f3f7f7;
  color: #314052;
  font-family: "Courier New", monospace;
  font-size: 0.88em;
}

pre {
  max-width: 100%;
  margin: 1.5rem 0 0;
  overflow-x: auto;
  border-radius: var(--radius-md);
  background-color: var(--sidebar-color);
}

pre code {
  display: block;
  padding: 1.25rem;
  border: 0;
  background: transparent;
  color: #dcece7;
  line-height: 1.6;
}

.lists-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.lists-grid h4 {
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.demo-list {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.2rem;
}

.demo-list li::marker {
  color: var(--primary-color);
}

.alternate-list {
  list-style: none;
}

.alternate-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border-color);
}

.alternate-list li:last-child {
  border-bottom: 0;
}

.icon-demo-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
}

.icon-demo-list li {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--primary-color-dark);
  font-size: 1.15rem;
}

.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.demo-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
}

.demo-table caption {
  padding: 1rem;
  background-color: var(--sidebar-color);
  color: var(--white-color);
  font-weight: 700;
  text-align: left;
}

.demo-table th,
.demo-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

.demo-table thead th {
  background-color: #f0f5f5;
  color: var(--title-color);
  font-size: 0.78rem;
}

.demo-table tbody tr:nth-child(even) {
  background-color: #fafcfc;
}

.demo-table tbody tr:hover {
  background-color: var(--primary-color-light);
}

.demo-table tfoot th,
.demo-table tfoot td {
  border-bottom: 0;
  background-color: #f0f5f5;
  color: var(--title-color);
  font-weight: 700;
}

.button-showcase,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button-showcase {
  flex-direction: column;
}

.button-row--full {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.option-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.25rem;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}

.option-group legend {
  padding-inline: 0.4rem;
}

.option-group label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
}

.option-group input {
  accent-color: var(--primary-color-dark);
}

/*=============== GALLERY ===============*/
.gallery-feature {
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.gallery-feature img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.5s ease,
    filter 0.5s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.06);
  filter: brightness(1.05);
}

/*=============== FOOTER ===============*/
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(2rem, 6vw, 6rem);
  background-color: var(--sidebar-color);
  color: rgba(255, 255, 255, 0.68);
}

.site-footer p {
  margin-bottom: 0;
  font-size: 0.76rem;
}

.site-footer a {
  color: var(--primary-color);
  font-weight: 700;
}

/*=============== RESPONSIVE: TABLET ===============*/
@media screen and (max-width: 1100px) {
  :root {
    --sidebar-width: 300px;
  }

  .section {
    padding-inline: 2.5rem;
  }

  .profile-panel__content {
    padding-inline: 2rem;
  }

  .section-header {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/*=============== RESPONSIVE: MOBILE ===============*/
@media screen and (max-width: 780px) {
  :root {
    --sidebar-width: 100%;
  }

  html {
    scroll-padding-top: 1rem;
  }

  .profile-panel {
    position: relative;
    width: 100%;
    min-height: auto;
    overflow: visible;
  }

  .profile-panel__content {
    min-height: auto;
    padding: 3rem 1.5rem;
  }

  .profile-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
  }

  .profile-nav a {
    padding: 0.35rem 0;
  }

  .profile-nav a:hover {
    padding-left: 0;
  }

  .profile-nav a::before {
    display: none;
  }

  .profile-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-list {
    margin-top: 1.5rem;
    padding-top: 0;
  }

  .page-content {
    width: 100%;
    margin-left: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-stats,
  .form-grid,
  .lists-grid,
  .button-row--full {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/*=============== RESPONSIVE: SMALL MOBILE ===============*/
@media screen and (max-width: 520px) {
  .section {
    padding: 4.5rem 1.25rem;
  }

  .profile-actions {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(3rem, 17vw, 4.8rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .demo-card__body,
  .contact-form,
  .contact-card {
    padding: 1.25rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/*=============== REDUCED MOTION ===============*/
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
