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

/*-----------------------------------*\
  #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, 100%, 72%);
  --light-gray: hsl(0, 0%, 84%);
  --light-gray-70: hsla(0, 0%, 84%, 0.7);
  --bittersweet-shimmer: hsl(0, 43%, 51%);

  /**
   * ==========================================
   * TYPOGRAPHY SYSTEM
   * Based on 1.250 (Major Third) modular scale
   * Base: 16px
   * ==========================================
   */

  /* font-family */
  --ff-poppins: "Poppins", sans-serif;
  --ff-body: var(--ff-poppins);
  --ff-heading: var(--ff-poppins);

  /* 
   * Type Scale (Major Third - 1.250 ratio)
   * Each step: previous × 1.25
   * 
   * --fs-xs:   11px  (0.6875rem) - Small labels, captions
   * --fs-sm:   13px  (0.8125rem) - Secondary text, meta
   * --fs-base: 15px  (0.9375rem) - Body text (mobile base)
   * --fs-md:   16px  (1rem)      - Body text (desktop)
   * --fs-lg:   18px  (1.125rem)  - Large body, small headings
   * --fs-xl:   20px  (1.25rem)   - H4 equivalent
   * --fs-2xl:  24px  (1.5rem)    - H3 equivalent  
   * --fs-3xl:  28px  (1.75rem)   - H2 equivalent
   * --fs-4xl:  32px  (2rem)      - H1, page titles
   */

  /* font-size - legacy variables (kept for compatibility) */
  --fs-1: 24px;
  --fs-2: 18px;
  --fs-3: 17px;
  --fs-4: 16px;
  --fs-5: 15px;
  --fs-6: 14px;
  --fs-7: 13px;
  --fs-8: 11px;

  /* New unified type scale */
  --text-xs: 0.6875rem; /* 11px */
  --text-sm: 0.8125rem; /* 13px */
  --text-base: 0.9375rem; /* 15px */
  --text-md: 1rem; /* 16px */
  --text-lg: 1.125rem; /* 18px */
  --text-xl: 1.25rem; /* 20px */
  --text-2xl: 1.5rem; /* 24px */
  --text-3xl: 1.75rem; /* 28px */
  --text-4xl: 2rem; /* 32px */

  /* Line heights */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 1.75;

  /* Letter spacing */
  --tracking-tighter: -0.05em;
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;

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

  /**
   * 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;

  /**
   * Breakpoints (reference only - CSS can't use vars in media queries)
   * --bp-sm: 480px   - Large phones
   * --bp-md: 640px   - Small tablets
   * --bp-lg: 768px   - Tablets
   * --bp-xl: 1024px  - Desktop
   * --bp-2xl: 1280px - Large desktop
   */
}

/*-----------------------------------*\
  #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;
}

/* Default ion-icon sizing */
ion-icon {
  width: 1em;
  height: 1em;
  font-size: inherit;
}

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

/*-----------------------------------*\
  #UNIFIED TYPOGRAPHY SYSTEM
\*-----------------------------------*/

/* Base Typography Reset */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--ff-heading);
  color: var(--white-1);
  font-weight: var(--fw-600);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin: 0;
}

/* Heading Scale */
.h1 {
  font-size: var(--text-4xl);
  font-weight: var(--fw-700);
  letter-spacing: var(--tracking-tighter);
}

.h2 {
  font-size: var(--text-2xl);
  font-weight: var(--fw-600);
}

.h3 {
  font-size: var(--text-lg);
  font-weight: var(--fw-600);
}

.h4 {
  font-size: var(--text-md);
  font-weight: var(--fw-500);
}

.h5 {
  font-size: var(--text-sm);
  font-weight: var(--fw-500);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.h6 {
  font-size: var(--text-xs);
  font-weight: var(--fw-500);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}

/* Body Text */
.text-body {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--light-gray);
}

.text-body-sm {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--light-gray-70);
}

/* Labels & Captions */
.text-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-500);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--light-gray-70);
}

.text-caption {
  font-size: var(--text-xs);
  line-height: var(--leading-normal);
  color: var(--light-gray-70);
}

/* Accent Text */
.text-accent {
  color: var(--orange-yellow-crayola);
}

/* Legacy compatibility - keep old classes working */
.h2,
.h3,
.h4,
.h5 {
  text-transform: capitalize;
}

/* Article/Section Titles - Unified */
.article-title {
  position: relative;
  font-size: var(--text-2xl);
  font-weight: var(--fw-600);
  color: var(--white-1);
  padding-bottom: 10px;
  margin-bottom: 20px;
  letter-spacing: var(--tracking-tight);
}

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

/* Section Titles (h3 level) */
.section-title,
.service-title,
.testimonials-title,
.clients-title,
.skills-title,
.form-title {
  font-size: var(--text-lg);
  font-weight: var(--fw-600);
  color: var(--white-1);
  margin-bottom: 20px;
  text-transform: capitalize;
}

/* Card Titles (h4 level) */
.service-item-title,
.timeline-item-title,
.testimonials-item-title,
.blog-item-title,
.blog-card-title,
.card-title,
.project-title {
  font-size: var(--text-md);
  font-weight: var(--fw-500);
  color: var(--white-1);
  line-height: var(--leading-snug);
}

/* Meta/Label Text */
.blog-category,
.blog-card-category,
.project-type,
.card-badge,
.tech-tag,
.tech-chip,
.filter-btn,
.duration {
  font-size: var(--text-xs);
  font-weight: var(--fw-500);
  letter-spacing: var(--tracking-wide);
}

/* Body/Description Text */
.about-text p,
.service-item-text,
.timeline-text,
.testimonials-text p,
.blog-text,
.blog-card-excerpt,
.card-description,
.project-description {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--light-gray);
}

.has-scrollbar::-webkit-scrollbar {
  width: 5px; /* for vertical scrollbar */
  height: 8px; /* for horizontal scrollbar - more visible on mobile */
}

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

.main-content {
  width: 100%;
}

/*-----------------------------------*\
  #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;
}

.info-content .name {
  color: var(--white-2);
  font-size: var(--text-lg);
  font-weight: var(--fw-500);
  letter-spacing: var(--tracking-tight);
  margin-bottom: 10px;
}

.info-content .title {
  color: var(--white-1);
  background: var(--onyx);
  font-size: var(--text-xs);
  font-weight: var(--fw-300);
  width: 100%;
  padding: 3px 12px;
  border-radius: 8px;
  text-align: center;
}

.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(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: 2px;
}

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

.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(--text-xs);
  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(--text-base);
  font-weight: var(--fw-300);
  line-height: var(--leading-relaxed);
}

.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-icon-box ion-icon {
  font-size: 40px;
  color: var(--orange-yellow-crayola);
  --ionicon-stroke-width: 40px;
}

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

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

.service-item-text {
  color: var(--light-gray);
  font-size: var(--text-base);
  font-weight: var(--fw-300);
  line-height: var(--leading-relaxed);
}

/**
 * #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(--text-base);
  font-weight: var(--fw-300);
  line-height: var(--leading-relaxed);
  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;
  /* Make scrollbar more visible on mobile */
  scrollbar-width: thin;
  scrollbar-color: var(--orange-yellow-crayola) var(--onyx);
}

/* Scroll hint text for mobile */
.clients-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.clients-title::after {
  content: "← swipe →";
  font-size: var(--fs-8);
  font-weight: var(--fw-400);
  color: var(--light-gray-70);
  opacity: 0.7;
}

@media (min-width: 768px) {
  .clients-title::after {
    display: none;
  }
}

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

.clients-item img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: #242938;
  border-radius: 16px;
  padding: 30px;
  transition: var(--transition-1);
  box-sizing: border-box;
}

/* Brand-specific backgrounds - Official brand colors */
.clients-item[data-brand="openai"] img {
  background: linear-gradient(135deg, #10a37f 0%, #0d8a6b 100%);
}

.clients-item[data-brand="react"] img {
  background: linear-gradient(135deg, #20232a 0%, #282c34 100%);
}

.clients-item[data-brand="python"] img {
  background: linear-gradient(135deg, #3776ab 0%, #ffd43b 100%);
}

.clients-item[data-brand="nodejs"] img {
  background: linear-gradient(135deg, #1a1a1a 0%, #5fa04e 100%);
}

.clients-item[data-brand="postgresql"] img {
  background: linear-gradient(135deg, #336791 0%, #2a5577 100%);
}

.clients-item[data-brand="figma"] img {
  background: #2c2c2c;
}

.clients-item img:hover {
  animation: zoom 2s ease-in-out infinite alternate;
  filter: brightness(1.15);
}

@keyframes zoom {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

/*-----------------------------------*\
  #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(--text-base);
  margin-left: 45px;
}

.timeline-item {
  position: relative;
}

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

.timeline-item-title {
  font-size: var(--text-md);
  line-height: var(--leading-snug);
  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-size: var(--text-base);
  font-weight: var(--fw-300);
  line-height: var(--leading-relaxed);
}

.duration {
  display: inline;
}

/**
 * bullet color
 */

.timeline-text li::before {
  content: "\2022"; /* Unicode for bullet point */
  color: gold; /* Change bullet color to gold */
  font-weight: bold; /* If you want a bolder bullet */
  display: inline-block;
  width: 1em; /* Also works with 1em */
  margin-left: -1em; /* Adjust as needed */
}

.timeline-text li {
  list-style-type: none; /* Remove default bullets */
  padding-left: 1em; /* Add some padding to align text */
}

/**
 * experience image logo
 */

/* .timeline-item {
  position: relative;
  padding-left: 30px;
}

.timeline-item-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.company-logo {
  width: 48px;
  height: 48px;
  margin-right: 15px;
  overflow: hidden;
  border-radius: 8px; 
}

.company-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline-item-content {
  flex: 1;
} */

/**
 * 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(--text-sm);
  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
\*-----------------------------------*/

/* ==========================================
   MODERN FILTER CONTROLS
   Professional pill-style filter tabs
   ========================================== */

.filter-list {
  display: none;
}

/* Mobile Filter Dropdown */
.filter-select-box {
  position: relative;
  margin-bottom: 28px;
}

.filter-select {
  background: linear-gradient(
    145deg,
    hsla(240, 2%, 15%, 0.95) 0%,
    hsla(240, 2%, 12%, 0.98) 100%
  );
  color: var(--white-1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 14px 18px;
  border: 1px solid hsla(0, 0%, 30%, 0.5);
  border-radius: 14px;
  font-size: var(--fs-5);
  font-weight: var(--fw-500);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px hsla(0, 0%, 0%, 0.2);
}

.filter-select:hover {
  border-color: hsla(45, 100%, 72%, 0.3);
  box-shadow: 0 6px 16px hsla(0, 0%, 0%, 0.25);
}

.filter-select.active {
  border-color: var(--orange-yellow-crayola);
  box-shadow: 0 0 0 3px hsla(45, 100%, 72%, 0.1);
}

.filter-select .select-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: hsla(45, 100%, 72%, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.filter-select .select-icon ion-icon {
  color: var(--orange-yellow-crayola);
  font-size: 16px;
  transition: transform 0.3s ease;
}

.filter-select.active .select-icon {
  background: var(--orange-yellow-crayola);
}

.filter-select.active .select-icon ion-icon {
  color: var(--smoky-black);
  transform: rotate(180deg);
}

.select-list {
  background: linear-gradient(
    145deg,
    hsla(240, 2%, 16%, 0.98) 0%,
    hsla(240, 2%, 13%, 0.99) 100%
  );
  position: absolute;
  top: calc(100% + 8px);
  width: 100%;
  padding: 8px;
  border: 1px solid hsla(0, 0%, 30%, 0.6);
  border-radius: 14px;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 40px hsla(0, 0%, 0%, 0.4), 0 0 0 1px
    hsla(0, 0%, 100%, 0.03);
  backdrop-filter: blur(10px);
}

.filter-select.active + .select-list {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateY(0);
}

.select-item button {
  background: transparent;
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-400);
  text-transform: capitalize;
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  text-align: left;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.select-item button ion-icon {
  font-size: 18px;
  color: var(--light-gray-70);
  transition: all 0.2s ease;
}

.select-item button:hover {
  background: hsla(45, 100%, 72%, 0.08);
  color: var(--white-1);
}

.select-item button:hover ion-icon {
  color: var(--orange-yellow-crayola);
}

/* Legacy project-item support (kept for backwards compatibility) */
.project-item:not(.project-card) {
  display: none;
}

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

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

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

/* Legacy project-img styles (for old project-item format) */
.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 - PROFESSIONAL CARD DESIGN
\*-----------------------------------*/

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

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

/* ==========================================
   MODERN BLOG CARDS
   Glass-morphism cards with image overlays
   ========================================== */

.blog-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(
    145deg,
    hsla(240, 2%, 15%, 0.9) 0%,
    hsla(240, 2%, 11%, 0.95) 100%
  );
  border: 1px solid hsla(0, 0%, 25%, 0.5);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: blogCardFadeIn 0.5s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes blogCardFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blog-card:nth-child(1) {
  animation-delay: 0.05s;
}
.blog-card:nth-child(2) {
  animation-delay: 0.1s;
}
.blog-card:nth-child(3) {
  animation-delay: 0.15s;
}
.blog-card:nth-child(4) {
  animation-delay: 0.2s;
}
.blog-card:nth-child(5) {
  animation-delay: 0.25s;
}
.blog-card:nth-child(6) {
  animation-delay: 0.3s;
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: hsla(45, 100%, 72%, 0.3);
  box-shadow: 0 20px 40px hsla(0, 0%, 0%, 0.4), 0 0 60px
    hsla(45, 100%, 72%, 0.08);
}

.blog-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Card Image Section */
.blog-card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.08);
}

.blog-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 40%,
    hsla(240, 2%, 11%, 0.6) 80%,
    hsla(240, 2%, 11%, 0.9) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none; /* Prevent overlay from intercepting clicks */
}

.blog-card:hover .blog-card-overlay {
  opacity: 1;
}

/* Card Content Section */
.blog-card-content {
  padding: 20px;
}

/* Meta: Category & Date */
.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  gap: 12px;
}

.blog-card-category {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: var(--fw-600);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 6px 12px;
  border-radius: 20px;
  background: hsla(45, 100%, 72%, 0.12);
  border: 1px solid hsla(45, 100%, 72%, 0.25);
  color: var(--orange-yellow-crayola);
  transition: all 0.3s ease;
  cursor: pointer; /* Make it clear this is clickable for filtering */
  position: relative; /* Ensure proper stacking context */
  z-index: 1; /* Ensure tag is above other elements for proper click handling */
}

.blog-card:hover .blog-card-category {
  background: var(--orange-yellow-crayola);
  color: var(--smoky-black);
  border-color: var(--orange-yellow-crayola);
}

.blog-card-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-7);
  color: var(--light-gray-70);
}

.blog-card-date ion-icon {
  font-size: 14px;
  color: var(--light-gray-70);
}

/* Title */
.blog-card-title {
  font-size: var(--fs-3);
  font-weight: var(--fw-600);
  color: var(--white-1);
  line-height: 1.4;
  margin-bottom: 12px;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card:hover .blog-card-title {
  color: var(--orange-yellow-crayola);
}

/* Excerpt */
.blog-card-excerpt {
  font-size: var(--fs-6);
  color: var(--light-gray-70);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

/* Footer with Read More */
.blog-card-footer {
  padding-top: 16px;
  border-top: 1px solid hsla(0, 0%, 25%, 0.5);
}

.blog-card-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
  color: var(--light-gray);
  transition: all 0.3s ease;
}

.blog-card-read-more ion-icon {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-read-more {
  color: var(--orange-yellow-crayola);
}

.blog-card:hover .blog-card-read-more ion-icon {
  transform: translateX(4px);
}

/* Legacy support for old classes */
.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;
}

/* Ensure blog post content lists show bullets */
.post-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0.75rem 0;
}

.post-content ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin: 0.75rem 0;
}

.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);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

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

.blog-text {
  color: var(--light-gray);
  font-size: var(--text-base);
  font-weight: var(--fw-300);
  line-height: var(--leading-relaxed);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

/*-----------------------------------*\
  #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(--text-base);
  font-weight: var(--fw-400);
  padding: 13px 20px;
  border: 1px solid var(--jet);
  border-radius: 14px;
  outline: none;
}

/* Add this new style for the subject input */
.form-input[name="subject"] {
  margin-bottom: 30px;
}

.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 field error styles */
.form-input-error {
  border-color: var(--bittersweet-shimmer) !important;
}

.field-error {
  display: none;
  color: var(--bittersweet-shimmer);
  font-size: var(--fs-8);
  margin-top: 6px;
  margin-bottom: 10px;
  padding-left: 5px;
}

.form-hint {
  color: var(--light-gray-70);
  font-size: var(--fs-8);
  margin-top: -20px;
  margin-bottom: 20px;
  padding-left: 5px;
}

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

@media (min-width: 640px) {
  .input-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

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

/**
 * responsive larger than 480px screen
 */

@media (min-width: 480px) {
  /**
   * client
   */

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

  /**
   * #PORTFOLIO, BLOG
   */

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

/**
 * responsive larger than 640px screen
 */

@media (min-width: 640px) {
  /**
   * CUSTOM PROPERTY - TABLET TYPOGRAPHY
   */

  :root {
    /**
     * Unified typography scale - tablet
     */
    --text-xs: 0.75rem; /* 12px */
    --text-sm: 0.875rem; /* 14px */
    --text-base: 1rem; /* 16px */
    --text-md: 1.0625rem; /* 17px */
    --text-lg: 1.25rem; /* 20px */
    --text-xl: 1.5rem; /* 24px */
    --text-2xl: 1.75rem; /* 28px */
    --text-3xl: 2rem; /* 32px */
    --text-4xl: 2.5rem; /* 40px */

    /* Legacy variables for compatibility */
    --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-size: var(--text-3xl);
    font-weight: var(--fw-600);
    padding-bottom: 15px;
    margin-bottom: 25px;
  }

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

  /* Section titles scale up */
  .section-title,
  .service-title,
  .testimonials-title,
  .clients-title,
  .skills-title,
  .form-title,
  .h3 {
    font-size: var(--text-xl);
  }

  /* Card titles scale up */
  .service-item-title,
  .timeline-item-title,
  .h4 {
    font-size: var(--text-lg);
  }

  .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: 28px;
  }

  .blog-content {
    padding: 25px;
  }

  /* New blog card responsive */
  .blog-card-content {
    padding: 24px;
  }

  .blog-card-image {
    height: 220px;
  }

  .blog-card-title {
    font-size: var(--fs-2);
  }

  /**
   * #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) {
  /**
   * CUSTOM PROPERTY - DESKTOP SMALL TYPOGRAPHY
   */

  :root {
    /**
     * Unified typography scale - desktop small
     */
    --text-xs: 0.75rem; /* 12px */
    --text-sm: 0.875rem; /* 14px */
    --text-base: 1rem; /* 16px */
    --text-md: 1.125rem; /* 18px */
    --text-lg: 1.375rem; /* 22px */
    --text-xl: 1.625rem; /* 26px */
    --text-2xl: 2rem; /* 32px */
    --text-3xl: 2.25rem; /* 36px */
    --text-4xl: 2.75rem; /* 44px */
  }

  /**
   * REUSED STYLE
   */

  .sidebar,
  article {
    width: 700px;
  }

  /**
   * MAIN
   */

  .main-content {
    width: 100%;
    max-width: 700px;
    margin: auto;
  }

  .article-title {
    font-size: var(--text-3xl);
    letter-spacing: var(--tracking-tight);
  }

  /* Unified section headings */
  .section-title,
  .h3 {
    font-size: var(--text-xl);
    margin-bottom: 20px;
  }

  .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 - DESKTOP TYPOGRAPHY
   */

  :root {
    /**
     * Unified typography scale - desktop
     */
    --text-xs: 0.75rem; /* 12px */
    --text-sm: 0.875rem; /* 14px */
    --text-base: 1rem; /* 16px */
    --text-md: 1.125rem; /* 18px */
    --text-lg: 1.5rem; /* 24px */
    --text-xl: 1.75rem; /* 28px */
    --text-2xl: 2.25rem; /* 36px */
    --text-3xl: 2.5rem; /* 40px */
    --text-4xl: 3rem; /* 48px */

    /**
     * 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);
  }

  /* Unified section headings at desktop */
  .article-title {
    font-size: var(--text-3xl);
    letter-spacing: var(--tracking-tight);
  }

  .section-title,
  .h3 {
    font-size: var(--text-2xl);
    margin-bottom: 25px;
  }

  /**
   * REUSED STYLE
   */

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

  /**
   * MAIN
   */

  main {
    margin-bottom: 60px;
  }

  .main-content {
    position: relative;
    width: 100%;
    max-width: 950px;
    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;
  }

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

  .blog-card-image {
    height: 200px;
  }
}

/**
 * responsive larger than 1280px screen
 */

@media (min-width: 1280px) {
  /**
   * CUSTOM PROPERTY - LARGE DESKTOP TYPOGRAPHY
   */

  :root {
    /**
     * Unified typography scale - large desktop
     */
    --text-xs: 0.75rem; /* 12px */
    --text-sm: 0.875rem; /* 14px */
    --text-base: 1rem; /* 16px */
    --text-md: 1.125rem; /* 18px */
    --text-lg: 1.5rem; /* 24px */
    --text-xl: 1.875rem; /* 30px */
    --text-2xl: 2.5rem; /* 40px */
    --text-3xl: 3rem; /* 48px */
    --text-4xl: 3.5rem; /* 56px */
  }

  /**
   * 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;
  }

  /**
   * active status blink
   */

  .active-status {
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background-color: #39ff14;
    animation: 1.5s pulse infinite ease-in-out;
    position: absolute;
    bottom: 111px;
    right: 35px;
  }

  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 #39ff14;
    }

    100% {
      box-shadow: 0 0 0 14px #69ffa800;
    }
  }
}

/**
 * Toast - Top centered notification
 */

.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-150%);
  max-width: 400px;
  width: calc(100% - 40px);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 10000;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  box-sizing: border-box;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.toast.success {
  background: linear-gradient(135deg, #00b09b, #96c93d);
  box-shadow: 0 4px 20px rgba(0, 176, 155, 0.4);
}

.toast.error {
  background: linear-gradient(135deg, #eb3349, #f45c43);
  box-shadow: 0 4px 20px rgba(235, 51, 73, 0.4);
}

.toast__content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.toast__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast__icon svg {
  width: 22px;
  height: 22px;
}

.toast__icon path {
  fill: #fff;
}

.toast__title {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  color: #fff;
  word-break: break-word;
}

.toast__close {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.toast__close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.toast__close svg {
  width: 14px;
  height: 14px;
}

.toast__close path {
  fill: #fff;
}

/* Tablet adjustments */
@media (max-width: 768px) {
  .toast {
    top: 16px;
    max-width: 360px;
    padding: 12px 14px;
  }
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .toast {
    top: 12px;
    width: calc(100% - 24px);
    max-width: none;
    padding: 12px;
    gap: 10px;
  }

  .toast__content {
    gap: 10px;
  }

  .toast__icon {
    width: 20px;
    height: 20px;
  }

  .toast__icon svg {
    width: 20px;
    height: 20px;
  }

  .toast__title {
    font-size: 13px;
  }

  .toast__close {
    width: 22px;
    height: 22px;
  }

  .toast__close svg {
    width: 12px;
    height: 12px;
  }
}

/*-----------------------------------*\
  #BLOG CONTROLS - MODERN DESIGN
\*-----------------------------------*/

.blog-controls {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.search-wrapper {
  position: relative;
  flex: 1;
  min-width: 280px;
}

.search-wrapper ion-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--light-gray-70);
  pointer-events: none;
  transition: color 0.3s ease;
}

.blog-search-input {
  width: 100%;
  height: 52px;
  padding: 0 18px 0 50px;
  background: linear-gradient(
    145deg,
    hsla(240, 2%, 15%, 0.9) 0%,
    hsla(240, 2%, 12%, 0.95) 100%
  );
  border: 1px solid hsla(0, 0%, 28%, 0.5);
  border-radius: 14px;
  color: var(--white-1);
  font-size: var(--fs-6);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px hsla(0, 0%, 0%, 0.15);
}

.blog-search-input::placeholder {
  color: var(--light-gray-70);
}

.blog-search-input:focus {
  border-color: var(--orange-yellow-crayola);
  outline: none;
  box-shadow: 0 0 0 3px hsla(45, 100%, 72%, 0.1);
}

.blog-search-input:focus + ion-icon,
.search-wrapper:focus-within ion-icon {
  color: var(--orange-yellow-crayola);
}

.sort-wrapper {
  position: relative;
  min-width: 200px;
}

.blog-sort-select {
  width: 100%;
  height: 52px;
  padding: 0 44px 0 18px;
  background: linear-gradient(
    145deg,
    hsla(240, 2%, 15%, 0.9) 0%,
    hsla(240, 2%, 12%, 0.95) 100%
  );
  border: 1px solid hsla(0, 0%, 28%, 0.5);
  border-radius: 14px;
  color: var(--white-1);
  font-size: var(--fs-6);
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='%23d6d6d6'%3E%3Cpath d='M5 7l5 5 5-5H5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  box-shadow: 0 4px 12px hsla(0, 0%, 0%, 0.15);
}

.blog-sort-select:hover,
.blog-sort-select:focus {
  border-color: var(--orange-yellow-crayola);
  outline: none;
  box-shadow: 0 0 0 3px hsla(45, 100%, 72%, 0.1);
}

.blog-sort-select option {
  background: var(--eerie-black-2);
  color: var(--white-2);
}

/*-----------------------------------*\
  #BLOG PAGINATION - MODERN DESIGN
\*-----------------------------------*/

.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid hsla(0, 0%, 25%, 0.5);
}

.pagination-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(
    145deg,
    hsla(240, 2%, 15%, 0.9) 0%,
    hsla(240, 2%, 12%, 0.95) 100%
  );
  border: 1px solid hsla(0, 0%, 28%, 0.5);
  border-radius: 12px;
  color: var(--white-2);
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px hsla(0, 0%, 0%, 0.15);
}

.pagination-btn:hover:not(:disabled) {
  border-color: var(--orange-yellow-crayola);
  color: var(--orange-yellow-crayola);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px hsla(0, 0%, 0%, 0.25);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination-btn ion-icon {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.pagination-btn.prev:hover:not(:disabled) ion-icon {
  transform: translateX(-3px);
}

.pagination-btn.next:hover:not(:disabled) ion-icon {
  transform: translateX(3px);
}

.pagination-info {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  min-width: 100px;
  text-align: center;
  padding: 10px 20px;
  background: hsla(0, 0%, 15%, 0.5);
  border-radius: 8px;
}

/* Responsive Blog Controls */
@media (max-width: 768px) {
  .blog-controls {
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
  }

  .search-wrapper {
    width: 100%;
    min-width: 100%;
  }

  .sort-wrapper {
    width: 100%;
    min-width: 100%;
  }

  .blog-pagination {
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
  }

  .pagination-btn {
    padding: 12px 18px;
    font-size: var(--fs-7);
  }

  .pagination-info {
    font-size: var(--fs-7);
    min-width: 90px;
    padding: 8px 16px;
  }

  .blog-card-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .blog-controls {
    margin-bottom: 24px;
  }

  .blog-search-input,
  .blog-sort-select {
    height: 48px;
    font-size: var(--fs-7);
  }

  .search-wrapper ion-icon {
    font-size: 18px;
    left: 16px;
  }

  .blog-search-input {
    padding-left: 46px;
  }

  .pagination-btn {
    padding: 10px 14px;
    gap: 6px;
  }

  .pagination-btn span {
    display: none;
  }

  .pagination-btn ion-icon {
    font-size: 20px;
  }

  .pagination-info {
    min-width: 60px;
    font-size: 12px;
  }
}

/*-----------------------------------*\
  #RECAPTCHA NOTICE
\*-----------------------------------*/

.recaptcha-notice {
  margin-top: 16px;
  font-size: 11px;
  color: var(--light-gray-70);
  line-height: 1.4;
}

.recaptcha-notice a {
  color: var(--orange-yellow-crayola);
  text-decoration: none;
}

.recaptcha-notice a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .recaptcha-notice {
    font-size: 10px;
    line-height: 1.5;
  }
}

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

/* Floating Button */
.contact-hub-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--orange-yellow-crayola) 0%,
    var(--vegas-gold) 100%
  );
  color: var(--smoky-black);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 186, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1000;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.contact-hub-button svg {
  width: 28px;
  height: 28px;
  pointer-events: none;
}

.contact-hub-button:hover {
  transform: translateY(-4px) scale(1.08) translateZ(0);
  box-shadow: 0 8px 30px rgba(255, 186, 0, 0.6);
}

.contact-hub-button:active {
  transform: translateY(-2px) scale(1.02) translateZ(0);
}

/* Pulse animation */
@keyframes hub-pulse {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(255, 186, 0, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(255, 186, 0, 0.4), 0 0 0 10px
      rgba(255, 186, 0, 0.2), 0 0 0 20px rgba(255, 186, 0, 0.1);
  }
}

.contact-hub-button {
  animation: hub-pulse 2.5s ease-in-out infinite;
}

.contact-hub-button:hover {
  animation: none;
}

/* Modal Overlay */
.contact-hub-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.contact-hub-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Container */
.contact-hub-modal {
  background: var(--eerie-black-1);
  border: 1px solid var(--jet);
  border-radius: 20px;
  padding: 40px 30px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}

.contact-hub-overlay.active .contact-hub-modal {
  transform: scale(1) translateY(0);
}

/* Close Button */
.contact-hub-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: var(--jet);
  border: none;
  border-radius: 50%;
  color: var(--white-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-1);
  font-size: 24px;
}

.contact-hub-close:hover {
  background: var(--orange-yellow-crayola);
  color: var(--smoky-black);
  transform: rotate(90deg);
}

/* Header */
.contact-hub-header {
  text-align: center;
  margin-bottom: 30px;
}

.contact-hub-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 16px;
  border: 3px solid var(--orange-yellow-crayola);
}

.contact-hub-header h3 {
  color: var(--white-1);
  font-size: var(--fs-2);
  margin-bottom: 8px;
}

.contact-hub-header p {
  color: var(--light-gray-70);
  font-size: var(--fs-6);
}

/* Links Container */
.contact-hub-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Individual Link */
.contact-hub-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-gradient-jet);
  border: 1px solid var(--jet);
  border-radius: 14px;
  color: var(--white-2);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-hub-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: currentColor;
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.contact-hub-link:hover::before {
  transform: scaleY(1);
}

.contact-hub-link svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.contact-hub-link span {
  font-size: var(--fs-5);
  font-weight: var(--fw-500);
}

.contact-hub-link:hover {
  background: var(--bg-gradient-onyx);
  border-color: currentColor;
  transform: translateX(4px);
}

/* Platform-specific colors */
.contact-hub-link.whatsapp {
  color: #25d366;
}
.contact-hub-link.messenger {
  color: #00b2ff;
}
.contact-hub-link.email {
  color: #ea4335;
}
.contact-hub-link.linkedin {
  color: #0a66c2;
}
.contact-hub-link.github {
  color: #ffffff;
}
.contact-hub-link.twitter {
  color: #1da1f2;
}
.contact-hub-link.instagram {
  color: #e4405f;
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
}
.contact-hub-link.phone {
  color: var(--orange-yellow-crayola);
}

/* Scrollbar for modal */
.contact-hub-modal::-webkit-scrollbar {
  width: 8px;
}

.contact-hub-modal::-webkit-scrollbar-track {
  background: var(--jet);
  border-radius: 10px;
}

.contact-hub-modal::-webkit-scrollbar-thumb {
  background: var(--orange-yellow-crayola);
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 1023px) {
  .contact-hub-button {
    bottom: 80px;
  }
}

@media (max-width: 768px) {
  .contact-hub-button {
    right: 16px;
    width: 56px;
    height: 56px;
  }

  .contact-hub-button svg {
    width: 26px;
    height: 26px;
  }

  .contact-hub-modal {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .contact-hub-button {
    right: 12px;
    width: 52px;
    height: 52px;
  }

  .contact-hub-button svg {
    width: 24px;
    height: 24px;
  }

  .contact-hub-modal {
    padding: 24px 16px;
    border-radius: 16px;
  }

  .contact-hub-close {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }

  .contact-hub-avatar {
    width: 70px;
    height: 70px;
  }

  .contact-hub-header h3 {
    font-size: var(--fs-3);
  }

  .contact-hub-link {
    padding: 14px 16px;
    gap: 12px;
  }

  .contact-hub-link svg {
    width: 22px;
    height: 22px;
  }

  .contact-hub-link span {
    font-size: var(--fs-6);
  }
}

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

.portfolio-intro {
  margin-bottom: 25px;
}

.portfolio-intro p {
  color: var(--light-gray);
  font-size: var(--fs-6);
  line-height: 1.7;
}

/* ==========================================
   DESKTOP FILTER TABS
   Modern segmented control design
   ========================================== */

.filter-list {
  display: none;
  justify-content: flex-start;
  align-items: center;
  gap: 4px;
  padding: 6px;
  margin-bottom: 32px;
  background: linear-gradient(
    145deg,
    hsla(240, 2%, 15%, 0.9) 0%,
    hsla(240, 2%, 12%, 0.95) 100%
  );
  border-radius: 16px;
  border: 1px solid hsla(0, 0%, 28%, 0.5);
  width: fit-content;
  box-shadow: 0 4px 16px hsla(0, 0%, 0%, 0.2), inset 0 1px 0
    hsla(0, 0%, 100%, 0.02);
  position: relative;
  overflow: hidden;
}

/* Subtle animated background glow */
.filter-list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    hsla(0, 0%, 100%, 0.08) 50%,
    transparent 100%
  );
}

.filter-btn {
  color: var(--light-gray);
  font-size: var(--fs-6);
  padding: 12px 22px;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: var(--fw-500);
  position: relative;
  white-space: nowrap;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.filter-btn ion-icon {
  font-size: 16px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.filter-btn:hover ion-icon {
  opacity: 1;
  transform: scale(1.1);
}

.filter-btn.active ion-icon {
  opacity: 1;
  color: var(--smoky-black);
}

/* Hover indicator dot */
.filter-btn::before {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange-yellow-crayola);
  transition: transform 0.2s ease;
}

.filter-btn:hover {
  color: var(--white-1);
}

.filter-btn:hover::before {
  transform: translateX(-50%) scale(1);
}

.filter-btn:active {
  transform: scale(0.98);
}

/* Active State - Golden highlight */
.filter-btn.active {
  color: var(--smoky-black);
  background: linear-gradient(
    135deg,
    var(--orange-yellow-crayola) 0%,
    hsl(38, 100%, 68%) 100%
  );
  font-weight: var(--fw-600);
  box-shadow: 0 4px 12px hsla(45, 100%, 50%, 0.3), 0 1px 2px
    hsla(45, 100%, 50%, 0.2);
  letter-spacing: 0.01em;
}

.filter-btn.active span {
  color: var(--smoky-black);
}

.filter-btn.active::before {
  display: none;
}

.filter-btn.active:hover {
  box-shadow: 0 6px 16px hsla(45, 100%, 50%, 0.4), 0 2px 4px
    hsla(45, 100%, 50%, 0.2);
  transform: translateY(-1px);
}

/* ==========================================
   PROFESSIONAL PORTFOLIO CARDS
   Modern glass-morphism cards with gradients
   ========================================== */

.project-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* Base Card Styles */
.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    145deg,
    hsla(240, 2%, 15%, 0.9) 0%,
    hsla(240, 2%, 11%, 0.95) 100%
  );
  border-radius: 20px;
  border: 1px solid hsla(0, 0%, 25%, 0.5);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: cardFadeIn 0.5s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes cardFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-card:nth-child(1) {
  animation-delay: 0.05s;
}
.project-card:nth-child(2) {
  animation-delay: 0.1s;
}
.project-card:nth-child(3) {
  animation-delay: 0.15s;
}
.project-card:nth-child(4) {
  animation-delay: 0.2s;
}
.project-card:nth-child(5) {
  animation-delay: 0.25s;
}
.project-card:nth-child(6) {
  animation-delay: 0.3s;
}

/* Card Glow Effect */
.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    hsla(45, 100%, 72%, 0.4) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card:hover .card-glow {
  opacity: 1;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: hsla(45, 100%, 72%, 0.3);
  box-shadow: 0 20px 40px hsla(0, 0%, 0%, 0.4), 0 0 60px
    hsla(45, 100%, 72%, 0.08);
}

/* Featured Card Styling */
.project-card.featured {
  border-color: hsla(45, 100%, 72%, 0.2);
}

.project-card.featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    hsla(45, 100%, 72%, 0.05) 0%,
    transparent 40%
  );
  pointer-events: none;
}

/* Card Header */
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 0;
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    hsla(45, 100%, 72%, 0.15) 0%,
    hsla(45, 100%, 72%, 0.05) 100%
  );
  border-radius: 14px;
  border: 1px solid hsla(45, 100%, 72%, 0.2);
  transition: all 0.3s ease;
}

.card-icon ion-icon {
  font-size: 22px;
  color: var(--orange-yellow-crayola);
  transition: transform 0.3s ease;
}

.project-card:hover .card-icon {
  background: var(--orange-yellow-crayola);
  border-color: var(--orange-yellow-crayola);
  transform: scale(1.05);
}

.project-card:hover .card-icon ion-icon {
  color: var(--smoky-black);
  transform: rotate(-5deg);
}

.card-badge {
  font-size: 10px;
  font-weight: var(--fw-600);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 6px 12px;
  border-radius: 20px;
  background: hsla(0, 0%, 100%, 0.05);
  border: 1px solid hsla(0, 0%, 100%, 0.1);
  color: var(--light-gray);
  transition: all 0.3s ease;
}

.project-card:hover .card-badge {
  background: hsla(45, 100%, 72%, 0.1);
  border-color: hsla(45, 100%, 72%, 0.3);
  color: var(--orange-yellow-crayola);
}

/* Card Body */
.card-body {
  padding: 20px;
  flex: 1;
}

.card-title {
  font-size: var(--fs-3);
  font-weight: var(--fw-600);
  color: var(--white-1);
  margin-bottom: 10px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.project-card:hover .card-title {
  color: var(--orange-yellow-crayola);
}

.card-description {
  font-size: var(--fs-6);
  color: var(--light-gray-70);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Tech Chips */
.card-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 20px 16px;
}

.tech-chip {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: var(--fw-500);
  padding: 6px 12px;
  border-radius: 6px;
  background: hsla(0, 0%, 22%, 0.8);
  color: var(--light-gray);
  border: 1px solid hsla(0, 0%, 30%, 0.5);
  transition: all 0.25s ease;
}

.project-card:hover .tech-chip {
  background: hsla(45, 100%, 72%, 0.08);
  border-color: hsla(45, 100%, 72%, 0.2);
}

/* Card Footer / Action Buttons */
.card-footer {
  display: flex;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid hsla(0, 0%, 25%, 0.5);
  background: hsla(0, 0%, 0%, 0.25);
  margin-top: auto;
}

.card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid transparent;
}

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

.card-btn span {
  display: inline;
}

/* Secondary Button (GitHub) */
.card-btn-secondary {
  background: hsla(0, 0%, 22%, 0.8);
  color: var(--light-gray);
  border-color: hsla(0, 0%, 30%, 0.6);
}

.card-btn-secondary:hover {
  background: hsla(0, 0%, 28%, 0.9);
  color: var(--white-1);
  border-color: hsla(0, 0%, 40%, 0.8);
  transform: translateY(-2px);
}

/* Primary Button (Demo) */
.card-btn-primary {
  background: linear-gradient(
    135deg,
    var(--orange-yellow-crayola) 0%,
    hsl(35, 100%, 65%) 100%
  );
  color: var(--smoky-black);
  font-weight: var(--fw-600);
  box-shadow: 0 4px 12px hsla(45, 100%, 50%, 0.2);
}

.card-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px hsla(45, 100%, 50%, 0.35);
  filter: brightness(1.1);
}

/* Locked/Private Button */
.card-btn-locked {
  background: hsla(0, 0%, 18%, 0.6);
  color: var(--light-gray-70);
  border-color: hsla(0, 0%, 25%, 0.5);
  cursor: not-allowed;
  opacity: 0.7;
}

/* Legacy support for old classes */
.project-item {
  display: none;
}

.project-item.active {
  display: block;
}

/* Portfolio CTA Section */
.portfolio-cta {
  margin-top: 35px;
  padding: 30px;
  background: var(--eerie-black-2);
  border: 1px solid var(--jet);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.cta-content h3 {
  margin-bottom: 8px;
  color: var(--white-1);
}

.cta-content p {
  color: var(--light-gray);
  font-size: var(--fs-6);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange-yellow-crayola);
  color: var(--smoky-black);
  font-size: var(--fs-6);
  font-weight: var(--fw-600);
  padding: 14px 28px;
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px hsla(45, 100%, 72%, 0.3);
}

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

/* Responsive - Portfolio */
@media (min-width: 640px) {
  .project-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-cta {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  /* Featured card spans full width on tablet */
  .project-card.featured {
    grid-column: span 1;
  }
}

@media (min-width: 768px) {
  .filter-list {
    display: flex;
  }

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

  .card-description {
    -webkit-line-clamp: 4;
  }

  /* Enhanced filter tabs on tablet+ */
  .filter-btn {
    padding: 14px 26px;
    font-size: var(--fs-5);
  }
}

@media (min-width: 1024px) {
  .project-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  /* Larger filter tabs on desktop */
  .filter-list {
    padding: 8px;
    border-radius: 18px;
    gap: 6px;
  }

  .filter-btn {
    padding: 14px 28px;
    border-radius: 12px;
  }

  .card-header {
    padding: 24px 24px 0;
  }

  .card-body {
    padding: 24px;
  }

  .card-tech {
    padding: 0 24px 20px;
  }

  .card-footer {
    padding: 18px 24px;
  }

  .card-icon {
    width: 52px;
    height: 52px;
  }

  .card-icon ion-icon {
    font-size: 24px;
  }

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

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

/**
 * Reduced motion for users who prefer less animation
 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .contact-hub-button {
    animation: none;
  }

  .project-card {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
