/*-----------------------------------*\
  #style.css
\*-----------------------------------*/


/**
 * copyright 2022 @codewithsadee
 */





/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * colors
   */

  /* gradient */

  --bg-gradient-onyx: linear-gradient(
    to bottom right, 
    hsl(240, 1%, 25%) 3%, 
    hsl(0, 0%, 19%) 97%
  );
  --bg-gradient-jet: linear-gradient(
    to bottom right, 
    hsla(240, 1%, 18%, 0.251) 0%, 
    hsla(240, 2%, 11%, 0) 100%
  ), hsl(240, 2%, 13%);
  --bg-gradient-yellow-1: linear-gradient(
    to bottom right, 
    hsl(45, 100%, 71%) 0%, 
    hsla(36, 100%, 69%, 0) 50%
  );
  --bg-gradient-yellow-2: linear-gradient(
    135deg, 
    hsla(45, 100%, 71%, 0.251) 0%, 
    hsla(35, 100%, 68%, 0) 59.86%
  ), hsl(240, 2%, 13%);
  --border-gradient-onyx: linear-gradient(
    to bottom right, 
    hsl(0, 0%, 25%) 0%, 
    hsla(0, 0%, 25%, 0) 50%
  );
  --text-gradient-yellow: linear-gradient(
    to right, 
    hsl(45, 100%, 72%), 
    hsl(35, 100%, 68%)
  );

  /* solid */

  --jet: hsl(0, 0%, 22%);
  --onyx: hsl(240, 1%, 17%);
  --eerie-black-1: hsl(240, 2%, 13%);
  --eerie-black-2: hsl(240, 2%, 12%);
  --smoky-black: hsl(0, 0%, 7%);
  --white-1: hsl(0, 0%, 100%);
  --white-2: hsl(0, 0%, 98%);
  --orange-yellow-crayola: hsl(45, 100%, 72%);
  --vegas-gold: hsl(45, 54%, 58%);
  --light-gray: hsl(0, 0%, 84%);
  --light-gray-70: hsla(0, 0%, 84%, 0.7);
  --bittersweet-shimmer: hsl(0, 43%, 51%);

  /**
   * typography
   */

  /* font-family */
  --ff-poppins: 'Poppins', sans-serif;

  /* font-size */
  --fs-1: 24px;
  --fs-2: 18px;
  --fs-3: 17px;
  --fs-4: 16px;
  --fs-5: 15px;
  --fs-6: 14px;
  --fs-7: 13px;
  --fs-8: 11px;

  /* font-weight */
  --fw-300: 300;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;

  /**
   * shadow
   */
  
  --shadow-1: -4px 8px 24px hsla(0, 0%, 0%, 0.25);
  --shadow-2: 0 16px 30px hsla(0, 0%, 0%, 0.25);
  --shadow-3: 0 16px 40px hsla(0, 0%, 0%, 0.25);
  --shadow-4: 0 25px 50px hsla(0, 0%, 0%, 0.15);
  --shadow-5: 0 24px 80px hsla(0, 0%, 0%, 0.25);

  /**
   * transition
   */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease-in-out;

}





/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

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

a { text-decoration: none; }

li { list-style: none; }

img, ion-icon, a, button, time, span { display: block; }

button {
  font: inherit;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

input, textarea {
  display: block;
  width: 100%;
  background: none;
  font: inherit;
}

::selection {
  background: var(--orange-yellow-crayola);
  color: var(--smoky-black);
}

:focus { outline-color: var(--orange-yellow-crayola); }

html { font-family: var(--ff-poppins); }

body { background: var(--smoky-black); }





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.sidebar,
article {
  background: var(--eerie-black-2);
  border: 1px solid var(--jet);
  border-radius: 20px;
  padding: 15px;
  box-shadow: var(--shadow-1);
  z-index: 1;
}

.separator {
  width: 100%;
  height: 1px;
  background: var(--jet);
  margin: 16px 0;
}

.icon-box {
  position: relative;
  background: var(--border-gradient-onyx);
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  color: var(--orange-yellow-crayola);
  box-shadow: var(--shadow-1);
  z-index: 1;
}

.icon-box::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--eerie-black-1);
  border-radius: inherit;
  z-index: -1;
}

.icon-box ion-icon { --ionicon-stroke-width: 35px; }

article { display: none; }

article.active {
  display: block;
  animation: fade 0.5s ease backwards;
}

@keyframes fade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.h2,
.h3,
.h4,
.h5 {
  color: var(--white-2);
  text-transform: capitalize;
}

.h2 { font-size: var(--fs-1); }

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

.h4 { font-size: var(--fs-4); }

.h5 {
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
}

.article-title {
  position: relative;
  padding-bottom: 7px;
}

.article-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--text-gradient-yellow);
  border-radius: 3px;
}

.has-scrollbar::-webkit-scrollbar {
  width: 5px; /* for vertical scrollbar */
  height: 5px; /* for horizontal scrollbar */
}

.has-scrollbar::-webkit-scrollbar-track {
  background: var(--onyx);
  border-radius: 5px;
}

.has-scrollbar::-webkit-scrollbar-thumb {
  background: var(--orange-yellow-crayola);
  border-radius: 5px;
}

.has-scrollbar::-webkit-scrollbar-button { width: 20px; }

.content-card {
  position: relative;
  background: var(--border-gradient-onyx);
  padding: 15px;
  padding-top: 45px;
  border-radius: 14px;
  box-shadow: var(--shadow-2);
  cursor: pointer;
  z-index: 1;
}

.content-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--bg-gradient-jet);
  border-radius: inherit;
  z-index: -1;
}





/*-----------------------------------*\
  #MAIN
\*-----------------------------------*/

main {
  margin: 15px 12px;
  margin-bottom: 75px;
  min-width: 259px;
}





/*-----------------------------------*\
  #SIDEBAR
\*-----------------------------------*/

.sidebar {
  margin-bottom: 15px;
  max-height: 112px;
  overflow: hidden;
  transition: var(--transition-2);
}

.sidebar.active { max-height: 405px; }

.sidebar-info {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
}

.avatar-box {
  background: var(--bg-gradient-onyx);
  border-radius: 20px;
}

.info-content .name {
  color: var(--white-2);
  font-size: var(--fs-3);
  font-weight: var(--fw-500);
  letter-spacing: -0.25px;
  margin-bottom: 10px;
}

.info-content .title {
  color: var(--white-1);
  background: var(--onyx);
  font-size: var(--fs-8);
  font-weight: var(--fw-300);
  width: max-content;
  padding: 3px 12px;
  border-radius: 8px;
}

.info_more-btn {
  position: absolute;
  top: -15px;
  right: -15px;
  border-radius: 0 15px;
  font-size: 13px;
  color: var(--orange-yellow-crayola);
  background: var(--border-gradient-onyx);
  padding: 10px;
  box-shadow: var(--shadow-2);
  transition: var(--transition-1);
  z-index: 1;
}

.info_more-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: var(--bg-gradient-jet);
  transition: var(--transition-1);
  z-index: -1;
}

.info_more-btn:hover,
.info_more-btn:focus { background: var(--bg-gradient-yellow-1); }

.info_more-btn:hover::before,
.info_more-btn:focus::before { background: var(--bg-gradient-yellow-2); }

.info_more-btn span { display: none; }

.sidebar-info_more {
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-2);
}

.sidebar.active .sidebar-info_more {
  opacity: 1;
  visibility: visible;
}

.contacts-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.contact-item {
  min-width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-info {
  max-width: calc(100% - 46px);
  width: calc(100% - 46px);
}

.contact-title {
  color: var(--light-gray-70);
  font-size: var(--fs-8);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.contact-info :is(.contact-link, time, address) {
  color: var(--white-2);
  font-size: var(--fs-7);
}

.contact-info address { font-style: normal; }

.social-list {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  padding-bottom: 4px;
  padding-left: 7px;
}

.social-item .social-link {
  color: var(--light-gray-70);
  font-size: 18px;
}


.social-item .social-link:hover { color: var(--light-gray); }





/*-----------------------------------*\
  #NAVBAR
\*-----------------------------------*/

.navbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: hsla(240, 1%, 17%, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--jet);
  border-radius: 12px 12px 0 0;
  box-shadow: var(--shadow-2);
  z-index: 5;
}

.navbar-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
}

.navbar-link {
  color: var(--light-gray);
  font-size: var(--fs-8);
  padding: 20px 7px;
  transition: color var(--transition-1);
}

.navbar-link:hover,
.navbar-link:focus { color: var(--light-gray-70); }

.navbar-link.active { color: var(--orange-yellow-crayola); }





/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about .article-title { margin-bottom: 15px; }

.about-text {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.6;
}

.about-text p { margin-bottom: 15px; }



/**
 * #service 
 */

.service { margin-bottom: 35px; }

.service-title { margin-bottom: 20px; }

.service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-item {
  position: relative;
  background: var(--border-gradient-onyx);
  padding: 20px;
  border-radius: 14px;
  box-shadow: var(--shadow-2);
  z-index: 1;
}

.service-item::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--bg-gradient-jet);
  border-radius: inherit;
  z-index: -1;
}

.service-icon-box { margin-bottom: 10px; }

.service-icon-box img { margin: auto; }

.service-content-box { text-align: center; }

.service-item-title { margin-bottom: 7px; }

.service-item-text {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-3);
  line-height: 1.6;
}


/**
 * #testimonials 
 */

.testimonials { margin-bottom: 30px; }

.testimonials-title { margin-bottom: 20px; }

.testimonials-list {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 15px;
  margin: 0 -15px;
  padding: 25px 15px;
  padding-bottom: 35px;
  overflow-x: auto;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
}

.testimonials-item {
  min-width: 100%;
  scroll-snap-align: center;
}

.testimonials-avatar-box {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(15px, -25px);
  background: var(--bg-gradient-onyx);
  border-radius: 14px;
  box-shadow: var(--shadow-1);
}

.testimonials-item-title { margin-bottom: 7px; }

.testimonials-text {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.6;
  display: -webkit-box;
  line-clamp: 4;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/**
 * #testimonials-modal
 */

.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 20;
  pointer-events: none;
  visibility: hidden;
}

.modal-container::-webkit-scrollbar { display: none; }

.modal-container.active {
  pointer-events: all;
  visibility: visible;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: hsl(0, 0%, 5%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transition: var(--transition-1);
}

.overlay.active {
  opacity: 0.8;
  visibility: visible;
  pointer-events: all;
}

.testimonials-modal {
  background: var(--eerie-black-2);
  position: relative;
  padding: 15px;
  margin: 15px 12px;
  border: 1px solid var(--jet);
  border-radius: 14px;
  box-shadow: var(--shadow-5);
  transform: scale(1.2);
  opacity: 0;
  transition: var(--transition-1);
  z-index: 2;
}

.modal-container.active .testimonials-modal {
  transform: scale(1);
  opacity: 1;
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--onyx);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white-2);
  font-size: 18px;
  opacity: 0.7;
}

.modal-close-btn:hover,
.modal-close-btn:focus { opacity: 1; }

.modal-close-btn ion-icon { --ionicon-stroke-width: 50px; }

.modal-avatar-box {
  background: var(--bg-gradient-onyx);
  width: max-content;
  border-radius: 14px;
  margin-bottom: 15px;
  box-shadow: var(--shadow-2);
}

.modal-img-wrapper > img { display: none; }

.modal-title { margin-bottom: 4px; }

.modal-content time {
  font-size: var(--fs-6);
  color: var(--light-gray-70);
  font-weight: var(--fw-300);
  margin-bottom: 10px;
}

.modal-content p {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.6;
}


/**
 * #clients 
 */

.clients { margin-bottom: 15px; }

.clients-list {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 15px;
  margin: 0 -15px;
  padding: 25px;
  padding-bottom: 25px;
  overflow-x: auto;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scroll-padding-inline: 25px;
}

.clients-item {
  min-width: 50%;
  scroll-snap-align: start;
}

.clients-item img {
  width: 100%;
  filter: grayscale(1);
  transition: var(--transition-1);
}

.clients-item img:hover { filter: grayscale(0); }





/*-----------------------------------*\
  #RESUME
\*-----------------------------------*/

.article-title { margin-bottom: 30px; }


/**
 * education and experience 
 */

.timeline { margin-bottom: 30px; }

.timeline .title-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.timeline-list {
  font-size: var(--fs-6);
  margin-left: 45px;
}

.timeline-item { position: relative; }

.timeline-item:not(:last-child) { margin-bottom: 20px; }

.timeline-item-title {
  font-size: var(--fs-6);
  line-height: 1.3;
  margin-bottom: 7px;
}

.timeline-list span {
  color: var(--vegas-gold);
  font-weight: var(--fw-400);
  line-height: 1.6;
}

.timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  top: -25px;
  left: -30px;
  width: 1px;
  height: calc(100% + 50px);
  background: var(--jet);
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: 5px;
  left: -33px;
  height: 6px;
  width: 6px;
  background: var(--text-gradient-yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--jet);
}

.timeline-text {
  color: var(--light-gray);
  font-weight: var(--fw-300);
  line-height: 1.6;
}


/**
 * skills 
 */

.skills-title { margin-bottom: 20px; }

.skills-list { padding: 20px; }


.skills-item:not(:last-child) { margin-bottom: 15px; }

.skill .title-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}

.skill .title-wrapper data {
  color: var(--light-gray);
  font-size: var(--fs-7);
  font-weight: var(--fw-300);
}

.skill-progress-bg {
  background: var(--jet);
  width: 100%;
  height: 8px;
  border-radius: 10px;
}

.skill-progress-fill {
  background: var(--text-gradient-yellow);
  height: 100%;
  border-radius: inherit;
}





/*-----------------------------------*\
  #PORTFOLIO
\*-----------------------------------*/

.filter-list { display: none; }

.filter-select-box {
  position: relative;
  margin-bottom: 25px;
}

.filter-select {
  background: var(--eerie-black-2);
  color: var(--light-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--jet);
  border-radius: 14px;
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
}

.filter-select.active .select-icon { transform: rotate(0.5turn); }

.select-list {
  background: var(--eerie-black-2);
  position: absolute;
  top: calc(100% + 6px);
  width: 100%;
  padding: 6px;
  border: 1px solid var(--jet);
  border-radius: 14px;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.15s ease-in-out;
}

.filter-select.active + .select-list {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.select-item button {
  background: var(--eerie-black-2);
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  text-transform: capitalize;
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
}

.select-item button:hover { --eerie-black-2: hsl(240, 2%, 20%); }

.project-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 10px;
}

.project-item { display: none; }

.project-item.active {
  display: block;
  animation: scaleUp 0.25s ease forwards;
}

@keyframes scaleUp {
  0% { transform: scale(0.5); }
  100% { transform: scale(1); }
}

.project-item > a { width: 100%; }

.project-img {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 15px;
}

.project-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 1;
  transition: var(--transition-1);
}

.project-item > a:hover .project-img::before { background: hsla(0, 0%, 0%, 0.5); }

.project-item-icon-box {
  --scale: 0.8;

  background: var(--jet);
  color: var(--orange-yellow-crayola);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(var(--scale));
  font-size: 20px;
  padding: 18px;
  border-radius: 12px;
  opacity: 0;
  z-index: 1;
  transition: var(--transition-1);
}

.project-item > a:hover .project-item-icon-box {
  --scale: 1;
  opacity: 1;
}

.project-item-icon-box ion-icon { --ionicon-stroke-width: 50px; }

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-1);
}

.project-item > a:hover img { transform: scale(1.1); }

.project-title,
.project-category { margin-left: 10px; }

.project-title {
  color: var(--white-2);
  font-size: var(--fs-5);
  font-weight: var(--fw-400);
  text-transform: capitalize;
  line-height: 1.3;
}

.project-category {
  color: var(--light-gray-70);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
}





/*-----------------------------------*\
  #BLOG
\*-----------------------------------*/

.blog-posts { margin-bottom: 10px; }

.blog-posts-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.blog-post-item > a {
  position: relative;
  background: var(--border-gradient-onyx);
  height: 100%;
  box-shadow: var(--shadow-4);
  border-radius: 16px;
  z-index: 1;
}

.blog-post-item > a::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: var(--eerie-black-1);
  z-index: -1;
}

.blog-banner-box {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
}

.blog-banner-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-1);
}

.blog-post-item > a:hover .blog-banner-box img { transform: scale(1.1); }

.blog-content { padding: 15px; }

.blog-meta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
}

.blog-meta :is(.blog-category, time) {
  color: var(--light-gray-70);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
}

.blog-meta .dot {
  background: var(--light-gray-70);
  width: 4px;
  height: 4px;
  border-radius: 4px;
}

.blog-item-title {
  margin-bottom: 10px;
  line-height: 1.3;
  transition: var(--transition-1);
}

.blog-post-item > a:hover .blog-item-title { color: var(--orange-yellow-crayola); }

.blog-text {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.6;
}





/*-----------------------------------*\
  #CONTACT
\*-----------------------------------*/

.mapbox {
  position: relative;
  height: 250px;
  width: 100%;
  border-radius: 16px;
  margin-bottom: 30px;
  border: 1px solid var(--jet);
  overflow: hidden;
}

.mapbox figure { height: 100%; }

.mapbox iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(1) invert(1);
}

.contact-form { margin-bottom: 10px; }

.form-title { margin-bottom: 20px; }

.input-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-bottom: 25px;
}

.form-input {
  color: var(--white-2);
  font-size: var(--fs-6);
  font-weight: var(--fw-400);
  padding: 13px 20px;
  border: 1px solid var(--jet);
  border-radius: 14px;
  outline: none;
}

.form-input::placeholder { font-weight: var(--fw-500); }

.form-input:focus { border-color: var(--orange-yellow-crayola); }

textarea.form-input {
  min-height: 100px;
  height: 120px;
  max-height: 200px;
  resize: vertical;
  margin-bottom: 25px;
}

textarea.form-input::-webkit-resizer { display: none; }

.form-input:focus:invalid { border-color: var(--bittersweet-shimmer); }

.form-btn {
  position: relative;
  width: 100%;
  background: var(--border-gradient-onyx);
  color: var(--orange-yellow-crayola);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 14px;
  font-size: var(--fs-6);
  text-transform: capitalize;
  box-shadow: var(--shadow-3);
  z-index: 1;
  transition: var(--transition-1);
}

.form-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--bg-gradient-jet);
  border-radius: inherit;
  z-index: -1;
  transition: var(--transition-1);
}

.form-btn ion-icon { font-size: 16px; }

.form-btn:hover { background: var(--bg-gradient-yellow-1); }

.form-btn:hover::before { background: var(--bg-gradient-yellow-2); }

.form-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-btn:disabled:hover { background: var(--border-gradient-onyx); }

.form-btn:disabled:hover::before { background: var(--bg-gradient-jet); }





/*-----------------------------------*\
  #RESPONSIVE
\*-----------------------------------*/

/**
 * responsive larger than 450px screen
 */

@media (min-width: 450px) {

  /**
   * client
   */

  .clients-item { min-width: calc(33.33% - 10px); }



  /**
   * #PORTFOLIO, BLOG 
   */

  .project-img,
  .blog-banner-box { height: auto; }

}





/**
 * responsive larger than 580px screen
 */

@media (min-width: 580px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 32px;
    --fs-2: 24px;
    --fs-3: 26px;
    --fs-4: 18px;
    --fs-6: 15px;
    --fs-7: 15px;
    --fs-8: 12px;

  }



  /**
   * #REUSED STYLE
   */

  .sidebar, article {
    width: 520px;
    margin-inline: auto;
    padding: 30px;
  }

  .article-title {
    font-weight: var(--fw-600);
    padding-bottom: 15px;
  }

  .article-title::after {
    width: 40px;
    height: 5px;
  }

  .icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 18px;
  }



  /**
   * #MAIN
   */

  main {
    margin-top: 60px;
    margin-bottom: 100px;
  }



  /**
   * #SIDEBAR
   */

  .sidebar {
    max-height: 180px;
    margin-bottom: 30px;
  }

  .sidebar.active { max-height: 584px; }

  .sidebar-info { gap: 25px; }

  .avatar-box { border-radius: 30px; }

  .avatar-box img { width: 120px; }

  .info-content .name { margin-bottom: 15px; }

  .info-content .title { padding: 5px 18px; }

  .info_more-btn {
    top: -30px;
    right: -30px;
    padding: 10px 15px;
  }

  .info_more-btn span {
    display: block;
    font-size: var(--fs-8);
  }

  .info_more-btn ion-icon { display: none; }

  .separator { margin: 32px 0; }

  .contacts-list { gap: 20px; }

  .contact-info {
    max-width: calc(100% - 64px);
    width: calc(100% - 64px);
  }



  /**
   * #NAVBAR
   */

  .navbar { border-radius: 20px 20px 0 0; }

  .navbar-list { gap: 20px; }

  .navbar-link { --fs-8: 14px; }



  /**
   * #ABOUT
   */

  .about .article-title { margin-bottom: 20px; }

  .about-text { margin-bottom: 40px; }

  /* service */

  .service-item {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 18px;
    padding: 30px;
  }

  .service-icon-box {
    margin-bottom: 0;
    margin-top: 5px;
  }

  .service-content-box { text-align: left; }

  /* testimonials */

  .testimonials-title { margin-bottom: 25px; }

  .testimonials-list {
    gap: 30px;
    margin: 0 -30px;
    padding: 30px;
    padding-bottom: 35px;
  }

  .content-card {
    padding: 30px;
    padding-top: 25px;
  }

  .testimonials-avatar-box {
    transform: translate(30px, -30px);
    border-radius: 20px;
  }

  .testimonials-avatar-box img { width: 80px; }

  .testimonials-item-title {
    margin-bottom: 10px;
    margin-left: 95px;
  }

  .testimonials-text {
    line-clamp: 2;
    -webkit-line-clamp: 2;
  }

  /* testimonials modal */

  .modal-container { padding: 20px; }

  .testimonials-modal {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 25px;
    padding: 30px;
    border-radius: 20px;
  }

  .modal-img-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .modal-avatar-box {
    border-radius: 18px;
    margin-bottom: 0;
  }

  .modal-avatar-box img { width: 65px; }

  .modal-img-wrapper > img {
    display: block;
    flex-grow: 1;
    width: 35px;
  }

  /* clients */

  .clients-list {
    gap: 50px;
    margin: 0 -30px;
    padding: 45px;
    scroll-padding-inline: 45px;
  }

  .clients-item { min-width: calc(33.33% - 35px); }



  /**
   * #RESUME
   */

  .timeline-list { margin-left: 65px; }

  .timeline-item:not(:last-child)::before { left: -40px; }

  .timeline-item::after {
    height: 8px;
    width: 8px;
    left: -43px;
  }

  .skills-item:not(:last-child) { margin-bottom: 25px; }



  /**
   * #PORTFOLIO, BLOG
   */

  .project-img, .blog-banner-box { border-radius: 16px; }

  .blog-posts-list { gap: 30px; }

  .blog-content { padding: 25px; }



  /**
   * #CONTACT
   */

  .mapbox {
    height: 380px;
    border-radius: 18px;
  }

  .input-wrapper {
    gap: 30px;
    margin-bottom: 30px;
  }

  .form-input { padding: 15px 20px; }

  textarea.form-input { margin-bottom: 30px; }

  .form-btn {
    --fs-6: 16px;
    padding: 16px 20px;
  }

  .form-btn ion-icon { font-size: 18px; }

}





/**
 * responsive larger than 768px screen
 */

@media (min-width: 768px) {

  /**
   * REUSED STYLE
   */

  .sidebar, article { width: 700px; }

  .has-scrollbar::-webkit-scrollbar-button { width: 100px; }



  /**
   * SIDEBAR
   */

  .contacts-list {
    grid-template-columns: 1fr 1fr;
    gap: 30px 15px;
  }



  /**
   * NAVBAR
   */

  .navbar-link { --fs-8: 15px; }



  /**
   * ABOUT
   */

  /* testimonials modal */

  .testimonials-modal {
    gap: 35px;
    max-width: 680px;
  }

  .modal-avatar-box img { width: 80px; }



  /**
   * PORTFOLIO
   */

  .article-title { padding-bottom: 20px; }

  .filter-select-box { display: none; }

  .filter-list {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 25px;
    padding-left: 5px;
    margin-bottom: 30px;
  }

  .filter-item button {
    color: var(--light-gray);
    font-size: var(--fs-5);
    transition: var(--transition-1);
  }

  .filter-item button:hover { color: var(--light-gray-70); }

  .filter-item button.active { color: var(--orange-yellow-crayola); }

  /* portfolio and blog grid */

  .project-list, .blog-posts-list { grid-template-columns: 1fr 1fr; }



  /**
   * CONTACT
   */

  .input-wrapper { grid-template-columns: 1fr 1fr; }

  .form-btn {
    width: max-content;
    margin-left: auto;
  }
  
}





/**
 * responsive larger than 1024px screen
 */

@media (min-width: 1024px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
    * shadow
    */

    --shadow-1: -4px 8px 24px hsla(0, 0%, 0%, 0.125);
    --shadow-2: 0 16px 30px hsla(0, 0%, 0%, 0.125);
    --shadow-3: 0 16px 40px hsla(0, 0%, 0%, 0.125);

  }



  /**
   * REUSED STYLE
   */

  .sidebar, article {
    width: 950px;
    box-shadow: var(--shadow-5);
  }



  /**
   * MAIN 
   */

  main { margin-bottom: 60px; }

  .main-content {
    position: relative;
    width: max-content;
    margin: auto;
  }



  /**
   * NAVBAR
   */

  .navbar {
    position: absolute;
    bottom: auto;
    top: 0;
    left: auto;
    right: 0;
    width: max-content;
    border-radius: 0 20px;
    padding: 0 20px;
    box-shadow: none;
  }

  .navbar-list {
    gap: 30px;
    padding: 0 20px;
  }

  .navbar-link { font-weight: var(--fw-500); }



  /**
   * ABOUT
   */

  /* service */

  .service-list {
    grid-template-columns: 1fr 1fr;
    gap: 20px 25px;
  }

  /* testimonials */

  .testimonials-item { min-width: calc(50% - 15px); }

  /* clients */

  .clients-item { min-width: calc(25% - 38px); }



  /**
   * PORTFOLIO
   */

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



  /**
   * BLOG
   */

  .blog-banner-box { height: 230px; }

}





/**
 * responsive larger than 1250px screen
 */

@media (min-width: 1250px) {

  /**
   * RESET
   */

  body::-webkit-scrollbar { width: 20px; }

  body::-webkit-scrollbar-track { background: var(--smoky-black); }

  body::-webkit-scrollbar-thumb {
    border: 5px solid var(--smoky-black);
    background: hsla(0, 0%, 100%, 0.1);
    border-radius: 20px;
    box-shadow: inset 1px 1px 0 hsla(0, 0%, 100%, 0.11),
                inset -1px -1px 0 hsla(0, 0%, 100%, 0.11);
  }

  body::-webkit-scrollbar-thumb:hover { background: hsla(0, 0%, 100%, 0.15); }

  body::-webkit-scrollbar-button { height: 60px; }



  /**
   * REUSED STYLE
   */

  .sidebar, article { width: auto; }

  article { min-height: 100%; }



  /**
   * MAIN
   */

  main {
    max-width: 1200px;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
  }

  .main-content {
    min-width: 75%;
    width: 75%;
    margin: 0;
  }



  /**
   * SIDEBAR
   */

  .sidebar {
    position: sticky;
    top: 60px;
    max-height: max-content;
    height: 100%;
    margin-bottom: 0;
    padding-top: 60px;
    z-index: 1;
  }

  .sidebar-info { flex-direction: column; }

  .avatar-box img { width: 150px; }

  .info-content .name {
    white-space: nowrap;
    text-align: center;
  }

  .info-content .title { margin: auto; }

  .info_more-btn { display: none; }

  .sidebar-info_more {
    opacity: 1;
    visibility: visible;
  }

  .contacts-list { grid-template-columns: 1fr; }

  .contact-info :is(.contact-link) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .contact-info :is(.contact-link, time, address) {
    --fs-7: 14px;
    font-weight: var(--fw-300);
  }

  .separator:last-of-type {
    margin: 15px 0;
    opacity: 0;
  }

  .social-list { justify-content: center; }



  /**
	 * RESUME
	 */

.timeline-text { max-width: 700px; }

}





/*-----------------------------------*\
  #VISUAL REFRESH
\*-----------------------------------*/

:root {
  --ff-poppins: "Manrope", "Noto Sans SC", sans-serif;
  --smoky-black: hsl(216, 45%, 8%);
  --eerie-black-1: hsla(216, 38%, 12%, 0.92);
  --eerie-black-2: hsla(215, 33%, 14%, 0.8);
  --onyx: hsl(214, 29%, 18%);
  --jet: hsla(210, 22%, 36%, 0.45);
  --white-1: hsl(0, 0%, 100%);
  --white-2: hsl(210, 33%, 96%);
  --light-gray: hsl(213, 18%, 78%);
  --light-gray-70: hsla(213, 18%, 78%, 0.72);
  --orange-yellow-crayola: hsl(30, 96%, 68%);
  --vegas-gold: hsl(185, 60%, 66%);
  --bittersweet-shimmer: hsl(8, 74%, 62%);
  --bg-gradient-onyx: linear-gradient(135deg, hsla(214, 42%, 20%, 0.95), hsla(216, 30%, 11%, 0.9));
  --bg-gradient-jet: linear-gradient(135deg, hsla(190, 61%, 52%, 0.18), hsla(30, 96%, 68%, 0.04)), hsla(216, 30%, 11%, 0.94);
  --bg-gradient-yellow-1: linear-gradient(135deg, hsla(30, 96%, 68%, 0.35), hsla(190, 61%, 52%, 0.12));
  --bg-gradient-yellow-2: linear-gradient(135deg, hsla(30, 96%, 68%, 0.28), hsla(190, 61%, 52%, 0.08)), hsla(214, 42%, 18%, 0.95);
  --border-gradient-onyx: linear-gradient(135deg, hsla(0, 0%, 100%, 0.18), hsla(0, 0%, 100%, 0.02));
  --text-gradient-yellow: linear-gradient(90deg, hsl(29, 95%, 70%), hsl(186, 64%, 67%));
  --shadow-1: 0 24px 60px hsla(220, 50%, 3%, 0.28);
  --shadow-2: 0 24px 80px hsla(220, 50%, 3%, 0.34);
  --shadow-3: 0 30px 100px hsla(220, 50%, 3%, 0.42);
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 18%, hsla(188, 76%, 60%, 0.18), transparent 28%),
    radial-gradient(circle at 85% 12%, hsla(30, 96%, 68%, 0.16), transparent 24%),
    radial-gradient(circle at 80% 75%, hsla(199, 70%, 49%, 0.14), transparent 26%),
    linear-gradient(180deg, #0b1421 0%, #0b1018 52%, #09111d 100%);
  color: var(--white-2);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.32;
}

body::before {
  top: -12rem;
  right: -10rem;
  background: radial-gradient(circle, hsla(30, 96%, 68%, 0.55), transparent 62%);
  animation: floatGlow 16s ease-in-out infinite;
}

body::after {
  bottom: -14rem;
  left: -12rem;
  background: radial-gradient(circle, hsla(188, 76%, 60%, 0.4), transparent 64%);
  animation: floatGlow 20s ease-in-out infinite reverse;
}

main {
  position: relative;
  z-index: 1;
}

main::before {
  content: "";
  display: block;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.46;
  background:
    repeating-linear-gradient(108deg, rgba(255, 255, 255, 0.36) 0 1px, transparent 1px 34px),
    linear-gradient(108deg, transparent 0 18%, rgba(47, 223, 214, 0.2) 18.5%, transparent 20% 56%, rgba(255, 197, 128, 0.2) 57%, transparent 59%);
}

main > * {
  position: relative;
  z-index: 1;
}

.sidebar,
article {
  background: linear-gradient(180deg, rgba(13, 22, 35, 0.84), rgba(10, 18, 30, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(24px);
}

.icon-box {
  color: var(--vegas-gold);
}

.name {
  letter-spacing: -0.04em;
}

.title {
  background: linear-gradient(90deg, rgba(255, 179, 107, 0.18), rgba(91, 214, 221, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white-2);
}

.info_more-btn,
.filter-select,
.form-btn,
.filter-item button {
  border-radius: 14px;
}

.info_more-btn {
  background: linear-gradient(135deg, rgba(255, 179, 107, 0.16), rgba(91, 214, 221, 0.12));
  color: var(--white-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.info_more-btn:hover,
.info_more-btn:focus {
  background: linear-gradient(135deg, rgba(255, 179, 107, 0.26), rgba(91, 214, 221, 0.18));
}

.navbar {
  background: rgba(12, 20, 31, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.navbar-link {
  color: rgba(226, 232, 240, 0.72);
  transition: color var(--transition-1), transform var(--transition-1);
}

.navbar-link:hover,
.navbar-link:focus {
  color: var(--white-1);
  transform: translateY(-1px);
}

.navbar-link.active {
  position: relative;
  color: var(--white-1);
}

.navbar-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  border-radius: 999px;
  background: var(--text-gradient-yellow);
}

.article-title {
  letter-spacing: -0.04em;
}

.article-title::after {
  width: 54px;
  height: 4px;
  background: var(--text-gradient-yellow);
}

.about-text p,
.timeline-text,
.service-item-text,
.blog-text,
.testimonials-text,
.contact-info :is(.contact-link, time, address) {
  color: rgba(226, 232, 240, 0.78);
}

.service-item,
.content-card,
.project-item > a,
.blog-post-item > a,
.skills-list.content-card,
.mapbox,
.form-input {
  background: linear-gradient(180deg, rgba(17, 29, 45, 0.82), rgba(14, 24, 37, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
}

.service-item,
.content-card,
.project-item > a,
.blog-post-item > a {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-item:hover,
.content-card:hover,
.project-item > a:hover,
.blog-post-item > a:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 179, 107, 0.28);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.26);
}

.service-icon-box,
.testimonials-avatar-box,
.modal-avatar-box,
.avatar-box {
  background: linear-gradient(135deg, rgba(255, 179, 107, 0.18), rgba(91, 214, 221, 0.12));
  border-radius: 22px;
}

.avatar-box img {
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.2));
}

.timeline-item::after,
.skill-progress-fill,
.project-item-icon-box {
  background: var(--text-gradient-yellow);
}

.project-img,
.blog-banner-box,
.mapbox figure,
.modal-avatar-box {
  border-radius: 20px;
  overflow: hidden;
}

.project-item-icon-box {
  color: #08111a;
  box-shadow: 0 12px 30px rgba(255, 184, 108, 0.3);
}

.filter-item button,
.filter-select,
.select-item button {
  color: rgba(226, 232, 240, 0.8);
}

.filter-item button.active,
.filter-item button:hover,
.filter-item button:focus {
  color: #08111a;
  background: linear-gradient(90deg, rgba(255, 179, 107, 0.95), rgba(91, 214, 221, 0.86));
}

.select-list,
.testimonials-modal {
  background: linear-gradient(180deg, rgba(13, 22, 35, 0.96), rgba(10, 18, 30, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-3);
}

.blog-category,
.project-category,
.contact-title,
.timeline-item span,
.blog-meta time,
.select-value {
  color: var(--vegas-gold);
}

.clients-item img {
  filter: grayscale(0%) opacity(0.8);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.clients-item a:hover img {
  transform: translateY(-3px);
  opacity: 1;
}

.form-input {
  color: var(--white-1);
  border-radius: 18px;
}

.form-input::placeholder {
  color: rgba(226, 232, 240, 0.45);
}

.form-input:focus {
  border-color: rgba(91, 214, 221, 0.42);
  box-shadow: 0 0 0 4px rgba(91, 214, 221, 0.08);
}

.form-btn {
  background: linear-gradient(90deg, rgba(255, 179, 107, 0.96), rgba(91, 214, 221, 0.9));
  color: #08111a;
  font-weight: 800;
  box-shadow: 0 20px 40px rgba(35, 72, 83, 0.24);
}

.form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px rgba(35, 72, 83, 0.32);
}

.form-btn:disabled {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.34);
  box-shadow: none;
}

.has-scrollbar::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(255, 179, 107, 0.8), rgba(91, 214, 221, 0.72));
}

.has-scrollbar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}

article.active {
  animation: panelFade 0.55s ease backwards;
}

@keyframes panelFade {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

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





/*-----------------------------------*\
  #GLASSMORPHISM FINAL OVERRIDE
\*-----------------------------------*/

body {
  background-color: #90a8a3;
  background-image:
    linear-gradient(115deg, transparent 0 9%, rgba(255, 255, 255, 0.22) 9.2%, transparent 9.8% 24%, rgba(51, 210, 203, 0.14) 24.3%, transparent 25% 48%, rgba(255, 196, 130, 0.2) 48.4%, transparent 49.2%),
    repeating-linear-gradient(105deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 42px),
    radial-gradient(circle at 18% 12%, rgba(54, 221, 213, 0.22) 0 8%, transparent 22%),
    radial-gradient(circle at 82% 14%, rgba(255, 207, 145, 0.34) 0 9%, transparent 24%),
    radial-gradient(circle at 50% 82%, rgba(255, 255, 255, 0.18) 0 9%, transparent 26%),
    var(--site-landscape-image);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body::before,
body::after {
  content: "";
  display: block;
  position: fixed;
  pointer-events: none;
  z-index: 0;
  filter: blur(38px);
  opacity: 0.64;
}

main {
  position: relative;
  z-index: 1;
}

body::before {
  width: 46vw;
  height: 18vh;
  right: -8vw;
  top: 22vh;
  background:
    linear-gradient(90deg, rgba(47, 223, 214, 0), rgba(47, 223, 214, 0.34), rgba(255, 255, 255, 0.18), rgba(47, 223, 214, 0));
  transform: rotate(-18deg);
}

body::after {
  width: 52vw;
  height: 20vh;
  left: -10vw;
  bottom: 20vh;
  background:
    linear-gradient(90deg, rgba(255, 197, 128, 0), rgba(255, 197, 128, 0.4), rgba(255, 255, 255, 0.16), rgba(255, 197, 128, 0));
  transform: rotate(16deg);
}

.sidebar,
article,
.navbar,
.about-text,
.timeline,
.mapbox,
.contact-form,
.skills-list.content-card,
.testimonials-modal,
.service-item,
.content-card,
.project-item > a,
.blog-post-item > a,
.clients-item a,
.filter-select,
.select-list,
.form-input,
.form-btn {
  backdrop-filter: blur(28px) saturate(150%) contrast(104%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(150%) contrast(104%) !important;
}

.sidebar,
article,
.navbar {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.1) 48%, rgba(220, 239, 242, 0.08) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  box-shadow:
    0 34px 90px rgba(37, 78, 84, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(255, 255, 255, 0.22) !important;
}

.about-text,
.timeline,
.mapbox,
.contact-form,
.skills-list.content-card,
.testimonials-modal,
.service-item,
.content-card,
.project-item > a,
.blog-post-item > a,
.clients-item a {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.12) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.58) !important;
  box-shadow:
    0 22px 58px rgba(37, 78, 84, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(255, 255, 255, 0.18) !important;
}

.service-item,
.content-card,
.project-item > a,
.blog-post-item > a,
.clients-item a {
  transform: translateZ(0);
}

.service-item:hover,
.content-card:hover,
.project-item > a:hover,
.blog-post-item > a:hover,
.clients-item a:hover {
  transform: translateY(-8px) translateZ(0);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.16) 100%) !important;
  border-color: rgba(255, 255, 255, 0.78) !important;
  box-shadow:
    0 30px 72px rgba(37, 78, 84, 0.22),
    0 0 0 1px rgba(47, 223, 214, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
}

@media (max-width: 579px) {
  .sidebar,
  article,
  .navbar,
  .about-text,
  .timeline,
  .mapbox,
  .contact-form,
  .skills-list.content-card,
  .testimonials-modal,
  .service-item,
  .content-card,
  .project-item > a,
  .blog-post-item > a,
  .clients-item a {
    backdrop-filter: blur(18px) saturate(136%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(136%) !important;
  }
}



/*-----------------------------------*\
  #DAY NIGHT TRUE FINAL OVERRIDE
\*-----------------------------------*/

body:not([data-theme="night"]) {
  background-color: #90a8a3 !important;
  background-image:
    radial-gradient(circle at 18% 12%, rgba(54, 221, 213, 0.22) 0 8%, transparent 22%),
    radial-gradient(circle at 78% 18%, rgba(244, 251, 249, 0.22) 0 9%, transparent 24%),
    radial-gradient(circle at 50% 82%, rgba(255, 255, 255, 0.18) 0 9%, transparent 26%),
    var(--site-landscape-image) !important;
}

body:not([data-theme="night"])::after {
  display: none !important;
}

body[data-theme="night"] {
  color: rgba(238, 246, 255, 0.9);
  background-color: #17133d !important;
  background-image:
    radial-gradient(circle at 13% 12%, rgba(245, 0, 196, 0.52) 0 6%, rgba(176, 58, 211, 0.3) 12%, transparent 27%),
    radial-gradient(circle at 87% 70%, rgba(16, 196, 235, 0.68) 0 10%, rgba(16, 145, 219, 0.32) 18%, transparent 35%),
    radial-gradient(circle at 48% 45%, rgba(153, 92, 214, 0.32) 0 9%, transparent 22%),
    linear-gradient(165deg, #151233 0%, #27205a 46%, #141a38 100%) !important;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body[data-theme="night"]::before,
body[data-theme="night"]::after {
  display: block !important;
  z-index: -1;
  border-radius: 999px;
  filter: blur(78px);
}

body[data-theme="night"]::before {
  width: 370px;
  height: 370px;
  left: 3vw;
  top: 2vh;
  right: auto;
  bottom: auto;
  background: rgba(236, 0, 203, 0.5) !important;
}

body[data-theme="night"]::after {
  width: 460px;
  height: 460px;
  right: 2vw;
  bottom: 2vh;
  left: auto;
  top: auto;
  background: rgba(14, 191, 229, 0.54) !important;
}

body[data-theme="night"] main::before,
body[data-theme="night"] main::after {
  content: "";
  position: fixed;
  pointer-events: none;
  display: block !important;
}

body[data-theme="night"] main::before {
  width: min(44vw, 620px);
  height: min(26vw, 350px);
  left: 25vw;
  top: 12vh;
  z-index: -2;
  border: 1px solid rgba(236, 241, 255, 0.34);
  border-radius: 34px;
  background:
    radial-gradient(circle at 52% 50%, rgba(191, 91, 214, 0.38) 0 25%, transparent 26%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 30px 80px rgba(8, 8, 28, 0.22);
  backdrop-filter: blur(6px) saturate(130%);
  -webkit-backdrop-filter: blur(6px) saturate(130%);
  transform: rotate(-11deg);
}

body[data-theme="night"] main::after {
  width: min(28vw, 390px);
  aspect-ratio: 1;
  right: 10vw;
  top: 9vh;
  z-index: -2;
  border: 1px solid rgba(236, 241, 255, 0.38);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.045);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 24px 70px rgba(8, 8, 28, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

body[data-theme="night"] .sidebar,
body[data-theme="night"] article,
body[data-theme="night"] .navbar {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.065) 48%, rgba(29, 34, 84, 0.22) 100%) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(94, 219, 242, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08) !important;
}

body[data-theme="night"] .about-text,
body[data-theme="night"] .timeline,
body[data-theme="night"] .mapbox,
body[data-theme="night"] .contact-form,
body[data-theme="night"] .skills-list.content-card,
body[data-theme="night"] .testimonials-modal,
body[data-theme="night"] .service-item,
body[data-theme="night"] .content-card,
body[data-theme="night"] .project-item > a,
body[data-theme="night"] .blog-post-item > a,
body[data-theme="night"] .clients-item a,
body[data-theme="night"] .form-input {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.055) 100%) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow:
    0 22px 62px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06) !important;
}

body[data-theme="night"] .h2,
body[data-theme="night"] .h3,
body[data-theme="night"] .h4,
body[data-theme="night"] .name,
body[data-theme="night"] .navbar-link,
body[data-theme="night"] .contact-link,
body[data-theme="night"] .contact-info :is(time, address),
body[data-theme="night"] .about-text,
body[data-theme="night"] .service-item-text,
body[data-theme="night"] .blog-text,
body[data-theme="night"] .timeline-text,
body[data-theme="night"] .filter-item button,
body[data-theme="night"] .select-item button,
body[data-theme="night"] .form-input {
  color: rgba(239, 246, 255, 0.88) !important;
}

body[data-theme="night"] .title,
body[data-theme="night"] .contact-title,
body[data-theme="night"] .category,
body[data-theme="night"] .timeline-item-title,
body[data-theme="night"] .blog-meta {
  color: rgba(199, 217, 236, 0.68) !important;
}

body[data-theme="night"] .icon-box,
body[data-theme="night"] .social-link {
  color: #69efff !important;
  background: rgba(255, 255, 255, 0.11) !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 26px rgba(48, 207, 235, 0.16) !important;
}

body[data-theme="night"] .navbar-indicator,
body[data-theme="night"] .form-btn {
  background: linear-gradient(135deg, #35e2df, #1f98ea) !important;
  box-shadow:
    0 18px 42px rgba(31, 152, 234, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.38) !important;
}

body[data-theme="night"] .separator {
  background: rgba(255, 255, 255, 0.14) !important;
}

body[data-theme="night"] .service-item:hover,
body[data-theme="night"] .content-card:hover,
body[data-theme="night"] .project-item > a:hover,
body[data-theme="night"] .blog-post-item > a:hover,
body[data-theme="night"] .clients-item a:hover {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.08) 100%) !important;
  border-color: rgba(105, 239, 255, 0.34) !important;
  box-shadow:
    0 30px 76px rgba(0, 0, 0, 0.34),
    0 0 40px rgba(35, 203, 232, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
}

@media (max-width: 900px) {
  .theme-toggle {
    top: auto;
    right: 14px;
    bottom: 16px;
    left: auto;
    height: 40px;
    min-width: 80px;
    padding-inline: 13px;
  }

  body[data-theme="night"] main::before {
    width: 66vw;
    height: 34vw;
    left: 18vw;
    top: 16vh;
  }

  body[data-theme="night"] main::after {
    width: 38vw;
    right: -5vw;
    top: 11vh;
  }
}



/*-----------------------------------*\
  #DAY NIGHT THEME
\*-----------------------------------*/

.theme-toggle {
  position: fixed;
  top: 22px;
  left: 22px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 92px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.18));
  color: rgba(35, 57, 58, 0.86);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow:
    0 18px 44px rgba(35, 73, 76, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, color 220ms ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.24));
}

.theme-toggle__icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #fff 0 18%, transparent 19%),
    linear-gradient(145deg, #2bd8d2, #1f9bd7);
  box-shadow: 0 0 18px rgba(43, 216, 210, 0.56);
}

body[data-theme="night"] {
  color: rgba(238, 246, 255, 0.9);
  background-color: #17133d !important;
  background-image:
    radial-gradient(circle at 13% 12%, rgba(245, 0, 196, 0.52) 0 6%, rgba(176, 58, 211, 0.3) 12%, transparent 27%),
    radial-gradient(circle at 87% 70%, rgba(16, 196, 235, 0.68) 0 10%, rgba(16, 145, 219, 0.32) 18%, transparent 35%),
    radial-gradient(circle at 48% 45%, rgba(153, 92, 214, 0.32) 0 9%, transparent 22%),
    linear-gradient(165deg, #151233 0%, #27205a 46%, #141a38 100%) !important;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body[data-theme="night"]::before,
body[data-theme="night"]::after {
  display: block !important;
  z-index: -1;
  filter: blur(78px);
}

body[data-theme="night"]::before {
  width: 370px;
  height: 370px;
  left: 3vw;
  top: 2vh;
  right: auto;
  bottom: auto;
  background: rgba(236, 0, 203, 0.5) !important;
}

body[data-theme="night"]::after {
  width: 460px;
  height: 460px;
  right: 2vw;
  bottom: 2vh;
  left: auto;
  top: auto;
  background: rgba(14, 191, 229, 0.54) !important;
}

body[data-theme="night"] main::before,
body[data-theme="night"] main::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
  display: block !important;
}

body[data-theme="night"] main::before {
  width: min(44vw, 620px);
  height: min(26vw, 350px);
  left: 25vw;
  top: 12vh;
  border: 1px solid rgba(236, 241, 255, 0.34);
  border-radius: 34px;
  background:
    radial-gradient(circle at 52% 50%, rgba(191, 91, 214, 0.38) 0 25%, transparent 26%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 30px 80px rgba(8, 8, 28, 0.22);
  backdrop-filter: blur(6px) saturate(130%);
  -webkit-backdrop-filter: blur(6px) saturate(130%);
  transform: rotate(-11deg);
}

body[data-theme="night"] main::after {
  width: min(28vw, 390px);
  aspect-ratio: 1;
  right: 10vw;
  top: 9vh;
  border: 1px solid rgba(236, 241, 255, 0.38);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.045);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 24px 70px rgba(8, 8, 28, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

body[data-theme="night"] .theme-toggle {
  border-color: rgba(255, 255, 255, 0.24);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  color: rgba(240, 247, 255, 0.9);
  box-shadow:
    0 18px 54px rgba(0, 0, 0, 0.28),
    0 0 36px rgba(21, 197, 234, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

body[data-theme="night"] .theme-toggle__icon {
  background:
    radial-gradient(circle at 63% 34%, #17133d 0 28%, transparent 29%),
    linear-gradient(145deg, #f20fc8, #23cbe8);
  box-shadow:
    0 0 22px rgba(242, 15, 200, 0.56),
    0 0 34px rgba(35, 203, 232, 0.32);
}

body[data-theme="night"] .sidebar,
body[data-theme="night"] article,
body[data-theme="night"] .navbar {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.065) 48%, rgba(29, 34, 84, 0.22) 100%) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(94, 219, 242, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08) !important;
}

body[data-theme="night"] .about-text,
body[data-theme="night"] .timeline,
body[data-theme="night"] .mapbox,
body[data-theme="night"] .contact-form,
body[data-theme="night"] .skills-list.content-card,
body[data-theme="night"] .testimonials-modal,
body[data-theme="night"] .service-item,
body[data-theme="night"] .content-card,
body[data-theme="night"] .project-item > a,
body[data-theme="night"] .blog-post-item > a,
body[data-theme="night"] .clients-item a,
body[data-theme="night"] .form-input {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.055) 100%) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow:
    0 22px 62px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06) !important;
}

body[data-theme="night"] .h2,
body[data-theme="night"] .h3,
body[data-theme="night"] .h4,
body[data-theme="night"] .name,
body[data-theme="night"] .navbar-link,
body[data-theme="night"] .contact-link,
body[data-theme="night"] .contact-info :is(time, address),
body[data-theme="night"] .about-text,
body[data-theme="night"] .service-item-text,
body[data-theme="night"] .blog-text,
body[data-theme="night"] .timeline-text,
body[data-theme="night"] .filter-item button,
body[data-theme="night"] .select-item button,
body[data-theme="night"] .form-input {
  color: rgba(239, 246, 255, 0.88) !important;
}

body[data-theme="night"] .title,
body[data-theme="night"] .contact-title,
body[data-theme="night"] .category,
body[data-theme="night"] .timeline-item-title,
body[data-theme="night"] .blog-meta {
  color: rgba(199, 217, 236, 0.68) !important;
}

body[data-theme="night"] .icon-box,
body[data-theme="night"] .social-link {
  color: #69efff !important;
  background: rgba(255, 255, 255, 0.11) !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 26px rgba(48, 207, 235, 0.16) !important;
}

body[data-theme="night"] .navbar-indicator,
body[data-theme="night"] .form-btn {
  background: linear-gradient(135deg, #35e2df, #1f98ea) !important;
  box-shadow:
    0 18px 42px rgba(31, 152, 234, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.38) !important;
}

body[data-theme="night"] .separator {
  background: rgba(255, 255, 255, 0.14) !important;
}

body[data-theme="night"] .service-item:hover,
body[data-theme="night"] .content-card:hover,
body[data-theme="night"] .project-item > a:hover,
body[data-theme="night"] .blog-post-item > a:hover,
body[data-theme="night"] .clients-item a:hover {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.08) 100%) !important;
  border-color: rgba(105, 239, 255, 0.34) !important;
  box-shadow:
    0 30px 76px rgba(0, 0, 0, 0.34),
    0 0 40px rgba(35, 203, 232, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
}

@media (max-width: 900px) {
  .theme-toggle {
    top: 12px;
    left: 12px;
    height: 40px;
    min-width: 80px;
    padding-inline: 13px;
  }

  body[data-theme="night"] main::before {
    width: 66vw;
    height: 34vw;
    left: 18vw;
    top: 16vh;
  }

  body[data-theme="night"] main::after {
    width: 38vw;
    right: -5vw;
    top: 11vh;
  }
}





/*-----------------------------------*\
  #REMOVE WARM GLASS STAIN
\*-----------------------------------*/

body {
  background-image:
    radial-gradient(circle at 18% 12%, rgba(54, 221, 213, 0.2) 0 8%, transparent 22%),
    radial-gradient(circle at 82% 14%, rgba(233, 246, 240, 0.18) 0 9%, transparent 24%),
    radial-gradient(circle at 50% 82%, rgba(255, 255, 255, 0.16) 0 9%, transparent 26%),
    var(--site-landscape-image) !important;
}

body::after {
  display: none !important;
}





/*-----------------------------------*\
  #ZHihu GLASSMORPHISM PASS
\*-----------------------------------*/

:root {
  --glass-blur-strong: blur(24px) saturate(142%);
  --glass-blur-soft: blur(18px) saturate(128%);
  --glass-border-bright: rgba(255, 255, 255, 0.64);
  --glass-border-soft: rgba(255, 255, 255, 0.34);
  --glass-shadow-deep: rgba(42, 78, 84, 0.18);
  --glass-shadow-float: rgba(255, 255, 255, 0.44);
  --glass-cyan-glow: rgba(28, 221, 212, 0.18);
}

body {
  background-color: #91aaa5;
  background-image:
    radial-gradient(circle at 18% 12%, rgba(76, 226, 218, 0.22) 0 6%, transparent 18%),
    radial-gradient(circle at 78% 18%, rgba(255, 213, 153, 0.32) 0 7%, transparent 20%),
    radial-gradient(circle at 54% 72%, rgba(255, 255, 255, 0.18) 0 7%, transparent 22%),
    var(--site-landscape-image);
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

body::before,
body::after {
  content: "";
  display: block;
  position: fixed;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(10px);
  z-index: -1;
}

body::before {
  width: 22vw;
  height: 22vw;
  min-width: 190px;
  min-height: 190px;
  top: 9vh;
  right: 8vw;
  background:
    radial-gradient(circle, rgba(57, 221, 214, 0.34) 0 18%, rgba(57, 221, 214, 0.12) 42%, transparent 70%);
}

body::after {
  width: 28vw;
  height: 28vw;
  min-width: 230px;
  min-height: 230px;
  left: 8vw;
  bottom: 7vh;
  background:
    radial-gradient(circle, rgba(255, 205, 146, 0.4) 0 18%, rgba(255, 205, 146, 0.14) 44%, transparent 72%);
}

.sidebar,
article,
.navbar,
.about-text,
.timeline,
.mapbox,
.contact-form,
.skills-list.content-card,
.testimonials-modal,
.service-item,
.content-card,
.project-item > a,
.blog-post-item > a,
.clients-item a,
.filter-select,
.select-list,
.form-input,
.form-btn {
  backdrop-filter: var(--glass-blur-soft);
  -webkit-backdrop-filter: var(--glass-blur-soft);
  transform: translateZ(0);
}

.sidebar,
article,
.navbar {
  backdrop-filter: var(--glass-blur-strong);
  -webkit-backdrop-filter: var(--glass-blur-strong);
  border: 1px solid var(--glass-border-bright);
  box-shadow:
    0 30px 80px var(--glass-shadow-deep),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(255, 255, 255, 0.18);
}

.sidebar {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.18) 48%, rgba(214, 235, 238, 0.2) 100%);
}

article {
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.46) 0%, rgba(248, 253, 254, 0.25) 48%, rgba(224, 240, 243, 0.2) 100%);
}

.navbar {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0.26) 58%, rgba(229, 244, 247, 0.2) 100%);
}

.about-text,
.timeline,
.mapbox,
.contact-form,
.skills-list.content-card,
.testimonials-modal {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0.26) 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 18px 46px rgba(42, 78, 84, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    inset 0 -1px 0 rgba(255, 255, 255, 0.16);
}

.service-item,
.content-card,
.project-item > a,
.blog-post-item > a,
.clients-item a,
.filter-select,
.select-list,
.form-input,
.form-btn {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.46) 0%, rgba(255, 255, 255, 0.22) 100%);
  border: 1px solid var(--glass-border-soft);
  box-shadow:
    0 14px 34px rgba(42, 78, 84, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12);
  transition:
    transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.36s ease,
    border-color 0.36s ease,
    box-shadow 0.36s ease;
}

.service-item::after,
.content-card::after,
.project-item > a::after,
.blog-post-item > a::after,
.clients-item a::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.56) 0%, rgba(255, 255, 255, 0.16) 18%, rgba(255, 255, 255, 0) 42%);
  opacity: 0.52;
  mix-blend-mode: screen;
}

.service-item:hover,
.content-card:hover,
.project-item > a:hover,
.blog-post-item > a:hover,
.clients-item a:hover {
  transform: translateY(-8px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0.28) 100%);
  border-color: rgba(255, 255, 255, 0.68);
  box-shadow:
    0 24px 56px rgba(42, 78, 84, 0.16),
    0 0 0 1px var(--glass-cyan-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(255, 255, 255, 0.16);
}

.service-item::before,
.content-card::before {
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.avatar-box,
.icon-box,
.service-icon-box,
.project-item-icon-box {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.48) 0%, rgba(255, 255, 255, 0.16) 100%);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    0 12px 28px rgba(42, 78, 84, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
}

.navbar-indicator {
  background:
    linear-gradient(135deg, rgba(42, 226, 217, 0.88) 0%, rgba(57, 183, 231, 0.78) 100%);
  box-shadow:
    0 14px 36px rgba(40, 198, 210, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.navbar-link.active {
  color: #ffffff;
  text-shadow: 0 1px 18px rgba(48, 185, 202, 0.34);
}

.about-text {
  position: relative;
}

.about-text::before {
  content: "";
  position: absolute;
  inset: 18px 24px auto auto;
  width: 90px;
  height: 90px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(1px);
  pointer-events: none;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .sidebar,
  article,
  .navbar,
  .about-text,
  .timeline,
  .mapbox,
  .contact-form,
  .skills-list.content-card,
  .testimonials-modal,
  .service-item,
  .content-card,
  .project-item > a,
  .blog-post-item > a,
  .clients-item a {
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.78) 0%, rgba(240, 248, 249, 0.62) 100%);
  }
}

@media (max-width: 579px) {
  :root {
    --glass-blur-strong: blur(16px) saturate(128%);
    --glass-blur-soft: blur(12px) saturate(116%);
  }

  body::before,
  body::after {
    opacity: 0.65;
  }

  .service-item:hover,
  .content-card:hover,
  .project-item > a:hover,
  .blog-post-item > a:hover,
  .clients-item a:hover {
    transform: translateY(-4px);
  }
}

@keyframes floatGlow {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, 20px, 0) scale(1.08);
  }
}

@media (max-width: 579px) {
  body::before,
  body::after {
    width: 20rem;
    height: 20rem;
    filter: blur(70px);
  }

  .navbar-link.active::after {
    bottom: -5px;
  }
}





/*-----------------------------------*\
  #EDITORIAL REFINEMENT
\*-----------------------------------*/

:root {
  --smoky-black: hsl(182, 19%, 39%);
  --eerie-black-1: hsla(176, 22%, 95%, 0.92);
  --eerie-black-2: hsla(176, 20%, 96%, 0.88);
  --onyx: hsl(181, 12%, 80%);
  --jet: hsla(183, 14%, 25%, 0.14);
  --white-1: hsl(210, 9%, 96%);
  --white-2: hsl(188, 12%, 21%);
  --light-gray: hsl(186, 10%, 39%);
  --light-gray-70: hsla(186, 10%, 39%, 0.72);
  --orange-yellow-crayola: hsl(178, 51%, 45%);
  --vegas-gold: hsl(180, 39%, 52%);
  --bittersweet-shimmer: hsl(12, 54%, 54%);
  --bg-gradient-onyx: linear-gradient(145deg, rgba(245, 249, 248, 0.96), rgba(224, 236, 235, 0.9));
  --bg-gradient-jet: linear-gradient(180deg, rgba(243, 248, 247, 0.96), rgba(229, 238, 237, 0.88));
  --bg-gradient-yellow-1: linear-gradient(135deg, rgba(72, 190, 184, 0.18), rgba(203, 244, 240, 0.12));
  --bg-gradient-yellow-2: linear-gradient(180deg, rgba(244, 248, 247, 0.98), rgba(223, 235, 234, 0.92));
  --border-gradient-onyx: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(71, 153, 148, 0.14));
  --text-gradient-yellow: linear-gradient(135deg, hsl(180, 41%, 46%), hsl(185, 24%, 32%));
  --shadow-1: 0 22px 52px rgba(20, 39, 39, 0.12);
  --shadow-2: 0 28px 72px rgba(20, 39, 39, 0.16);
  --shadow-3: 0 36px 90px rgba(20, 39, 39, 0.22);
  --shadow-5: 0 40px 110px rgba(20, 39, 39, 0.26);
}

::selection {
  background: rgba(95, 219, 209, 0.24);
  color: #ffffff;
}

:focus-visible {
  outline: 2px solid rgba(95, 219, 209, 0.52);
  outline-offset: 3px;
}

body {
  background:
    radial-gradient(circle at 20% 8%, rgba(130, 220, 213, 0.12), transparent 22%),
    radial-gradient(circle at 85% 18%, rgba(182, 245, 239, 0.08), transparent 20%),
    radial-gradient(circle at 75% 80%, rgba(109, 199, 194, 0.1), transparent 24%),
    linear-gradient(180deg, #496c6a 0%, #476765 42%, #53706e 100%);
  color: var(--white-2);
}

body::before,
body::after {
  width: 28rem;
  height: 28rem;
  opacity: 0.12;
  filter: blur(120px);
}

body::before {
  top: -14rem;
  right: -9rem;
  background: radial-gradient(circle, rgba(111, 228, 220, 0.42), transparent 64%);
}

body::after {
  bottom: -14rem;
  left: -10rem;
  background: radial-gradient(circle, rgba(198, 247, 242, 0.24), transparent 64%);
}

main {
  max-width: 1380px;
  margin: 24px auto 96px;
  padding-inline: 16px;
}

.sidebar,
article {
  background: linear-gradient(180deg, rgba(242, 247, 246, 0.9), rgba(225, 236, 235, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  box-shadow: var(--shadow-2);
  backdrop-filter: blur(18px);
}

article {
  padding: 28px;
}

.separator {
  margin: 22px 0;
  background: linear-gradient(90deg, transparent, rgba(33, 73, 72, 0.16), transparent);
}

.h2,
.h3,
.h4,
.h5,
.info-content .name,
.project-title,
.blog-item-title {
  color: var(--white-2);
}

.h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.07em;
}

.h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: -0.04em;
}

.h4 {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.article-title {
  padding-bottom: 18px;
  margin-bottom: 34px;
}

.article-title::after {
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, rgba(73, 178, 172, 0.9), rgba(34, 76, 76, 0.62));
}

.icon-box {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: var(--orange-yellow-crayola);
  background: linear-gradient(145deg, rgba(244, 249, 248, 0.98), rgba(225, 238, 237, 0.92));
  border: 1px solid rgba(32, 74, 73, 0.08);
  box-shadow: none;
}

.icon-box::before {
  background: rgba(255, 255, 255, 0.7);
}

.sidebar {
  background:
    linear-gradient(180deg, rgba(243, 248, 247, 0.94), rgba(222, 234, 233, 0.9)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
}

.sidebar-info {
  gap: 18px;
}

.avatar-box,
.service-icon-box,
.testimonials-avatar-box,
.modal-avatar-box {
  background: linear-gradient(145deg, rgba(246, 250, 249, 0.96), rgba(216, 231, 230, 0.88));
  border-radius: 24px;
  border: 1px solid rgba(32, 74, 73, 0.08);
}

.avatar-box {
  padding: 8px;
}

.avatar-box img,
.modal-avatar-box img {
  border-radius: 20px;
}

.avatar-box img {
  filter: none;
}

.info-content .name {
  font-size: clamp(1.7rem, 2vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.info-content .title {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(71, 153, 148, 0.12);
  border: 1px solid rgba(71, 153, 148, 0.14);
  color: rgba(31, 71, 70, 0.94);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.info_more-btn {
  top: 12px;
  right: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(242, 247, 246, 0.82);
  color: var(--white-2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.info_more-btn::before {
  display: none;
}

.info_more-btn:hover,
.info_more-btn:focus {
  background: rgba(71, 153, 148, 0.14);
}

.contact-title,
.timeline-item span,
.blog-meta time,
.blog-category,
.project-category,
.select-value {
  color: rgba(48, 90, 88, 0.72);
}

.contact-title {
  font-size: 11px;
  letter-spacing: 0.14em;
}

.contact-info :is(.contact-link, time, address) {
  color: var(--white-2);
  line-height: 1.7;
}

.social-list {
  gap: 10px;
  padding-left: 0;
}

.social-item .social-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 18px;
  color: rgba(44, 84, 82, 0.86);
  background: rgba(242, 247, 246, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: var(--transition-1);
}

.social-item .social-link:hover {
  color: var(--white-2);
  background: rgba(71, 153, 148, 0.14);
  transform: translateY(-2px);
}

.navbar {
  background: rgba(236, 244, 243, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(20, 39, 39, 0.16);
  backdrop-filter: blur(16px);
}

.navbar-list {
  gap: 6px;
  padding: 8px;
}

.navbar-link {
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(44, 84, 82, 0.78);
}

.navbar-link:hover,
.navbar-link:focus {
  color: var(--white-2);
  background: rgba(71, 153, 148, 0.08);
  transform: none;
}

.navbar-link.active {
  color: var(--white-2);
  background: rgba(71, 153, 148, 0.16);
}

.navbar-link.active::after {
  display: none;
}

.about-text,
.timeline,
.service-item,
.content-card,
.skills-list.content-card,
.project-item > a,
.blog-post-item > a,
.mapbox,
.contact-form,
.filter-select,
.select-list,
.form-input,
.testimonials-modal {
  background: linear-gradient(180deg, rgba(243, 248, 247, 0.94), rgba(221, 234, 233, 0.86));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-1);
}

.service-item::before,
.content-card::before,
.blog-post-item > a::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(220, 234, 233, 0.24));
}

.about-text {
  display: grid;
  gap: 20px;
  padding: 24px 24px 26px;
  border-radius: 28px;
  margin-bottom: 42px;
  color: rgba(57, 95, 93, 0.92);
  font-size: 15px;
  line-height: 1.95;
}

.about-text p {
  margin-bottom: 0;
  color: rgba(57, 95, 93, 0.92);
}

.about-text p:first-child {
  font-size: clamp(1.02rem, 1.45vw, 1.16rem);
  font-weight: 600;
  color: var(--white-2);
}

.service {
  margin-bottom: 48px;
}

.service-title,
.testimonials-title,
.clients-title,
.form-title,
.skills-title {
  margin-bottom: 22px;
}

.service-list,
.blog-posts-list {
  gap: 22px;
}

.service-item {
  padding: 28px;
  border-radius: 28px;
}

.service-icon-box {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.service-content-box {
  text-align: left;
}

.service-item-title {
  margin-bottom: 10px;
}

.service-item-text,
.timeline-text,
.blog-text,
.testimonials-text {
  color: rgba(57, 95, 93, 0.88);
  line-height: 1.85;
}

.testimonials {
  margin-bottom: 42px;
}

.testimonials-list {
  gap: 20px;
  margin: 0;
  padding: 20px 0 14px;
}

.testimonials-item {
  min-width: min(88%, 420px);
}

.content-card {
  padding: 24px 22px 22px 80px;
  border-radius: 28px;
}

.testimonials-avatar-box {
  padding: 6px;
  transform: translate(18px, -18px);
  box-shadow: none;
}

.testimonials-avatar-box img {
  border-radius: 16px;
}

.clients-item a {
  padding: 14px 18px;
  border-radius: 24px;
  background: rgba(239, 246, 245, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.clients-item img {
  filter: grayscale(1) opacity(0.7);
}

.timeline {
  padding: 28px;
  border-radius: 30px;
}

.timeline-list {
  margin-left: 18px;
}

.timeline-item:not(:last-child) {
  margin-bottom: 28px;
}

.timeline-item::before {
  left: -30px;
  width: 1px;
  background: rgba(101, 196, 190, 0.24);
}

.timeline-item::after {
  left: -34px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(73, 178, 172, 0.96), rgba(38, 83, 82, 0.92));
  box-shadow: 0 0 0 6px rgba(73, 178, 172, 0.12);
}

.timeline-item-title {
  margin-bottom: 8px;
}

.timeline-item span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.skills-list.content-card {
  padding: 26px 24px;
}

.skill-progress-bg {
  height: 8px;
  border-radius: 999px;
  background: rgba(32, 74, 73, 0.08);
}

.skill-progress-fill {
  background: linear-gradient(90deg, rgba(73, 178, 172, 0.94), rgba(38, 83, 82, 0.86));
  box-shadow: none;
}

.filter-list {
  gap: 10px;
  margin-bottom: 26px;
}

.filter-item button,
.filter-select,
.select-item button {
  color: rgba(44, 84, 82, 0.82);
  background: rgba(241, 247, 246, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.filter-item button.active,
.filter-item button:hover,
.filter-item button:focus {
  color: #ffffff;
  background: rgba(67, 162, 157, 0.88);
}

.filter-select {
  border-radius: 20px;
}

.select-list {
  border-radius: 24px;
}

.project-list {
  gap: 24px;
}

.project-item > a {
  padding-bottom: 18px;
  border-radius: 28px;
  overflow: hidden;
}

.project-img,
.blog-banner-box,
.mapbox figure,
.modal-avatar-box {
  border-radius: 22px;
}

.project-img {
  margin: 10px 10px 14px;
}

.project-item-icon-box {
  color: var(--white-2);
  background: rgba(236, 245, 244, 0.92);
  box-shadow: 0 16px 30px rgba(20, 39, 39, 0.16);
}

.project-item > a:hover .project-item-icon-box {
  background: rgba(48, 110, 107, 0.96);
  color: #f4fbfa;
}

.project-item > a:hover .project-img::before {
  background: rgba(40, 87, 84, 0.18);
}

.project-title,
.project-category {
  padding-inline: 18px;
}

.blog-post-item > a {
  border-radius: 28px;
  overflow: hidden;
}

.blog-banner-box {
  margin: 10px 10px 0;
}

.blog-content {
  padding: 18px 22px 24px;
}

.blog-meta {
  margin-bottom: 14px;
}

.blog-post-item > a:hover .blog-item-title {
  color: rgba(34, 76, 76, 0.94);
}

.mapbox {
  height: 300px;
  border-radius: 30px;
}

.mapbox iframe {
  filter: grayscale(0.85) saturate(0.7) contrast(0.96);
}

.contact-form {
  padding: 28px;
  border-radius: 30px;
}

.input-wrapper {
  gap: 18px;
}

.form-input {
  min-height: 58px;
  padding: 16px 18px;
  color: var(--white-2);
  border-radius: 18px;
}

textarea.form-input {
  min-height: 140px;
}

.form-input::placeholder {
  color: rgba(44, 84, 82, 0.46);
}

.form-input:focus {
  border-color: rgba(73, 178, 172, 0.38);
  box-shadow: 0 0 0 4px rgba(73, 178, 172, 0.12);
}

.form-input:focus:invalid {
  border-color: rgba(184, 91, 66, 0.4);
}

.form-btn {
  height: 54px;
  padding-inline: 22px;
  border-radius: 999px;
  background: rgba(48, 110, 107, 0.96);
  color: #f4fbfa;
  box-shadow: 0 18px 30px rgba(20, 39, 39, 0.18);
}

.form-btn ion-icon {
  color: rgba(199, 244, 241, 0.92);
}

.form-btn:hover {
  background: rgba(39, 92, 90, 0.98);
  box-shadow: 0 24px 34px rgba(20, 39, 39, 0.22);
}

.form-btn:disabled {
  background: rgba(33, 73, 72, 0.14);
  color: rgba(33, 73, 72, 0.42);
}

.overlay {
  background: rgba(21, 50, 49, 0.26);
}

.testimonials-modal {
  border-radius: 30px;
}

.has-scrollbar::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.has-scrollbar::-webkit-scrollbar-track {
  background: rgba(32, 74, 73, 0.08);
}

.has-scrollbar::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(73, 178, 172, 0.65), rgba(38, 83, 82, 0.6));
}

@keyframes panelFade {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }

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

@media (min-width: 768px) {
  article {
    padding: 34px;
  }

  .about-text {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    padding: 28px 30px;
  }

  .content-card {
    padding-right: 28px;
  }

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

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

@media (min-width: 1024px) {
  main {
    gap: 32px;
    margin-top: 32px;
    margin-bottom: 64px;
    align-items: flex-start;
  }

  .main-content {
    width: min(100%, 1010px);
    min-width: 0;
  }

  .navbar {
    position: sticky;
    top: 22px;
    left: auto;
    right: 0;
    width: max-content;
    margin: 0 0 22px auto;
    padding: 0;
  }

  .navbar-list {
    padding: 8px;
  }

  .service-list {
    gap: 24px;
  }

  .testimonials-item {
    min-width: calc(50% - 10px);
  }

  .contact.active {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
    align-items: start;
  }

  .contact.active > header {
    grid-column: 1 / -1;
  }

  .contact .mapbox,
  .contact .contact-form {
    margin-bottom: 0;
    height: 100%;
  }
}

@media (min-width: 1250px) {
  main {
    max-width: 1400px;
    gap: 34px;
  }

  .sidebar {
    top: 32px;
    width: 320px;
    min-width: 320px;
    padding: 34px 28px;
  }

  .main-content {
    width: calc(100% - 354px);
  }

  .avatar-box img {
    width: 168px;
  }
}

@media (max-width: 1023px) {
  .navbar {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 760px;
    bottom: 16px;
  }
}

@media (max-width: 767px) {
  main {
    margin-top: 16px;
  }

  .sidebar,
  article {
    border-radius: 26px;
  }

  article {
    padding: 24px 20px;
  }

  .about-text,
  .timeline,
  .service-item,
  .content-card,
  .project-item > a,
  .blog-post-item > a,
  .mapbox,
  .contact-form {
    border-radius: 24px;
  }

  .content-card {
    padding: 68px 20px 22px;
  }

  .testimonials-avatar-box {
    transform: translate(18px, -30px);
  }
}

@media (max-width: 579px) {
  body::before,
  body::after {
    width: 20rem;
    height: 20rem;
    opacity: 0.16;
    filter: blur(72px);
  }

  .sidebar {
    padding: 18px;
  }

  .navbar-list {
    gap: 4px;
    padding: 6px;
  }

  .navbar-link {
    padding: 10px 12px;
    font-size: 12px;
  }

  .about-text {
    padding: 22px 20px 24px;
  }

  .info_more-btn span {
    display: block;
  }
}





/*-----------------------------------*\
  #GLASS HIERARCHY REFINEMENT
\*-----------------------------------*/

:root {
  --heading-strong: #1a1b1e;
  --body-strong: #475654;
  --body-muted: #6f8480;
  --glass-outline: rgba(255, 255, 255, 0.58);
  --glass-outline-soft: rgba(255, 255, 255, 0.32);
  --glass-highlight: rgba(255, 255, 255, 0.72);
  --glass-shadow: rgba(16, 33, 33, 0.12);
  --glass-shadow-soft: rgba(16, 33, 33, 0.08);
  --glass-main: rgba(245, 250, 250, 0.78);
  --glass-main-deep: rgba(238, 246, 245, 0.84);
  --glass-subtle: rgba(236, 245, 244, 0.54);
  --glass-subtle-hover: rgba(243, 250, 249, 0.76);
  --glass-sidebar: rgba(222, 239, 237, 0.52);
  --accent-aurora: linear-gradient(135deg, #62f0da 0%, #26cfbe 42%, #2899ff 100%);
  --accent-warm: linear-gradient(135deg, #ff8f6b 0%, #ffbf5f 100%);
}

body {
  background:
    radial-gradient(circle at 14% 12%, rgba(120, 245, 235, 0.12), transparent 18%),
    radial-gradient(circle at 84% 16%, rgba(146, 224, 255, 0.11), transparent 18%),
    radial-gradient(circle at 68% 72%, rgba(95, 208, 201, 0.1), transparent 24%),
    linear-gradient(180deg, #496d6b 0%, #446765 44%, #4f7270 100%);
}

body::before,
body::after {
  opacity: 0.14;
  filter: blur(130px);
}

.h2,
.h3,
.h4,
.h5,
.info-content .name,
.project-title,
.blog-item-title,
.service-item-title,
.timeline-item-title,
.modal-title {
  color: var(--heading-strong);
}

.about-text,
.timeline-text,
.service-item-text,
.blog-text,
.testimonials-text,
.contact-info :is(.contact-link, time, address),
.project-category,
.blog-category,
.blog-meta time,
.select-value,
.form-input,
.project-title,
.blog-item-title {
  color: var(--body-strong);
}

.contact-title,
.timeline-item span,
.info-content .title,
.filter-item button,
.navbar-link,
.form-input::placeholder {
  color: var(--body-muted);
}

.sidebar,
article,
.about-text,
.timeline,
.service-item,
.content-card,
.skills-list.content-card,
.project-item > a,
.blog-post-item > a,
.mapbox,
.contact-form,
.filter-select,
.select-list,
.form-input,
.testimonials-modal,
.clients-item a,
.social-item .social-link {
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
}

article {
  background:
    linear-gradient(180deg, rgba(247, 251, 251, 0.8), rgba(233, 244, 243, 0.7));
  border: 1px solid var(--glass-outline);
  box-shadow:
    0 18px 48px var(--glass-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.sidebar {
  background:
    linear-gradient(180deg, rgba(223, 239, 237, 0.44), rgba(206, 229, 227, 0.36)),
    linear-gradient(135deg, rgba(114, 221, 214, 0.08), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow:
    0 16px 42px var(--glass-shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.66),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.about-text,
.timeline,
.mapbox,
.contact-form,
.skills-list.content-card,
.testimonials-modal {
  background:
    linear-gradient(180deg, rgba(247, 251, 251, 0.74), rgba(235, 245, 244, 0.66));
  border: 1px solid var(--glass-outline);
  box-shadow:
    0 14px 34px var(--glass-shadow-soft),
    inset 0 1px 0 var(--glass-highlight),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.service-item,
.content-card,
.project-item > a,
.blog-post-item > a,
.clients-item a {
  background:
    linear-gradient(180deg, rgba(242, 249, 248, 0.52), rgba(228, 240, 239, 0.44));
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    0 10px 24px rgba(16, 33, 33, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.66),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition:
    transform 0.28s ease,
    background-color 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    opacity 0.28s ease;
}

.service-item:hover,
.content-card:hover,
.project-item > a:hover,
.blog-post-item > a:hover,
.clients-item a:hover {
  transform: translateY(-7px);
  background:
    linear-gradient(180deg, rgba(246, 251, 251, 0.78), rgba(234, 245, 244, 0.68));
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow:
    0 18px 38px rgba(16, 33, 33, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 0 0 1px rgba(117, 247, 233, 0.1);
}

.service-item::before,
.content-card::before,
.blog-post-item > a::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
}

.article-title::after {
  height: 3px;
  border-radius: 999px;
  background: var(--accent-aurora);
  box-shadow: 0 0 18px rgba(98, 240, 218, 0.28);
}

.icon-box,
.service-icon-box,
.project-item-icon-box {
  position: relative;
  overflow: hidden;
}

.icon-box::after,
.service-icon-box::after,
.project-item-icon-box::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.service-icon-box,
.project-item-icon-box {
  background: linear-gradient(145deg, rgba(237, 249, 247, 0.94), rgba(219, 240, 238, 0.74));
  border: 1px solid rgba(255, 255, 255, 0.54);
  box-shadow:
    0 8px 22px rgba(16, 33, 33, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.service-icon-box img {
  filter: brightness(0) saturate(100%) invert(62%) sepia(47%) saturate(1617%) hue-rotate(132deg) brightness(94%) contrast(92%);
}

.project-item-icon-box,
.form-btn,
.navbar-link.active,
.social-item .social-link:hover {
  background-image: var(--accent-aurora);
}

.project-item-icon-box,
.form-btn,
.navbar-link.active,
.social-item .social-link:hover,
.filter-item button.active,
.filter-item button:hover,
.filter-item button:focus {
  color: #f7fffe;
}

.social-item .social-link {
  background: rgba(242, 249, 248, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.44);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 8px 18px rgba(16, 33, 33, 0.06);
}

.social-item .social-link:hover {
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow:
    0 12px 26px rgba(21, 78, 90, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.navbar {
  background: rgba(232, 244, 243, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.36);
  box-shadow:
    0 14px 32px rgba(16, 33, 33, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.navbar-link {
  font-weight: 700;
}

.navbar-link:hover,
.navbar-link:focus {
  background: rgba(255, 255, 255, 0.26);
  color: var(--heading-strong);
}

.navbar-link.active {
  box-shadow:
    0 10px 20px rgba(25, 101, 108, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.info-content .title {
  background: rgba(238, 247, 246, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.44);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.contact-title,
.timeline-item span,
.blog-meta time,
.blog-category,
.project-category,
.select-value {
  letter-spacing: 0.1em;
}

.about-text p:first-child {
  color: var(--heading-strong);
  font-weight: 700;
}

.about-text p:not(:first-child),
.service-item-text,
.timeline-text,
.blog-text,
.testimonials-text,
.contact-info :is(.contact-link, time, address) {
  color: var(--body-strong);
}

.filter-item button,
.filter-select,
.select-item button,
.form-input {
  background: rgba(238, 247, 246, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 8px 18px rgba(16, 33, 33, 0.04);
}

.form-input:focus,
.filter-select:focus {
  border-color: rgba(117, 247, 233, 0.54);
  box-shadow:
    0 0 0 4px rgba(98, 240, 218, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.form-btn {
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    0 18px 30px rgba(16, 84, 95, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.form-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 24px 34px rgba(16, 84, 95, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.filter-item button.active,
.filter-item button:hover,
.filter-item button:focus {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 12px 24px rgba(16, 84, 95, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.project-item > a:hover .project-item-icon-box {
  color: #ffffff;
  box-shadow:
    0 14px 28px rgba(16, 84, 95, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.clients-item img {
  filter: grayscale(1) opacity(0.54);
}

.clients-item a:hover img {
  filter: grayscale(0.35) opacity(0.9);
}

.mapbox iframe {
  filter: grayscale(0.95) saturate(0.84) contrast(1.02) brightness(0.98);
}

.overlay {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@media (min-width: 1024px) {
  .sidebar {
    opacity: 0.92;
  }

  article {
    opacity: 0.98;
  }
}

@media (max-width: 767px) {
  .service-item,
  .content-card,
  .project-item > a,
  .blog-post-item > a {
    background:
      linear-gradient(180deg, rgba(244, 249, 249, 0.62), rgba(231, 242, 241, 0.5));
  }
}





/*-----------------------------------*\
  #FLOATING NAV ALIGNMENT
\*-----------------------------------*/

main {
  margin-top: 24px;
  padding-top: 92px;
}

.navbar {
  position: fixed;
  top: 28px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: max-content;
  min-width: min(92vw, 620px);
  margin: 0;
  padding: 0;
  z-index: 40;
}

.navbar-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  min-height: 74px;
  position: relative;
  isolation: isolate;
  gap: 0;
  width: 100%;
  padding: 6px;
}

.main-content {
  width: 100%;
}

.navbar-item {
  display: flex;
  justify-content: center;
}

.navbar-item,
.navbar-link {
  position: relative;
  z-index: 1;
}

.navbar-indicator {
  position: absolute;
  top: 7px;
  left: 0;
  bottom: 7px;
  width: calc(20% - 16px);
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.24), transparent 42%),
    var(--accent-aurora);
  box-shadow:
    0 12px 22px rgba(24, 112, 124, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transform: translateX(0);
  transition:
    transform 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.36s ease;
  z-index: 0;
}

.navbar-indicator.no-animate {
  transition: none;
}

article > header {
  display: none;
}

article {
  padding-top: 34px;
}

.about .about-text,
.resume .timeline:first-of-type,
.portfolio .projects,
.blog .blog-posts,
.contact .mapbox {
  margin-top: 0;
}

@media (min-width: 1024px) {
  main {
    margin-top: 24px;
    padding-top: 96px;
    align-items: flex-start;
  }

  .navbar {
    top: 30px;
    min-width: 540px;
    left: calc(50% + 177px);
  }

  .main-content {
    width: calc(100% - 354px);
  }
}

@media (max-width: 1023px) {
  main {
    margin-top: 16px;
    padding-top: 88px;
  }

  .navbar {
    top: 18px;
    bottom: auto;
    width: calc(100% - 32px);
    min-width: 0;
    max-width: 760px;
  }
}

@media (max-width: 579px) {
  main {
    padding-top: 82px;
  }

  .navbar {
    top: 14px;
    width: calc(100% - 24px);
  }

  .navbar-list {
    min-height: 56px;
  }
}





/*-----------------------------------*\
  #ACCESSIBILITY LIGHTENING
\*-----------------------------------*/

:root {
  --body-muted: #566966;
  --glass-outline: rgba(255, 255, 255, 0.4);
  --glass-shadow: rgba(16, 33, 33, 0.055);
  --glass-shadow-soft: rgba(16, 33, 33, 0.03);
}

.navbar-link {
  color: rgba(66, 82, 79, 0.98);
}

.contact-title,
.timeline-item span {
  color: rgba(78, 94, 91, 0.96);
}

article {
  box-shadow:
    0 10px 22px var(--glass-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.sidebar {
  box-shadow:
    0 8px 16px var(--glass-shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.about-text,
.timeline,
.mapbox,
.contact-form,
.skills-list.content-card,
.testimonials-modal {
  box-shadow:
    0 7px 16px var(--glass-shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.service-item,
.content-card,
.project-item > a,
.blog-post-item > a,
.clients-item a {
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 4px 10px rgba(16, 33, 33, 0.025),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.service-item:hover,
.content-card:hover,
.project-item > a:hover,
.blog-post-item > a:hover,
.clients-item a:hover {
  box-shadow:
    0 9px 18px rgba(16, 33, 33, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.64),
    0 0 0 1px rgba(117, 247, 233, 0.08);
}

.navbar {
  box-shadow:
    0 7px 16px rgba(16, 33, 33, 0.065),
    inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.about-text {
  display: block;
  padding: 32px 34px;
}

.about-text p,
.about-text p:first-child,
.about-text p:not(:first-child) {
  color: var(--body-strong);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 2;
}

.about-text p + p {
  margin-top: 20px;
}

@media (min-width: 768px) {
  .about-text {
    display: block;
    padding: 34px 36px;
  }
}





/*-----------------------------------*\
  #SMOOTH PAGE SWITCH
\*-----------------------------------*/

.main-content {
  position: relative;
}

.navbar-link {
  transition:
    color 0.42s ease,
    opacity 0.42s ease,
    transform 0.28s ease,
    letter-spacing 0.42s ease;
  width: 100%;
  justify-content: center;
  text-align: center;
  padding: 16px 8px;
}

.navbar-link.active {
  background-image: none;
  background-color: transparent;
  box-shadow: none;
  color: #f7fffe;
  letter-spacing: 0.02em;
}

article.active {
  animation: none;
}

article.is-entering {
  animation: pageEnter 0.62s cubic-bezier(0.22, 1, 0.36, 1) both;
  transform-origin: top center;
  will-change: transform, opacity;
}

article.is-leaving {
  animation: none;
}

@keyframes pageEnter {
  0% {
    opacity: 0;
    transform: translate3d(var(--page-enter-x, 0), 0, 0) scale(0.994);
  }

  60% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

article.from-right {
  --page-enter-x: 68px;
}

article.from-left {
  --page-enter-x: -68px;
}

@media (max-width: 579px) {
  .navbar-indicator {
    top: 6px;
    bottom: 6px;
  }

  article.from-right {
    --page-enter-x: 34px;
  }

  article.from-left {
    --page-enter-x: -34px;
  }
}





/*-----------------------------------*\
  #LANDSCAPE ATMOSPHERE
\*-----------------------------------*/

:root {
  --sky-top: #608586;
  --sky-mid: #8fa8a2;
  --horizon-warm: #f7c18f;
  --horizon-mist: #d3d6c9;
  --mountain-far: #c6d0ca;
  --mountain-left: #5f8788;
  --mountain-mid: #678f91;
  --mountain-front: #365e63;
  --mountain-front-soft: #4e777a;
  --panel-main: rgba(242, 248, 249, 0.26);
  --panel-side: rgba(213, 227, 231, 0.2);
  --panel-soft: rgba(245, 249, 250, 0.2);
  --panel-card: rgba(249, 252, 253, 0.16);
  --panel-card-hover: rgba(250, 253, 254, 0.24);
  --outline-soft: rgba(255, 255, 255, 0.24);
  --shadow-atmos: rgba(27, 54, 58, 0.08);
}

body {
  background:
    radial-gradient(circle at 50% 82%, rgba(255, 199, 144, 0.82) 0 10%, rgba(255, 199, 144, 0.34) 16%, rgba(255, 199, 144, 0.08) 26%, transparent 38%),
    radial-gradient(circle at 26% 72%, rgba(245, 234, 204, 0.22) 0 8%, rgba(245, 234, 204, 0.05) 16%, transparent 28%),
    radial-gradient(circle at 76% 74%, rgba(245, 234, 204, 0.2) 0 8%, rgba(245, 234, 204, 0.05) 16%, transparent 28%),
    linear-gradient(180deg, var(--sky-top) 0%, #6d8f90 28%, var(--sky-mid) 46%, var(--horizon-mist) 64%, var(--horizon-warm) 78%, #a5b8b2 92%, #6f8d8f 100%);
  background-attachment: fixed;
  overflow-x: clip;
}

body::before,
body::after,
main::before,
main::after {
  content: "";
  position: fixed;
  pointer-events: none;
}

body::before {
  left: 8vw;
  width: 82vw;
  bottom: 22vh;
  height: 42vh;
  z-index: -4;
  background:
    linear-gradient(180deg, rgba(213, 220, 214, 0.92) 0%, rgba(197, 208, 202, 0.9) 56%, rgba(179, 196, 196, 0.82) 100%);
  clip-path: polygon(0 100%, 0 64%, 6% 57%, 12% 49%, 17% 37%, 22% 30%, 28% 23%, 36% 31%, 45% 41%, 56% 50%, 67% 58%, 78% 64%, 88% 72%, 100% 84%, 100% 100%);
  opacity: 0.86;
  filter: blur(0.2px);
}

body::after {
  left: -2vw;
  width: 42vw;
  bottom: 28vh;
  height: 36vh;
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(93, 131, 134, 0.94) 0%, rgba(79, 118, 122, 0.96) 100%);
  clip-path: polygon(0 100%, 0 64%, 10% 57%, 17% 52%, 23% 46%, 28% 43%, 34% 36%, 41% 30%, 49% 17%, 57% 10%, 63% 12%, 70% 20%, 75% 31%, 80% 43%, 84% 57%, 89% 75%, 100% 100%);
  opacity: 0.88;
}

main {
  position: relative;
  isolation: isolate;
}

main::before {
  left: 0;
  right: 0;
  bottom: 15vh;
  height: 27vh;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(103, 143, 145, 0.94) 0%, rgba(86, 125, 129, 0.96) 100%);
  clip-path: polygon(0 100%, 0 80%, 10% 83%, 18% 88%, 28% 89%, 36% 90%, 43% 86%, 48% 72%, 54% 57%, 61% 50%, 70% 57%, 79% 60%, 88% 62%, 100% 66%, 100% 100%);
  opacity: 0.92;
}

main::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 26vh;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(70, 109, 113, 0.96) 0%, rgba(53, 94, 99, 0.98) 100%);
  clip-path: polygon(0 100%, 0 58%, 11% 67%, 21% 76%, 31% 84%, 43% 90%, 54% 90%, 63% 86%, 73% 74%, 83% 58%, 88% 44%, 90% 42%, 92% 43%, 96% 35%, 100% 24%, 100% 100%);
}

.sidebar,
article,
.about-text,
.timeline,
.mapbox,
.contact-form,
.skills-list.content-card,
.testimonials-modal,
.service-item,
.content-card,
.project-item > a,
.blog-post-item > a,
.clients-item a,
.navbar {
  backdrop-filter: blur(12px) saturate(110%);
  -webkit-backdrop-filter: blur(12px) saturate(110%);
}

.sidebar {
  background:
    linear-gradient(180deg, rgba(219, 231, 233, 0.28) 0%, rgba(196, 214, 218, 0.2) 58%, rgba(190, 208, 213, 0.16) 100%);
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow:
    0 12px 28px var(--shadow-atmos),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

article {
  background:
    linear-gradient(180deg, rgba(244, 249, 250, 0.54) 0%, rgba(236, 244, 246, 0.46) 58%, rgba(228, 239, 242, 0.4) 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 14px 34px rgba(27, 54, 58, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.navbar {
  background:
    linear-gradient(180deg, rgba(238, 246, 246, 0.3) 0%, rgba(228, 239, 241, 0.18) 100%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    0 10px 22px rgba(27, 54, 58, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.about-text,
.timeline,
.mapbox,
.contact-form,
.skills-list.content-card,
.testimonials-modal {
  background:
    linear-gradient(180deg, rgba(248, 252, 252, 0.34) 0%, rgba(244, 249, 250, 0.28) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 8px 18px rgba(27, 54, 58, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.service-item,
.content-card,
.project-item > a,
.blog-post-item > a,
.clients-item a {
  background:
    linear-gradient(180deg, rgba(250, 253, 253, 0.28) 0%, rgba(244, 250, 251, 0.24) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 5px 14px rgba(27, 54, 58, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.service-item:hover,
.content-card:hover,
.project-item > a:hover,
.blog-post-item > a:hover,
.clients-item a:hover {
  background:
    linear-gradient(180deg, rgba(250, 253, 253, 0.24) 0%, rgba(246, 250, 251, 0.18) 100%);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 10px 20px rgba(27, 54, 58, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.service-item::before,
.content-card::before {
  opacity: 0.4;
}

.avatar-box,
.icon-box,
.service-icon-box {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 6px 14px rgba(27, 54, 58, 0.03);
}

.separator {
  background: linear-gradient(90deg, rgba(124, 157, 159, 0), rgba(198, 217, 214, 0.28), rgba(255, 255, 255, 0));
}

@media (max-width: 1023px) {
  body::before {
    left: 2vw;
    width: 100vw;
    bottom: 20vh;
    height: 32vh;
  }

  body::after {
    left: -8vw;
    width: 58vw;
    bottom: 24vh;
    height: 29vh;
  }

  main::before {
    left: 0;
    right: 0;
    bottom: 14vh;
    height: 23vh;
  }
}

@media (max-width: 579px) {
  body {
    background:
      radial-gradient(circle at 50% 80%, rgba(255, 201, 147, 0.74) 0 9%, rgba(255, 201, 147, 0.24) 18%, transparent 34%),
      linear-gradient(180deg, #5f8586 0%, #86a09a 42%, #d1d4c8 65%, #f3c392 78%, #89a2a1 100%);
  }

  body::before {
    left: -12vw;
    width: 116vw;
    bottom: 16vh;
    height: 24vh;
    opacity: 0.86;
  }

  body::after {
    left: -14vw;
    width: 64vw;
    bottom: 19vh;
    height: 22vh;
    opacity: 0.8;
  }

  main::before {
    bottom: 10vh;
    height: 18vh;
  }

  main::after {
    height: 22vh;
  }

  article {
    background:
      linear-gradient(180deg, rgba(245, 250, 250, 0.6) 0%, rgba(239, 246, 247, 0.38) 100%);
  }

  .sidebar {
    background:
      linear-gradient(180deg, rgba(219, 231, 233, 0.34) 0%, rgba(196, 214, 218, 0.22) 100%);
  }
}





/*-----------------------------------*\
  #BACKGROUND IMAGE OVERRIDE
\*-----------------------------------*/

:root {
  --site-landscape-image: url("../images/mountain-dawn-bg.svg");
  --site-landscape-base: #90a8a3;
}

body {
  position: relative;
  background-color: var(--site-landscape-base);
  background-image: var(--site-landscape-image);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body::before {
  display: none;
}

body::after,
main::before,
main::after {
  display: none;
}

.sidebar,
article,
.about-text,
.timeline,
.mapbox,
.contact-form,
.skills-list.content-card,
.testimonials-modal,
.service-item,
.content-card,
.project-item > a,
.blog-post-item > a,
.clients-item a,
.navbar {
  backdrop-filter: blur(14px) saturate(112%);
  -webkit-backdrop-filter: blur(14px) saturate(112%);
}

.sidebar {
  background:
    linear-gradient(180deg, rgba(218, 231, 232, 0.3) 0%, rgba(197, 214, 216, 0.24) 58%, rgba(186, 204, 207, 0.18) 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

article {
  background:
    linear-gradient(180deg, rgba(244, 249, 249, 0.58) 0%, rgba(236, 244, 245, 0.5) 58%, rgba(228, 239, 241, 0.44) 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar {
  background:
    linear-gradient(180deg, rgba(237, 245, 245, 0.36) 0%, rgba(226, 238, 240, 0.22) 100%);
}

.about-text,
.timeline,
.mapbox,
.contact-form,
.skills-list.content-card,
.testimonials-modal {
  background:
    linear-gradient(180deg, rgba(248, 252, 252, 0.38) 0%, rgba(244, 249, 250, 0.32) 100%);
}

.service-item,
.content-card,
.project-item > a,
.blog-post-item > a,
.clients-item a {
  background:
    linear-gradient(180deg, rgba(250, 253, 253, 0.34) 0%, rgba(244, 250, 251, 0.28) 100%);
}

.service-item:hover,
.content-card:hover,
.project-item > a:hover,
.blog-post-item > a:hover,
.clients-item a:hover {
  background:
    linear-gradient(180deg, rgba(250, 253, 253, 0.42) 0%, rgba(246, 250, 251, 0.34) 100%);
}

@media (max-width: 579px) {
  body {
    background-position: center center;
    background-size: cover;
  }

  article {
    background:
      linear-gradient(180deg, rgba(244, 249, 249, 0.68) 0%, rgba(236, 244, 245, 0.54) 100%);
  }

  .sidebar {
    background:
      linear-gradient(180deg, rgba(218, 231, 232, 0.38) 0%, rgba(197, 214, 216, 0.26) 100%);
  }
}





/*-----------------------------------*\
  #TRANSPARENCY LIFT
\*-----------------------------------*/

.sidebar,
article,
.about-text,
.timeline,
.mapbox,
.contact-form,
.skills-list.content-card,
.testimonials-modal,
.service-item,
.content-card,
.project-item > a,
.blog-post-item > a,
.clients-item a,
.navbar {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.sidebar {
  background:
    linear-gradient(180deg, rgba(242, 246, 244, 0.48) 0%, rgba(232, 239, 237, 0.4) 58%, rgba(221, 231, 232, 0.34) 100%);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    0 18px 34px rgba(123, 155, 163, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.54),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

article {
  background:
    linear-gradient(180deg, rgba(245, 249, 248, 0.38) 0%, rgba(239, 246, 246, 0.3) 58%, rgba(233, 242, 243, 0.24) 100%);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    0 18px 42px rgba(123, 155, 163, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.navbar {
  background:
    linear-gradient(180deg, rgba(248, 250, 248, 0.46) 0%, rgba(241, 246, 244, 0.34) 100%);
  border: 1px solid rgba(255, 255, 255, 0.44);
  box-shadow:
    0 12px 28px rgba(123, 155, 163, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.about-text,
.timeline,
.mapbox,
.contact-form,
.skills-list.content-card,
.testimonials-modal {
  background:
    linear-gradient(180deg, rgba(252, 253, 252, 0.82) 0%, rgba(248, 250, 249, 0.7) 100%);
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow:
    0 12px 28px rgba(123, 155, 163, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.service-item,
.content-card,
.project-item > a,
.blog-post-item > a,
.clients-item a {
  background:
    linear-gradient(180deg, rgba(252, 254, 253, 0.88) 0%, rgba(248, 251, 250, 0.76) 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 10px 24px rgba(123, 155, 163, 0.035),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.service-item:hover,
.content-card:hover,
.project-item > a:hover,
.blog-post-item > a:hover,
.clients-item a:hover {
  background:
    linear-gradient(180deg, rgba(253, 254, 254, 0.94) 0%, rgba(249, 252, 251, 0.84) 100%);
  border-color: rgba(255, 255, 255, 0.58);
}

.avatar-box,
.icon-box,
.service-icon-box {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.14) 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

@media (max-width: 579px) {
  article {
    background:
      linear-gradient(180deg, rgba(246, 250, 250, 0.48) 0%, rgba(239, 246, 247, 0.36) 100%);
  }

  .sidebar {
    background:
      linear-gradient(180deg, rgba(242, 246, 244, 0.58) 0%, rgba(232, 239, 237, 0.42) 100%);
  }

  .about-text,
  .timeline,
  .mapbox,
  .contact-form,
  .skills-list.content-card,
  .testimonials-modal,
  .service-item,
  .content-card,
  .project-item > a,
  .blog-post-item > a,
  .clients-item a {
    background:
      linear-gradient(180deg, rgba(252, 254, 253, 0.82) 0%, rgba(248, 250, 249, 0.68) 100%);
  }
}





/*-----------------------------------*\
  #GLASSMORPHISM TRUE FINAL OVERRIDE
\*-----------------------------------*/

body {
  background-color: #90a8a3;
  background-image:
    radial-gradient(circle at 18% 12%, rgba(54, 221, 213, 0.22) 0 8%, transparent 22%),
    radial-gradient(circle at 82% 14%, rgba(255, 207, 145, 0.34) 0 9%, transparent 24%),
    radial-gradient(circle at 50% 82%, rgba(255, 255, 255, 0.18) 0 9%, transparent 26%),
    var(--site-landscape-image);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body::before,
body::after {
  content: "";
  display: block;
  position: fixed;
  pointer-events: none;
  z-index: -1;
  border-radius: 999px;
  filter: blur(80px);
}

body::before {
  width: 320px;
  height: 320px;
  right: 8vw;
  top: 8vh;
  background: rgba(47, 223, 214, 0.35);
}

body::after {
  width: 380px;
  height: 380px;
  left: 7vw;
  bottom: 8vh;
  background: rgba(255, 197, 128, 0.38);
}

.sidebar,
article,
.navbar,
.about-text,
.timeline,
.mapbox,
.contact-form,
.skills-list.content-card,
.testimonials-modal,
.service-item,
.content-card,
.project-item > a,
.blog-post-item > a,
.clients-item a,
.filter-select,
.select-list,
.form-input,
.form-btn {
  backdrop-filter: blur(28px) saturate(150%) contrast(104%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(150%) contrast(104%) !important;
}

.sidebar,
article,
.navbar {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0.16) 48%, rgba(220, 239, 242, 0.14) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  box-shadow:
    0 34px 90px rgba(37, 78, 84, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(255, 255, 255, 0.22) !important;
}

.about-text,
.timeline,
.mapbox,
.contact-form,
.skills-list.content-card,
.testimonials-modal,
.service-item,
.content-card,
.project-item > a,
.blog-post-item > a,
.clients-item a {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.18) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.58) !important;
  box-shadow:
    0 22px 58px rgba(37, 78, 84, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(255, 255, 255, 0.18) !important;
}

.service-item,
.content-card,
.project-item > a,
.blog-post-item > a,
.clients-item a {
  transform: translateZ(0);
}

.service-item:hover,
.content-card:hover,
.project-item > a:hover,
.blog-post-item > a:hover,
.clients-item a:hover {
  transform: translateY(-8px) translateZ(0);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.54) 0%, rgba(255, 255, 255, 0.24) 100%) !important;
  border-color: rgba(255, 255, 255, 0.78) !important;
  box-shadow:
    0 30px 72px rgba(37, 78, 84, 0.22),
    0 0 0 1px rgba(47, 223, 214, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
}

@media (max-width: 579px) {
  .sidebar,
  article,
  .navbar,
  .about-text,
  .timeline,
  .mapbox,
  .contact-form,
  .skills-list.content-card,
  .testimonials-modal,
  .service-item,
  .content-card,
  .project-item > a,
  .blog-post-item > a,
  .clients-item a {
    backdrop-filter: blur(18px) saturate(136%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(136%) !important;
  }
}



/*-----------------------------------*\
  #THEME ABSOLUTE FINAL OVERRIDE
\*-----------------------------------*/

body:not([data-theme="night"]) {
  background-color: #90a8a3 !important;
  background-image:
    radial-gradient(circle at 18% 12%, rgba(54, 221, 213, 0.22) 0 8%, transparent 22%),
    radial-gradient(circle at 78% 18%, rgba(244, 251, 249, 0.22) 0 9%, transparent 24%),
    radial-gradient(circle at 50% 82%, rgba(255, 255, 255, 0.18) 0 9%, transparent 26%),
    var(--site-landscape-image) !important;
}

body:not([data-theme="night"])::after {
  display: none !important;
}

body[data-theme="night"] {
  color: rgba(238, 246, 255, 0.9);
  background-color: #17133d !important;
  background-image:
    radial-gradient(circle at 13% 12%, rgba(245, 0, 196, 0.52) 0 6%, rgba(176, 58, 211, 0.3) 12%, transparent 27%),
    radial-gradient(circle at 87% 70%, rgba(16, 196, 235, 0.68) 0 10%, rgba(16, 145, 219, 0.32) 18%, transparent 35%),
    radial-gradient(circle at 48% 45%, rgba(153, 92, 214, 0.32) 0 9%, transparent 22%),
    linear-gradient(165deg, #151233 0%, #27205a 46%, #141a38 100%) !important;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body[data-theme="night"]::before,
body[data-theme="night"]::after {
  display: block !important;
  z-index: -1;
  border-radius: 999px;
  filter: blur(78px);
}

body[data-theme="night"]::before {
  width: 370px;
  height: 370px;
  left: 3vw;
  top: 2vh;
  right: auto;
  bottom: auto;
  background: rgba(236, 0, 203, 0.5) !important;
}

body[data-theme="night"]::after {
  width: 460px;
  height: 460px;
  right: 2vw;
  bottom: 2vh;
  left: auto;
  top: auto;
  background: rgba(14, 191, 229, 0.54) !important;
}

body[data-theme="night"] main::before,
body[data-theme="night"] main::after {
  content: "";
  position: fixed;
  pointer-events: none;
  display: block !important;
}

body[data-theme="night"] main::before {
  width: min(44vw, 620px);
  height: min(26vw, 350px);
  left: 25vw;
  top: 12vh;
  z-index: -2;
  border: 1px solid rgba(236, 241, 255, 0.34);
  border-radius: 34px;
  background:
    radial-gradient(circle at 52% 50%, rgba(191, 91, 214, 0.38) 0 25%, transparent 26%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 30px 80px rgba(8, 8, 28, 0.22);
  backdrop-filter: blur(6px) saturate(130%);
  -webkit-backdrop-filter: blur(6px) saturate(130%);
  transform: rotate(-11deg);
}

body[data-theme="night"] main::after {
  width: min(28vw, 390px);
  aspect-ratio: 1;
  right: 10vw;
  top: 9vh;
  z-index: -2;
  border: 1px solid rgba(236, 241, 255, 0.38);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.045);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 24px 70px rgba(8, 8, 28, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

body[data-theme="night"] .sidebar,
body[data-theme="night"] article,
body[data-theme="night"] .navbar {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.065) 48%, rgba(29, 34, 84, 0.22) 100%) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(94, 219, 242, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08) !important;
}

body[data-theme="night"] .about-text,
body[data-theme="night"] .timeline,
body[data-theme="night"] .mapbox,
body[data-theme="night"] .contact-form,
body[data-theme="night"] .skills-list.content-card,
body[data-theme="night"] .testimonials-modal,
body[data-theme="night"] .service-item,
body[data-theme="night"] .content-card,
body[data-theme="night"] .project-item > a,
body[data-theme="night"] .blog-post-item > a,
body[data-theme="night"] .clients-item a,
body[data-theme="night"] .form-input {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.055) 100%) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow:
    0 22px 62px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06) !important;
}

body[data-theme="night"] .h2,
body[data-theme="night"] .h3,
body[data-theme="night"] .h4,
body[data-theme="night"] .name,
body[data-theme="night"] .navbar-link,
body[data-theme="night"] .contact-link,
body[data-theme="night"] .contact-info :is(time, address),
body[data-theme="night"] .about-text,
body[data-theme="night"] .about-text p,
body[data-theme="night"] .service-item-text,
body[data-theme="night"] .blog-text,
body[data-theme="night"] .timeline-text,
body[data-theme="night"] .filter-item button,
body[data-theme="night"] .select-item button,
body[data-theme="night"] .form-input {
  color: rgba(239, 246, 255, 0.88) !important;
}

body[data-theme="night"] .title,
body[data-theme="night"] .contact-title,
body[data-theme="night"] .category,
body[data-theme="night"] .timeline-item-title,
body[data-theme="night"] .blog-meta {
  color: rgba(199, 217, 236, 0.68) !important;
}

body[data-theme="night"] .icon-box,
body[data-theme="night"] .social-link {
  color: #69efff !important;
  background: rgba(255, 255, 255, 0.11) !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 26px rgba(48, 207, 235, 0.16) !important;
}

body[data-theme="night"] .navbar-indicator,
body[data-theme="night"] .form-btn {
  background: linear-gradient(135deg, #35e2df, #1f98ea) !important;
  box-shadow:
    0 18px 42px rgba(31, 152, 234, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.38) !important;
}

body[data-theme="night"] .separator {
  background: rgba(255, 255, 255, 0.14) !important;
}

body[data-theme="night"] .service-item:hover,
body[data-theme="night"] .content-card:hover,
body[data-theme="night"] .project-item > a:hover,
body[data-theme="night"] .blog-post-item > a:hover,
body[data-theme="night"] .clients-item a:hover {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.08) 100%) !important;
  border-color: rgba(105, 239, 255, 0.34) !important;
  box-shadow:
    0 30px 76px rgba(0, 0, 0, 0.34),
    0 0 40px rgba(35, 203, 232, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
}

@media (max-width: 900px) {
  .theme-toggle {
    top: auto !important;
    right: 14px;
    bottom: 16px;
    left: auto !important;
    height: 40px;
    min-width: 80px;
    padding-inline: 13px;
  }

  body[data-theme="night"] main::before {
    width: 66vw;
    height: 34vw;
    left: 18vw;
    top: 16vh;
  }

  body[data-theme="night"] main::after {
    width: 38vw;
    right: -5vw;
    top: 11vh;
  }
}



/*-----------------------------------*\
  #SUN MOON SWITCH FINAL
\*-----------------------------------*/

.theme-switch {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: min(292px, calc(100vw - 32px));
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.18));
  box-shadow:
    0 20px 56px rgba(31, 68, 72, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(24px) saturate(155%);
  -webkit-backdrop-filter: blur(24px) saturate(155%);
}

.theme-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 42px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(35, 57, 58, 0.72);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
  transition: color 220ms ease, background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.theme-option ion-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  filter: drop-shadow(0 4px 10px rgba(38, 88, 91, 0.12));
}

.theme-option:hover {
  transform: translateY(-1px);
  color: rgba(24, 42, 43, 0.92);
  background: rgba(255, 255, 255, 0.24);
}

.theme-option.is-active {
  color: #173438;
  background: linear-gradient(135deg, rgba(55, 226, 219, 0.96), rgba(29, 159, 229, 0.96));
  box-shadow:
    0 12px 30px rgba(35, 174, 203, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.theme-option[data-theme-mode="day"].is-active {
  color: #463710;
  background: linear-gradient(135deg, #ffe588, #ffc14d);
  box-shadow:
    0 12px 30px rgba(245, 178, 52, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.theme-option[data-theme-mode="night"].is-active {
  color: #f3f8ff;
  background: linear-gradient(135deg, #7a4dff, #1b9eea);
  box-shadow:
    0 12px 34px rgba(78, 103, 255, 0.38),
    0 0 28px rgba(35, 203, 232, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

body[data-theme="night"] .theme-switch {
  border-color: rgba(255, 255, 255, 0.28);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  box-shadow:
    0 22px 62px rgba(0, 0, 0, 0.38),
    0 0 44px rgba(36, 206, 235, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

body[data-theme="night"] .theme-option {
  color: rgba(231, 241, 255, 0.72);
}

body[data-theme="night"] .theme-option:hover {
  color: rgba(250, 253, 255, 0.94);
  background: rgba(255, 255, 255, 0.1);
}

body[data-theme="night"] .theme-option[data-theme-mode="day"].is-active {
  color: #4a3600;
}

body[data-theme="night"] .theme-option[data-theme-mode="night"].is-active,
body[data-theme="night"][data-theme-mode="auto"] .theme-option[data-theme-mode="auto"].is-active {
  color: #f3f8ff;
  background: linear-gradient(135deg, #ef14c7, #22cbe8);
  box-shadow:
    0 14px 38px rgba(239, 20, 199, 0.24),
    0 0 34px rgba(34, 203, 232, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

body[data-theme-mode="auto"] .theme-option[data-theme-mode="auto"] ion-icon {
  animation: themeAutoSpark 2.6s ease-in-out infinite;
}

@keyframes themeAutoSpark {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.16) rotate(8deg); }
}

@media (max-width: 579px) {
  .theme-switch {
    right: 12px;
    bottom: 14px;
    width: min(268px, calc(100vw - 24px));
    padding: 6px;
  }

  .theme-option {
    min-height: 40px;
    padding-inline: 8px;
    font-size: 12px;
  }

  .theme-option ion-icon {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }
}



/*-----------------------------------*\
  #NIGHT ABSTRACT REFERENCE FINAL
\*-----------------------------------*/

body[data-theme="night"] {
  background-color: #0b1024 !important;
  background-image:
    radial-gradient(ellipse at -8% 42%, rgba(139, 24, 206, 0.78) 0 17%, rgba(89, 21, 142, 0.52) 34%, transparent 58%),
    radial-gradient(ellipse at 86% 30%, rgba(58, 67, 248, 0.46) 0 10%, rgba(42, 36, 156, 0.26) 20%, transparent 36%),
    radial-gradient(ellipse at 76% 72%, rgba(255, 188, 207, 0.82) 0 7%, rgba(196, 88, 199, 0.58) 17%, rgba(71, 42, 221, 0.34) 34%, transparent 52%),
    radial-gradient(ellipse at 33% 82%, rgba(63, 28, 207, 0.42) 0 9%, transparent 27%),
    linear-gradient(100deg, #1b0026 0%, #1c0730 26%, #13071f 56%, #071124 100%) !important;
}

body[data-theme="night"]::before {
  width: 58vw;
  height: 120vh;
  left: -28vw;
  top: -10vh;
  right: auto;
  bottom: auto;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(151, 23, 213, 0.86), rgba(104, 25, 167, 0.42) 46%, transparent 100%) !important;
  filter: blur(48px);
  opacity: 0.92;
}

body[data-theme="night"]::after {
  width: 76vw;
  height: 44vh;
  right: -15vw;
  bottom: -7vh;
  left: auto;
  top: auto;
  border-radius: 52% 48% 36% 64% / 44% 46% 54% 56%;
  background:
    radial-gradient(ellipse at 42% 44%, rgba(255, 215, 206, 0.92) 0 10%, rgba(221, 115, 201, 0.68) 26%, rgba(71, 43, 224, 0.54) 55%, transparent 72%) !important;
  filter: blur(46px);
  opacity: 0.78;
}

body[data-theme="night"] main::before {
  width: auto;
  height: auto;
  inset: 10vh 5vw 8vh 5vw;
  left: 5vw;
  top: 10vh;
  z-index: -4;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(ellipse at 14% 6%, rgba(255, 202, 188, 0.52) 0 4%, rgba(121, 40, 147, 0.36) 12%, transparent 28%),
    radial-gradient(ellipse at 87% 10%, rgba(47, 65, 242, 0.44) 0 8%, transparent 26%),
    linear-gradient(100deg, rgba(28, 0, 45, 0.88), rgba(16, 4, 29, 0.9) 50%, rgba(5, 12, 25, 0.92)) !important;
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 0 0 1px rgba(151, 80, 255, 0.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: none;
}

body[data-theme="night"] main::after {
  width: auto;
  height: auto;
  inset: 10vh 5vw 8vh 5vw;
  right: 5vw;
  top: 10vh;
  z-index: -3;
  border: 0;
  border-radius: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='850' viewBox='0 0 1200 850'%3E%3Cg fill='none' stroke='%23e7a0cc' stroke-width='3' opacity='.55'%3E%3Ccircle cx='735' cy='650' r='43'/%3E%3Ccircle cx='735' cy='650' r='55' opacity='.55'/%3E%3Ccircle cx='735' cy='650' r='66' opacity='.35'/%3E%3Ccircle cx='985' cy='335' r='44'/%3E%3Ccircle cx='110' cy='780' r='28'/%3E%3Ccircle cx='1125' cy='755' r='27'/%3E%3C/g%3E%3Cg stroke='%235b3cff' stroke-width='5' opacity='.65'%3E%3Cpath d='M635 700l20 20m0-20l-20 20M1030 250l20 20m0-20l-20 20M1088 615l24 24m0-24l-24 24M930 735l25 25m0-25l-25 25'/%3E%3C/g%3E%3Cg fill='%235a45e8' opacity='.72'%3E%3Cpath d='M575 400l13 22h-26zM575 435l13 22h-26zM575 470l13 22h-26zM575 505l13 22h-26zM575 540l13 22h-26zM575 575l13 22h-26zM975 165l13 22h-26zM975 200l13 22h-26zM975 235l13 22h-26zM975 270l13 22h-26zM975 305l13 22h-26z'/%3E%3Cpath d='M410 110l7 13h-14zM410 130l7 13h-14zM410 150l7 13h-14zM410 170l7 13h-14zM410 190l7 13h-14zM410 210l7 13h-14zM410 230l7 13h-14z'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(ellipse at 79% 72%, rgba(255, 203, 210, 0.5) 0 9%, rgba(147, 70, 193, 0.42) 24%, rgba(45, 32, 204, 0.28) 46%, transparent 62%),
    radial-gradient(ellipse at 24% 86%, rgba(58, 32, 196, 0.32) 0 11%, transparent 34%);
  background-repeat: no-repeat;
  background-position: center center, center center, center center;
  background-size: cover, cover, cover;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.42);
  transform: none;
}

body[data-theme="night"] .sidebar,
body[data-theme="night"] article,
body[data-theme="night"] .navbar {
  background:
    linear-gradient(145deg, rgba(42, 13, 64, 0.56), rgba(10, 11, 31, 0.44) 58%, rgba(6, 13, 30, 0.56)) !important;
  border-color: rgba(225, 155, 215, 0.28) !important;
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(112, 72, 255, 0.12),
    inset 0 1px 0 rgba(255, 203, 232, 0.22),
    inset 0 -1px 0 rgba(89, 72, 255, 0.1) !important;
}

body[data-theme="night"] .about-text,
body[data-theme="night"] .timeline,
body[data-theme="night"] .mapbox,
body[data-theme="night"] .contact-form,
body[data-theme="night"] .skills-list.content-card,
body[data-theme="night"] .testimonials-modal,
body[data-theme="night"] .service-item,
body[data-theme="night"] .content-card,
body[data-theme="night"] .project-item > a,
body[data-theme="night"] .blog-post-item > a,
body[data-theme="night"] .clients-item a,
body[data-theme="night"] .form-input {
  background:
    linear-gradient(145deg, rgba(78, 22, 98, 0.36), rgba(15, 11, 35, 0.34) 64%, rgba(8, 16, 35, 0.34)) !important;
  border-color: rgba(230, 151, 211, 0.22) !important;
  box-shadow:
    0 22px 72px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 210, 231, 0.18),
    inset 0 -1px 0 rgba(89, 72, 255, 0.1) !important;
}

body[data-theme="night"] .h2,
body[data-theme="night"] .h3,
body[data-theme="night"] .h4,
body[data-theme="night"] .name,
body[data-theme="night"] .navbar-link,
body[data-theme="night"] .contact-link,
body[data-theme="night"] .about-text,
body[data-theme="night"] .about-text p,
body[data-theme="night"] .service-item-text {
  color: rgba(248, 238, 255, 0.92) !important;
}

body[data-theme="night"] .article-title::after,
body[data-theme="night"] .navbar-indicator,
body[data-theme="night"] .form-btn,
body[data-theme="night"] .theme-option[data-theme-mode="night"].is-active,
body[data-theme="night"][data-theme-mode="auto"] .theme-option[data-theme-mode="auto"].is-active {
  background: linear-gradient(135deg, #d76bd7, #7b53ff) !important;
  box-shadow:
    0 14px 38px rgba(202, 91, 218, 0.25),
    0 0 34px rgba(103, 80, 255, 0.18),
    inset 0 1px 0 rgba(255, 215, 236, 0.35) !important;
}

body[data-theme="night"] .theme-switch {
  border-color: rgba(230, 151, 211, 0.3);
  background: linear-gradient(145deg, rgba(42, 13, 64, 0.52), rgba(8, 13, 31, 0.5));
}

@media (max-width: 900px) {
  body[data-theme="night"] main::before,
  body[data-theme="night"] main::after {
    inset: 7vh 0 5vh 0;
  }

  body[data-theme="night"]::after {
    width: 110vw;
    right: -36vw;
    bottom: 2vh;
  }
}



/*-----------------------------------*\
  #NIGHT WALLPAPER FINAL
\*-----------------------------------*/

body[data-theme="night"] {
  background-color: #100825 !important;
  background-image:
    url("file:///C:/Users/myron/OneDrive/Pictures/%E5%A3%81%E7%BA%B8/37.%E7%B4%AB%E4%BA%91%E5%A4%9C%E5%B9%95%EF%BC%88%E7%94%B5%E8%84%91%EF%BC%89.png") !important;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body[data-theme="night"]::before,
body[data-theme="night"]::after,
body[data-theme="night"] main::before,
body[data-theme="night"] main::after {
  display: none !important;
}

body[data-theme="night"] .sidebar,
body[data-theme="night"] article,
body[data-theme="night"] .navbar {
  background:
    linear-gradient(145deg, rgba(55, 20, 78, 0.5), rgba(10, 12, 32, 0.42) 58%, rgba(8, 13, 30, 0.48)) !important;
  border-color: rgba(238, 185, 225, 0.3) !important;
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(141, 90, 255, 0.12),
    inset 0 1px 0 rgba(255, 225, 241, 0.22),
    inset 0 -1px 0 rgba(89, 72, 255, 0.08) !important;
}

body[data-theme="night"] .about-text,
body[data-theme="night"] .timeline,
body[data-theme="night"] .mapbox,
body[data-theme="night"] .contact-form,
body[data-theme="night"] .skills-list.content-card,
body[data-theme="night"] .testimonials-modal,
body[data-theme="night"] .service-item,
body[data-theme="night"] .content-card,
body[data-theme="night"] .project-item > a,
body[data-theme="night"] .blog-post-item > a,
body[data-theme="night"] .clients-item a,
body[data-theme="night"] .form-input {
  background:
    linear-gradient(145deg, rgba(86, 31, 105, 0.34), rgba(12, 12, 33, 0.34) 66%, rgba(9, 17, 38, 0.32)) !important;
  border-color: rgba(238, 185, 225, 0.22) !important;
}



/*-----------------------------------*\
  #NIGHT NO PURPLE VEIL FINAL
\*-----------------------------------*/

body[data-theme="night"] {
  background-color: #050914 !important;
  background-image:
    url("file:///C:/Users/myron/OneDrive/Pictures/%E5%A3%81%E7%BA%B8/37.%E7%B4%AB%E4%BA%91%E5%A4%9C%E5%B9%95%EF%BC%88%E7%94%B5%E8%84%91%EF%BC%89.png") !important;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body[data-theme="night"]::before,
body[data-theme="night"]::after,
body[data-theme="night"] main::before,
body[data-theme="night"] main::after {
  display: none !important;
  opacity: 0 !important;
  background: none !important;
  background-image: none !important;
}

body[data-theme="night"] .sidebar,
body[data-theme="night"] article,
body[data-theme="night"] .navbar {
  background:
    linear-gradient(145deg, rgba(9, 14, 28, 0.46), rgba(7, 11, 24, 0.28) 58%, rgba(6, 10, 22, 0.38)) !important;
  border-color: rgba(226, 236, 255, 0.24) !important;
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08) !important;
}

body[data-theme="night"] .about-text,
body[data-theme="night"] .timeline,
body[data-theme="night"] .mapbox,
body[data-theme="night"] .contact-form,
body[data-theme="night"] .skills-list.content-card,
body[data-theme="night"] .testimonials-modal,
body[data-theme="night"] .service-item,
body[data-theme="night"] .content-card,
body[data-theme="night"] .project-item > a,
body[data-theme="night"] .blog-post-item > a,
body[data-theme="night"] .clients-item a,
body[data-theme="night"] .form-input {
  background:
    linear-gradient(145deg, rgba(13, 18, 32, 0.34), rgba(7, 11, 24, 0.22) 64%, rgba(6, 10, 22, 0.3)) !important;
  border-color: rgba(226, 236, 255, 0.18) !important;
  box-shadow:
    0 22px 72px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06) !important;
}



/*-----------------------------------*\
  #NIGHT ICON TONE FINAL
\*-----------------------------------*/

body[data-theme="night"] .icon-box,
body[data-theme="night"] .service-icon-box,
body[data-theme="night"] .project-item-icon-box {
  color: rgba(225, 229, 255, 0.78) !important;
  background:
    linear-gradient(145deg, rgba(18, 24, 42, 0.5), rgba(8, 12, 26, 0.34)) !important;
  border: 1px solid rgba(226, 236, 255, 0.2) !important;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(20px) saturate(125%);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
}

body[data-theme="night"] .icon-box::before,
body[data-theme="night"] .service-icon-box::before,
body[data-theme="night"] .project-item-icon-box::before,
body[data-theme="night"] .icon-box::after,
body[data-theme="night"] .service-icon-box::after,
body[data-theme="night"] .project-item-icon-box::after {
  opacity: 0 !important;
}

body[data-theme="night"] .icon-box ion-icon,
body[data-theme="night"] .project-item-icon-box ion-icon {
  color: rgba(225, 229, 255, 0.78) !important;
  filter: none !important;
}

body[data-theme="night"] .service-icon-box img {
  opacity: 0.74;
  filter: grayscale(0.35) brightness(1.12) saturate(0.55);
}

body[data-theme="night"] .social-link {
  color: rgba(225, 229, 255, 0.7) !important;
  background: rgba(10, 14, 28, 0.34) !important;
  border-color: rgba(226, 236, 255, 0.18) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 26px rgba(0, 0, 0, 0.18) !important;
}

body[data-theme="night"] .social-link:hover,
body[data-theme="night"] .icon-box:hover {
  color: rgba(255, 255, 255, 0.9) !important;
  background: rgba(20, 27, 48, 0.46) !important;
}



/*-----------------------------------*\
  #SLIM NAVBAR FINAL
\*-----------------------------------*/

.navbar {
  border-radius: 999px !important;
}

.navbar-list {
  min-height: 56px !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: inherit;
}

.navbar-link {
  min-height: 56px;
  padding: 0 10px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-indicator {
  top: 0 !important;
  bottom: 0 !important;
  width: 20% !important;
  border-radius: inherit !important;
}

@media (min-width: 768px) {
  .navbar-list {
    min-height: 58px !important;
  }

  .navbar-link {
    min-height: 58px;
  }
}

@media (max-width: 579px) {
  .navbar-list {
    min-height: 50px !important;
  }

  .navbar-link {
    min-height: 50px;
    padding-inline: 6px !important;
  }
}



/*-----------------------------------*\
  #MORANDI SLIM NAVBAR FINAL
\*-----------------------------------*/

.navbar-list {
  min-height: 48px !important;
}

.navbar-link {
  min-height: 48px !important;
  font-weight: 800;
}

.navbar-indicator {
  top: 0 !important;
  bottom: 0 !important;
  background:
    linear-gradient(135deg, rgba(112, 187, 184, 0.92), rgba(102, 164, 184, 0.9)) !important;
  box-shadow:
    0 10px 22px rgba(77, 122, 130, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.26) !important;
}

.navbar-link.active {
  color: rgba(250, 255, 254, 0.92) !important;
}

body[data-theme="night"] .navbar-indicator {
  background:
    linear-gradient(135deg, rgba(150, 114, 186, 0.92), rgba(113, 101, 161, 0.9)) !important;
  box-shadow:
    0 10px 24px rgba(85, 72, 120, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

body[data-theme="night"] .navbar-link.active {
  color: rgba(246, 241, 252, 0.94) !important;
}

@media (min-width: 768px) {
  .navbar-list {
    min-height: 50px !important;
  }

  .navbar-link {
    min-height: 50px !important;
  }
}

@media (max-width: 579px) {
  .navbar-list {
    min-height: 44px !important;
  }

  .navbar-link {
    min-height: 44px !important;
  }
}



/*-----------------------------------*\
  #BOUNCY NAV INDICATOR FINAL
\*-----------------------------------*/

.navbar-indicator {
  overflow: hidden;
  transition:
    transform 0.56s cubic-bezier(0.18, 1.28, 0.34, 1),
    width 0.56s cubic-bezier(0.18, 1.22, 0.34, 1),
    box-shadow 0.28s ease,
    filter 0.28s ease !important;
}

.navbar-indicator::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 0 24%, rgba(255, 255, 255, 0.28) 38%, transparent 54%),
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.22), transparent 42%);
  opacity: 0.45;
  transform: translateX(-18%) scaleX(0.82);
}

.navbar-indicator.is-moving {
  filter: saturate(1.04) brightness(1.03);
  box-shadow:
    0 13px 28px rgba(77, 122, 130, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.navbar-indicator.is-moving::after {
  animation: navIndicatorGlide 0.62s cubic-bezier(0.2, 1.05, 0.32, 1) both;
}

body[data-theme="night"] .navbar-indicator.is-moving {
  box-shadow:
    0 13px 30px rgba(85, 72, 120, 0.3),
    0 0 20px rgba(180, 154, 211, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

@keyframes navIndicatorGlide {
  0% {
    opacity: 0.24;
    transform: translateX(-38%) scaleX(0.74);
  }

  38% {
    opacity: 0.58;
    transform: translateX(8%) scaleX(1.1);
  }

  72% {
    opacity: 0.44;
    transform: translateX(2%) scaleX(0.96);
  }

  100% {
    opacity: 0.42;
    transform: translateX(0) scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .navbar-indicator,
  .navbar-indicator::after {
    transition: none !important;
    animation: none !important;
  }
}



/*-----------------------------------*\
  #NIGHT AVATAR SHADOW FIX FINAL
\*-----------------------------------*/

body[data-theme="night"] .avatar-box {
  background:
    linear-gradient(145deg, rgba(16, 21, 36, 0.34), rgba(10, 14, 28, 0.18)) !important;
  border: 1px solid rgba(226, 236, 255, 0.18) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: blur(12px) saturate(112%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(112%) !important;
  overflow: hidden;
  transition: none !important;
}

body[data-theme="night"] .avatar-box::before,
body[data-theme="night"] .avatar-box::after {
  display: none !important;
  opacity: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

body[data-theme="night"] .avatar-box img {
  filter: none !important;
  box-shadow: none !important;
  transition: none !important;
  transform: none !important;
}

body[data-theme="night"] article.is-entering ~ .sidebar .avatar-box,
body[data-theme="night"] article.is-entering ~ .sidebar .avatar-box img {
  animation: none !important;
  filter: none !important;
}



/*-----------------------------------*\
  #NIGHT AVATAR FLAT GLASS FINAL
\*-----------------------------------*/

body[data-theme="night"] .avatar-box {
  background: rgba(8, 12, 24, 0.18) !important;
  background-image: none !important;
  border: 1px solid rgba(226, 236, 255, 0.16) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  isolation: isolate;
}

body[data-theme="night"] .avatar-box img {
  background: transparent !important;
  filter: none !important;
  box-shadow: none !important;
  mix-blend-mode: normal !important;
}

body[data-theme="night"] .avatar-box *,
body[data-theme="night"] .avatar-box *::before,
body[data-theme="night"] .avatar-box *::after {
  box-shadow: none !important;
  filter: none !important;
}
