*,
*::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;
}

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

body {
  position: relative;
}

/* Layout Structure */
.sidebar,
article {
  backdrop-filter: var(--blur-1) saturate(180%);
  border-radius: 20px;
  padding: 15px;
  z-index: 1;
  transition: var(--transition-smooth);
}

.separator {
  width: 100%;
  height: 1px;
  margin: 16px 0;
}

.icon-box {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  z-index: 1;
  transition: var(--transition-smooth);
}

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

.icon-box:hover {
  transform: translateY(-2px);
}

.icon-box ion-icon {
  --ionicon-stroke-width: 35px;
  transition: var(--transition-1);
}

article {
  display: none;
}

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

@keyframes fade {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Typography Structure */
.h2,
.h3,
.h4,
.h5 {
  text-transform: capitalize;
  opacity: 0.95;
}

.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;
}

.hero-text {
  text-transform: uppercase;
  display: inline-block;
  overflow: hidden;
  white-space: pre-wrap;
  opacity: 0.95;
}

.hero-text span {
  display: inline-block;
  transform: translateX(100vw);
  opacity: 0;
  animation: slideIn 0.6s forwards;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideIn {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.sub-hero-text {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  margin-top: 0.75rem;
  font-size: 1.25rem;
  font-weight: 400;
  max-width: 100vw;
  overflow: hidden;
  padding: 0.2rem;
  padding-bottom: 1rem;
  letter-spacing: 1px;
}

.article-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  border-radius: 3px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Scrollbar Structure */
.has-scrollbar::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.has-scrollbar::-webkit-scrollbar-track {
  border-radius: 5px;
}

.has-scrollbar::-webkit-scrollbar-thumb {
  border-radius: 5px;
  transition: var(--transition-1);
}

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

/* Content Cards Structure */
.content-card {
  position: relative;
  padding: 15px;
  padding-top: 45px;
  border-radius: 14px;
  cursor: pointer;
  z-index: 1;
  transition: var(--transition-smooth);
}

.content-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  z-index: -1;
  transition: var(--transition-smooth);
}

.content-card:hover {
  transform: translateY(-4px);
}

/* Main Layout */
main {
  margin: 15px 12px;
  margin-bottom: 75px;
  min-width: 259px;
}

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

.sidebar.active {
  max-height: max-content;
}

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

.avatar-box {
  position: relative;
  border-radius: 20px;
  transition: var(--transition-smooth);
}

.avatar-box::before,
.avatar-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  transition: var(--transition-smooth);
  border-radius: 8px;
  border-bottom-left-radius: unset;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.avatar-box::before {
  top: -20px;
  left: -20px;
  z-index: -1 !important;
  transform-origin: left bottom;
  transform: rotate(0deg);
  backdrop-filter: blur(2px);
}

.avatar-box::after {
  top: -10px;
  left: -10px;
  z-index: -1 !important;
  transform-origin: left bottom;
  transform: rotate(0deg);
  backdrop-filter: blur(2px);
}

.avatar-box:hover::before {
  top: 0;
  left: 0;
  opacity: 0.3;
}

.avatar-box:hover::after {
  top: 0;
  left: 0;
  opacity: 0.2;
}

.avatar-box img {
  transition: var(--transition-smooth);
}

.avatar-box:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

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

.info-content .title {
  font-weight: bolder;
  padding: 3px 12px;
  border-radius: 8px;
  transition: var(--transition-1);
}

.info_more-btn {
  position: absolute;
  top: -15px;
  right: -15px;
  border-radius: 0 15px;
  font-size: 13px;
  padding: 10px;
  transition: var(--transition-smooth);
  z-index: 1;
}

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

.info_more-btn:hover,
.info_more-btn:focus {
  transform: translateY(-2px);
}

.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 Structure */
.contacts-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.contact-item {
  min-width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition-1);
  padding: 4px;
  border-radius: 8px;
}

.contact-item .icon-box:hover ion-icon {
  font-size: 18px;
}

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

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

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

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

/* Social Links Structure */
.social-list {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 15px;
  padding-left: 7px;
}

.social-item .social-link {
  font-size: 20px;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition-smooth);
}

.social-item .social-link:hover {
  transform: translateY(-3px) scale(1.1);
}

/* Navbar Structure */
.navbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  backdrop-filter: var(--blur-1) saturate(180%);
  border-radius: 12px 12px 0 0;
  z-index: 5;
}

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

.navbar-link {
  font-size: var(--fs-8);
  padding: 20px 7px;
  transition: var(--transition-smooth);
  position: relative;
}

.navbar-link::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.navbar-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* About Section Structure */
.about .article-title {
  margin-bottom: 15px;
}

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

.about-text p {
  position: relative;
  margin-bottom: 15px;
  backdrop-filter: var(--blur-1);
  border-radius: 8px;
  padding: 12px 16px;
  overflow: hidden;
  animation: fadeInUp 0.8s ease forwards;
  transition: var(--transition-smooth);
}

.about-text p:hover {
  transform: translateX(4px);
}

.hide {
  opacity: 0;
}

.show {
  opacity: 1;
}

.anime-sub-hero-text::before,
.anime-sub-hero-text::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  z-index: 2;
  transform: translateX(0);
}

.anime-sub-hero-text::before {
  left: 0;
  animation: wipeLeft 1s ease forwards;
}

.anime-sub-hero-text::after {
  right: 0;
  animation: wipeRight 1s ease forwards;
  animation-delay: 0.3s;
}

@keyframes wipeLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes wipeRight {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Service Section Structure */
.service {
  margin-bottom: 35px;
}

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

.service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 50vh;
  max-width: inherit;
  scrollbar-width: thin;
}

.service-list::-webkit-scrollbar {
  width: 6px;
}

.service-list::-webkit-scrollbar-track {
  background: transparent;
}

.service-list::-webkit-scrollbar-button {
  display: none;
}

.service-list::-webkit-scrollbar {
  opacity: 0;
  transition: var(--transition-1);
}

.service-list:hover::-webkit-scrollbar {
  opacity: 1;
}

.service-item {
  position: relative;
  padding: 20px;
  border-radius: 14px;
  z-index: 1;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.service-item:hover {
  opacity: 1;
  transform: translateY(-4px);
}

.service-list:hover .service-item:not(:hover) {
  opacity: 0.6;
}

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

.service-item::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 80%;
  height: 2px;
  opacity: 0.8;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.service-item:hover::after {
  transform: translateX(-50%) scaleX(1);
}

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

.service-item-title {
  margin-bottom: 7px;
  transition: var(--transition-1);
}

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

/* Testimonials Structure */
.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;
  transition: var(--transition-1);
  scroll-behavior: smooth !important;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}

.testimonials-list::-webkit-scrollbar {
  height: 6px;
}

.testimonials-list::-webkit-scrollbar-track {
  background: transparent;
}

.testimonials-item {
  min-width: 100%;
  scroll-snap-align: center;
  transition: var(--transition-smooth);
  border-radius: 14px !important;
}

.testimonials-avatar-box {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(15px, -25px);
  border-radius: 14px;
  transition: var(--transition-smooth);
}

.testimonials-avatar-box img {
  border-radius: 0.5rem;
  transition: var(--transition-smooth);
}

.testimonials-item:hover .testimonials-avatar-box img {
  outline: 2px solid hsla(202, 61%, 64%, 0.4);
  outline-offset: -10px;
  filter: brightness(1.1);
}

.testimonials-item-title {
  margin-bottom: 7px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px;
}

.testimonials-item-title ion-icon {
  width: 30px;
  height: 30px;
  font-size: 20px;
  border-radius: 0.3rem;
  transition: var(--transition-smooth);
}

.testimonials-text {
  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;
}

/* Modal Structure */
.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: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  backdrop-filter: blur(20px) saturate(180%);
  transition: var(--transition-smooth);
}

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

.testimonials-modal {
  position: relative;
  padding: 15px;
  margin: 15px 12px;
  border-radius: 14px;
  transform: scale(1);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 2;
}

.modal-container.active .testimonials-modal {
  opacity: 1;
  animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
  0% {
    transform: scale(0.9) translateY(20px);
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

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

.modal-close-btn:hover,
.modal-close-btn:focus {
  opacity: 1;
  transform: rotate(90deg);
}

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

.modal-avatar-box {
  width: max-content;
  border-radius: 14px;
  margin-bottom: 15px;
}

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

.modal-title {
  margin-bottom: 4px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}

.modal-title ion-icon {
  padding-left: 10px;
}

.testimonials-item-subtitle,
.testimonials-item-date,
.modal-subtitle,
.modal-post-date {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.8;
  margin-top: 0.25rem;
}

.testimonials-item-date {
  font-style: italic;
}

.testimonials-link {
  margin-left: 0.35rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  opacity: 0.75;
  transition: var(--transition-smooth);
}

.testimonials-link:hover {
  opacity: 1;
}

.testimonials-link ion-icon {
  font-size: 1.1rem;
}

.modal-source-link {
  text-decoration: underline;
  transition: var(--transition-1);
}

.modal-content time {
  font-size: var(--fs-8);
  font-style: italic;
  border-radius: 0.15rem;
  max-width: max-content !important;
  padding: 3px 5px 3px 5px;
  font-weight: var(--fw-100);
  margin-bottom: 10px;
}

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

/* Timeline Structure */
.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;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: var(--transition-1);
}

.timeline-list span {
  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);
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: 5px;
  left: -33px;
  height: 6px;
  width: 6px;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0 4px var(--jet);
  }
  50% {
    box-shadow: 0 0 0 4px var(--jet);
  }
}

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

/* Skills Structure */
.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 {
  font-size: var(--fs-7);
  font-weight: var(--fw-300);
}

.skill-progress-bg {
  width: 100%;
  height: 8px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.skill-progress-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.skill-progress-fill {
  height: 100%;
  border-radius: inherit;
  position: relative;
  overflow: hidden;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  animation: progress-shine 2s ease-in-out infinite;
}

@keyframes progress-shine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Portfolio Structure */
.filter-list {
  display: none;
}

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

.filter-select {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  transition: var(--transition-smooth);
}

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

.select-list {
  position: absolute;
  top: calc(100% + 6px);
  width: 100%;
  padding: 6px;
  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 {
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  text-transform: capitalize;
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.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);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

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

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

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

.project-item-icon-box {
  --scale: 0.8;
  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-smooth);
}

.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-smooth);
}

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

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

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

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

/* Contact Section Structure */
.mapbox {
  position: relative;
  height: 250px;
  width: 100%;
  border-radius: 16px;
  margin-bottom: 30px;
  overflow: hidden;
}

.mapbox figure {
  height: 100%;
}

.mapbox iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.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 {
  font-size: var(--fs-6);
  font-weight: var(--fw-400);
  padding: 13px 20px;
  border-radius: 14px;
  outline: none;
  backdrop-filter: var(--blur-1);
  transition: var(--transition-smooth);
}

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

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

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

.form-btn {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 14px;
  font-size: var(--fs-6);
  text-transform: capitalize;
  z-index: 1;
  transition: var(--transition-smooth);
  overflow: hidden;
}

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

.form-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: -2;
}

.form-btn ion-icon {
  font-size: 16px;
  transition: var(--transition-1);
}

.form-btn:hover {
  transform: translateY(-2px);
}

.form-btn:hover::before {
  opacity: 0;
}

.form-btn:hover::after {
  opacity: 1;
}

.form-btn:hover ion-icon {
  transform: translateX(4px);
}

.form-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.form-btn:disabled:hover {
  transform: none;
}

.form-btn:disabled:hover::before {
  opacity: 1;
}

.form-btn:disabled:hover::after {
  opacity: 0;
}

/* Modal Text Scrollbar */
div[data-modal-text] p {
  overflow: auto;
  max-height: 250px !important;
  scrollbar-width: thin;
}

div[data-modal-text] p::-webkit-scrollbar {
  width: 6px;
}

div[data-modal-text] p::-webkit-scrollbar-thumb {
  border-radius: 10px;
}

/* Footer Structure */
.portfolio-footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  backdrop-filter: var(--blur-1);
  border-radius: 14px;
  margin-top: 5px;
}

/* Loader Structure */
.main-page-loader {
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}

.loader-clr {
  font-size: var(--fs-4);
  font-style: italic;
}

.loader {
  position: relative;
  width: 150px;
  height: 150px;
  padding: 1rem;
  border-radius: 50%;
}

.loader:before,
.loader:after {
  content: "";
  border-radius: 50%;
  position: absolute;
  inset: 0;
}

.loader:after {
  -webkit-animation: rotate 1.5s linear infinite;
  animation: rotate 1.5s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

.sm-spinner-wrapper {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  border-radius: 0.3rem;
  backdrop-filter: blur(40px) !important;
  z-index: 100;
}

.small-loader {
  width: 40px;
  height: 40px;
  border: 3px solid transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation-small-spinner 1s linear infinite;
}

@keyframes rotation-small-spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.navbar-item {
  position: relative;
  border-radius: 0.2rem;
  transition: all 0.2s ease-in;
}

.navbar-item::after {
  content: "";
  position: absolute;
  top: 30%;
  left: 10%;
  height: 2px;
  width: 0;
  opacity: 0.8;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-item:hover::after {
  width: 70%;
}

/* Service Modal Structure */
.service-backdrop {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(15px) saturate(180%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.service-modal {
  backdrop-filter: blur(20px);
  width: min(900px, 94%);
  max-width: 900px;
  max-height: 80vh;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.service-modal-heading {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
  text-align: center;
}

.service-modal-body {
  overflow-y: auto;
  padding-right: 0.5rem;
  max-height: calc(80vh - 80px);
  line-height: 1.6;
  padding-bottom: 1rem;
  scrollbar-width: thin;
}

.service-modal-body::-webkit-scrollbar {
  width: 6px;
}

.service-modal-body::-webkit-scrollbar-track {
  background: transparent;
}

.service-modal-body::-webkit-scrollbar-thumb {
  border-radius: 10px;
}

.service-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  text-align: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.service-modal-close:focus {
  outline: none;
}

.service-modal-close:hover {
  transform: rotate(90deg);
}

.service-modal-details {
  width: inherit !important;
  max-width: inherit !important;
  height: auto !important;
  max-height: auto !important;
  overflow-x: hidden !important;
}

.service-modal-details > div {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
  white-space: normal;
}

/* Theme Switch Structure */
.theme-switch {
  position: fixed;
  display: inline-block;
  width: 60px;
  height: 30px;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  border-radius: 30px;
}

.theme-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 0.4s;
  border-radius: 30px;
}

.slider::before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  transition: 0.4s;
  border-radius: 50%;
}

.theme-switch input:checked + .slider::before {
  transform: translateX(30px);
}

.slider::before {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Certification Carousel Structure */
.certificatio-attribution {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 180px;
  margin: 10px auto 0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-smooth);
  padding: 10px;
}

.alert {
  padding: 12px 16px;
  margin: 0;
  border-radius: 6px 6px 0 0;
  border: 1px solid transparent;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  animation: slideIn 0.3s ease-out;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  box-sizing: border-box;
}
.alert-success {
  background-color: #d1eddb;
  border-color: #badbcc;
  color: #155724;
}

.alert-info {
  background-color: #d1ecf1;
  border-color: #bee5eb;
  color: #0c5460;
}

.alert-warning {
  background-color: #fff3cd;
  border-color: #ffeaa7;
  color: #856404;
}

.alert-danger {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

.alert-primary {
  background-color: #cce5ff;
  border-color: #b3d9ff;
  color: #004085;
}

.alert-secondary {
  background-color: #e2e3e5;
  border-color: #d6d8db;
  color: #383d41;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(100%);
  }
}

.alert-removing {
  animation: slideOut 0.3s ease-out forwards;
}

.main___alert {
  z-index: 5000;
}

@keyframes rotation-small-spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.certificatio-attribution .image-attribution {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.certificatio-attribution .image-attribution img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.certificatio-attribution .image-attribution img.active {
  opacity: 1;
  transform: translateX(0);
}

.certificatio-attribution .image-attribution img.exit {
  opacity: 0;
  transform: translateX(-100%);
}

.certificatio-attribution .text-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  text-align: left;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}

.certificatio-attribution .text-wrapper.active {
  opacity: 1;
}

.certificatio-attribution .text-wrapper p {
  margin: 0 0 8px;
  opacity: 0;
  transform: translateX(-50%);
  transition: all 0.5s ease;
  text-align: center;
}

.certificatio-attribution .text-wrapper p.active {
  opacity: 1;
  transform: translateX(0);
}

/* Large Carousel Structure */
.certs-carousel-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  backdrop-filter: var(--blur-1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  animation: fadeIn 0.2s ease forwards;
}

.certs-carousel-container {
  border-radius: 10px;
  padding: 20px;
  max-width: 90%;
  max-height: 90%;
  width: 100%;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  position: relative;
  box-sizing: border-box;
  align-content: start;
  justify-content: center;
}

.certs-carousel-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 75%;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.certs-carousel-img-wrapper:hover {
  transform: translateY(-2px);
}

.certs-carousel-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: pointer;
  padding: 8px;
  box-sizing: border-box;
  transition: opacity 0.3s ease;
}

.certs-carousel-img-wrapper img:hover {
  opacity: 0.9;
}

.certs-carousel-img-wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.certs-carousel-img-wrapper.loaded::before,
.certs-carousel-img-wrapper.error::before {
  display: none;
}

.certs-carousel-img-wrapper.error::after {
  content: "⚠";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}

.certs-carousel-close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
  line-height: 1;
}

.certs-carousel-close:hover {
  transform: scale(1.05);
}

.certs-carousel-close:active {
  transform: scale(0.95);
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.certs-carousel-container::-webkit-scrollbar {
  width: 8px;
}

.certs-carousel-container::-webkit-scrollbar-track {
  border-radius: 10px;
}

.certs-carousel-container::-webkit-scrollbar-thumb {
  border-radius: 10px;
}

/* ====== Metrics css ======*/
/* ====== Metrics Structure ====== */
.metrics {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100vw;
  height: auto;
  z-index: 10000;
  backdrop-filter: blur(10px);
  padding: 15px 60px 15px 3px;
  box-sizing: border-box;
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow: visible;
}

.metrics.visible {
  left: 0;
}

/* Toggle Button Structure */
.metrics-toggle {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 12px 8px;
  border: none;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  opacity: 0.8;
  z-index: 9999;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
  text-transform: uppercase;
}

.metrics-toggle:hover {
  transform: translateY(-50%) translateX(5px);
  opacity: 1;
}

.metrics.visible ~ .metrics-toggle {
  opacity: 0;
  pointer-events: none;
}

/* Metrics Section Structure */
.metrics section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 0;
}

/* Metrics Text Items Structure */
.metrics .current-page {
  position: relative;
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
  padding: 2px 0;
  overflow: hidden;
  opacity: 0;
  background: transparent;
  font-style: italic;
  font-family: "Courier New", monospace;
  width: fit-content;
  max-width: 100%;
}

.metrics .current-page.revealed {
  opacity: 1;
}

/* Pseudo-element Structure */
.metrics .current-page::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.metrics .current-page.revealing::before {
  transform: scaleX(0);
}

/* Close Button Structure */
.metrics-close {
  position: absolute;
  top: 10px;
  right: 30px;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
  z-index: 1;
  font-weight: bold;
}

.metrics-close:hover {
  transform: scale(1.1);
}

/* ============================================
   RESPONSIVE BREAKPOINTS - Structure Only
   ============================================ */

@media (min-width: 300px) {
  .navbar {
    border-radius: unset;
  }
}

@media (min-width: 450px) {
  .project-img {
    height: auto;
  }
}

@media (min-width: 580px) {
  .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 {
    margin-top: 60px;
    margin-bottom: 100px;
  }

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

  .sidebar.active {
    max-height: max-content;
  }

  .sidebar-info {
    gap: 25px;
  }

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

  .avatar-box img {
    width: 120px;
    border-radius: 0.5rem;
  }

  .info-content .name {
    margin-bottom: 15px;
    text-transform: uppercase;
    opacity: 0.95;
  }

  .info-content .title {
    padding: 5px 18px;
    text-transform: uppercase;
    opacity: 0.9;
  }

  .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,
  .study-info {
    max-width: calc(100% - 64px);
    width: calc(100% - 64px);
  }

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

  .navbar-list {
    gap: 20px;
  }

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

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

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

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

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

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

  .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 {
    border-radius: 20px;
  }

  .testimonials-avatar-box img {
    width: 80px;
    border-radius: 0.5rem;
  }

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

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

  .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;
  }

  .project-img img {
    height: 194px;
  }

  .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;
  }

  .project-img {
    border-radius: 16px;
  }

  .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;
  }

  .project-item {
    min-width: 259px;
    min-height: 194px;
    perspective: 1000px;
    perspective-origin: center center;
  }

  .pop-effect {
    position: relative;
    z-index: 10;
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
      box-shadow 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform, box-shadow;
  }
}

@media (min-width: 768px) {
  .sidebar,
  article {
    width: 700px;
  }

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

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

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

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

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

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

  .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 {
    font-size: var(--fs-5);
    transition: var(--transition-smooth);
    padding: 8px 16px;
    border-radius: 8px;
  }

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

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

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

@media (min-width: 1024px) {
  .sidebar,
  article {
    width: 950px;
  }

  .theme-switch {
    position: relative;
    bottom: 50%;
    transform: translateY(-5%);
    display: none;
    left: 0;
  }

  main {
    margin-bottom: 60px;
  }

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

  .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);
  }

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

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

  .testimonials-list {
    transition: all 0.3s ease !important;
  }

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

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

  .testimonials-item {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
      box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), z-index 0.3s ease;
    transform-origin: center center;
    position: relative;
    z-index: 1;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .testimonials-item:hover {
    z-index: 10;
    transform: translateY(-8px);
  }

  .testimonials-item .content-card {
    transition: inherit;
    transform-style: preserve-3d;
  }
}

@media (min-width: 1250px) {
  body::-webkit-scrollbar {
    width: 20px;
  }

  body::-webkit-scrollbar-thumb {
    border: 5px solid var(--smoky-black);
    border-radius: 20px;
  }

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

  .navbar {
    bottom: 0;
    left: 0;
    margin-bottom: 1rem;
    width: 100%;
    position: sticky;
    border-radius: 15px;
    top: 0;
    z-index: 1000;
  }

  .theme-switch {
    display: inline-block;
    position: fixed;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
  }

  .sidebar,
  article {
    width: auto;
  }

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

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

  .modal-img-wrapper .modal-avatar-box img {
    outline: 2px solid hsla(202, 61%, 64%, 0.4);
    outline-offset: 5px;
    backdrop-filter: blur(5px);
    transition: all ease;
  }

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

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

  .avatar-box img {
    width: 150px;
    border-radius: 0.3rem;
    padding: 0.25rem;
    transition: var(--transition-smooth);
    min-width: 150px;
    min-height: 150px;
  }

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

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

  .info_more-btn {
    display: none;
  }

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

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

  .submitted-date {
    font-weight: var(--fw-300);
    margin-bottom: 3px;
    border-radius: 0.3rem;
    max-width: max-content !important;
    padding: 3px 10px;
    opacity: 0.5;
  }

  .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 {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  .social-item .social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
  }

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

  .testimonials-item-title ion-icon {
    width: 30px;
    height: 30px;
    font-size: 20px;
    border-radius: 0.3rem;
  }
}

@media (max-width: 1200px) {
  .certs-carousel-container {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .certs-carousel-container {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    padding: 15px;
  }

  .certs-carousel-img-wrapper {
    padding-top: 80%;
  }

  .certs-carousel-close {
    top: 5px;
    right: 10px;
  }
}

@media (max-width: 480px) {
  .certs-carousel-container {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    padding: 10px;
  }

  .certs-carousel-close {
    font-size: 1.5rem;
    width: 35px;
    height: 35px;
  }
}
