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


/**
 * copyright 2022 @codewithsadee
 */





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

:root {

  /**
   * colors
   */

  /* gradient */

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

  /* solid */

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

  /* Personal Brand Colors */
  --gold-accent: hsl(45, 86%, 65%);
  --gold-light: hsl(45, 86%, 75%);
  --gold-dark: hsl(45, 86%, 55%);
  --gold-gradient: linear-gradient(135deg, hsl(45, 86%, 65%), hsl(45, 86%, 75%));
  --gold-gradient-dark: linear-gradient(135deg, hsl(45, 86%, 55%), hsl(45, 86%, 65%));

  /**
   * typography
   */

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

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

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

  /**
   * shadow
   */

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

  /**
   * transition
   */

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

}





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

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

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  word-wrap: break-word;
}

a { text-decoration: none; }

li { list-style: none; }

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

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

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

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

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

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

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





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

.sidebar,
article {
  background: var(--eerie-black-2);
  border: 1px solid var(--jet);
  border-radius: 20px;
  padding: 15px;
  box-shadow: var(--shadow-1);
  z-index: 1;
  max-width: 100%;
  overflow-wrap: break-word;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

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

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

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

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

article { display: none; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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





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

main {
  margin: 15px auto;
  margin-bottom: 75px;
  min-width: 0;
  width: calc(100% - 24px);
  max-width: 100vw;
  overflow-x: hidden;
  padding-left: 12px;
  padding-right: 12px;
  box-sizing: border-box;
}





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

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

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

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

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

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

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

.hero-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 15px 0;
  padding: 0;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 60px;
  max-width: 80px;
}

.stat-number {
  font-size: var(--fs-5);
  font-weight: var(--fw-600);
  color: var(--gold-accent);
  line-height: 1.2;
  margin-bottom: 2px;
  word-wrap: break-word;
}

.stat-label {
  font-size: var(--fs-8);
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

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

.sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.sidebar-resume-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--gold-gradient);
  color: var(--smoky-black);
  border-radius: 12px;
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  text-decoration: none;
  transition: var(--transition-1);
  box-shadow: var(--shadow-2);
  border: 1px solid var(--gold-accent);
}

.sidebar-resume-btn:hover {
  background: var(--gold-gradient-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-3);
}

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

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

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

.contact-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

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

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

.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%;
  max-width: 100vw;
  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;
  overflow-x: auto;
}

.navbar-list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  min-width: max-content;
  overflow-x: auto;
}

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

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

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





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

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

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

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


/*-----------------------------------*\
  #HERO SECTION
\*-----------------------------------*/

.hero-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 50px;
  padding: 20px;
  background: var(--border-gradient-onyx);
  border-radius: 20px;
  box-shadow: var(--shadow-2);
  position: relative;
  z-index: 1;
  min-height: auto;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  font-size: var(--fs-3);
  font-weight: var(--fw-500);
  color: var(--white-2);
  margin-bottom: 20px;
  line-height: 1.3;
  max-width: 100%;
  word-wrap: break-word;
  hyphens: auto;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 8px;
  background: var(--eerie-black-1);
  border-radius: 12px;
  border: 1px solid var(--jet);
  min-width: 0;
}

.metric-number {
  font-size: var(--fs-3);
  font-weight: var(--fw-600);
  color: var(--gold-accent);
  margin-bottom: 5px;
  word-wrap: break-word;
}

.metric-label {
  font-size: var(--fs-8);
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  word-wrap: break-word;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  text-decoration: none;
  transition: all var(--transition-1);
  border: 1px solid transparent;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  justify-content: center;
  box-sizing: border-box;
}

/* MOBILE: Hide text and show icons only - PRIORITY RULE */
@media (max-width: 767px) {
  .hero-cta .cta-button .cta-text {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .hero-cta .cta-button {
    padding: 14px !important;
    gap: 0 !important;
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    flex: none !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: hidden !important;
  }
  
  .hero-cta .cta-button ion-icon {
    font-size: 22px !important;
    display: block !important;
    margin: 0 !important;
  }
  
  .hero-cta {
    justify-content: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
  }
}

.cta-button.primary {
  background: var(--gold-gradient);
  color: var(--smoky-black);
  border-color: var(--gold-accent);
}

.cta-button.primary:hover {
  background: var(--gold-gradient-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-3);
}

.cta-button.secondary {
  background: transparent;
  color: var(--white-2);
  border-color: var(--jet);
}

.cta-button.secondary:hover {
  background: var(--eerie-black-1);
  border-color: var(--gold-accent);
  color: var(--gold-accent);
}

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

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-container {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-3);
}

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



.hero-image-container:hover .hero-photo {
  transform: scale(1.05);
}



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

.about-section {
  margin-bottom: 50px;
}

.section-title {
  font-size: var(--fs-1);
  font-weight: var(--fw-600);
  color: var(--white-2);
  margin-bottom: 20px;
  text-align: center;
}

.about-lead {
  font-size: var(--fs-3);
  font-weight: var(--fw-500);
  color: var(--white-1);
  text-align: center;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
}

.about-content {
  background: var(--border-gradient-onyx);
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-2);
  position: relative;
  z-index: 1;
}

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

.achievement-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.achievement-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  padding: 12px;
  background: var(--eerie-black-1);
  border-radius: 12px;
  border: 1px solid var(--jet);
  transition: var(--transition-1);
}

.achievement-item:hover {
  border-color: var(--gold-accent);
  background: var(--eerie-black-2);
}

.achievement-item:last-child {
  margin-bottom: 0;
}

.achievement-item ion-icon {
  font-size: 24px;
  color: var(--gold-accent);
  margin-top: 2px;
  flex-shrink: 0;
}

.achievement-item span {
  color: var(--light-gray);
  font-size: var(--fs-6);
  line-height: 1.5;
  word-wrap: break-word;
  flex: 1;
  min-width: 0;
}

.achievement-item strong {
  color: var(--white-2);
  font-weight: var(--fw-500);
}

.tech-stack {
  background: var(--border-gradient-onyx);
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-2);
  position: relative;
  z-index: 1;
}

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

.tech-title {
  font-size: var(--fs-4);
  font-weight: var(--fw-600);
  color: var(--white-2);
  margin-bottom: 20px;
  text-align: center;
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--eerie-black-1);
  border-radius: 10px;
  border: 1px solid var(--jet);
  transition: var(--transition-1);
  min-width: 0;
}

.tech-item:hover {
  border-color: var(--gold-accent);
  background: var(--eerie-black-2);
}

.tech-icon {
  font-size: 20px;
  width: 35px;
  text-align: center;
}

.tech-name {
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  color: var(--white-2);
  margin-bottom: 2px;
}

.tech-details {
  font-size: var(--fs-7);
  color: var(--light-gray);
  font-weight: var(--fw-300);
  word-wrap: break-word;
  overflow-wrap: break-word;
}



/*-----------------------------------*\
  #HIGHLIGHTS SECTION
\*-----------------------------------*/

.highlights-section {
  margin-bottom: 50px;
}

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

.highlight-card {
  background: var(--border-gradient-onyx);
  padding: 25px;
  border-radius: 16px;
  box-shadow: var(--shadow-2);
  position: relative;
  z-index: 1;
  transition: var(--transition-1);
}

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

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-3);
}

.highlight-icon {
  width: 50px;
  height: 50px;
  background: var(--gold-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.highlight-icon ion-icon {
  font-size: 24px;
  color: var(--smoky-black);
}

.highlight-title {
  font-size: var(--fs-4);
  font-weight: var(--fw-600);
  color: var(--white-2);
  margin-bottom: 10px;
}

.highlight-description {
  color: var(--light-gray);
  font-size: var(--fs-6);
  line-height: 1.5;
}



/**
 * #service 
 */

.service { margin-bottom: 35px; }

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

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

.service-item {
  position: relative;
  background: var(--border-gradient-onyx);
  padding: 18px;
  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 {
  margin: auto;
  font-size: 40px;
  color: var(--orange-yellow-crayola);
  --ionicon-stroke-width: 35px;
}

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

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

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


/**
 * #testimonials 
 */

.testimonials { margin-bottom: 30px; }

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

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

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

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

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

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


/**
 * #testimonials-modal
 */

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


/**
 * #clients 
 */

.clients { margin-bottom: 15px; }

.clients-list {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 15px;
  margin: 0 -15px;
  padding: 25px;
  padding-bottom: 25px;
}

.clients-item {
  min-width: 90px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clients-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  transition: var(--transition-1);
  background: transparent;
}

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





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

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


/**
 * education and experience 
 */

.timeline { margin-bottom: 30px; }

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

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

.timeline-item { position: relative; }

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

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

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

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

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

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


/**
 * skills 
 */

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

.skills-list { padding: 20px; }


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

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

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

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

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




/* Resume Sections */
.resume-section {
  margin-bottom: 50px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.section-icon {
  width: 40px;
  height: 40px;
  background: var(--gold-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--smoky-black);
  font-size: 18px;
}

.section-title {
  font-size: var(--fs-2);
  font-weight: var(--fw-600);
  color: var(--white-1);
}

/* Education Section */
.education-card {
  background: var(--border-gradient-onyx);
  border-radius: 20px;
  padding: 30px;
  position: relative;
}

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

.education-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.education-logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white-1);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.university-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.education-info {
  flex: 1;
}

.education-title {
  font-size: var(--fs-3);
  font-weight: var(--fw-600);
  color: var(--white-1);
  margin-bottom: 5px;
}

.education-degree {
  font-size: var(--fs-5);
  color: var(--gold-accent);
  margin-bottom: 5px;
}

.education-details {
  font-size: var(--fs-6);
  color: var(--light-gray);
}

.education-highlights {
  list-style: none;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  font-size: var(--fs-6);
  color: var(--light-gray-70);
  line-height: 1.6;
}

.highlight-item ion-icon {
  color: var(--gold-accent);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.highlight-item:last-child {
  margin-bottom: 0;
}

/* Experience Section */
.experience-card {
  background: var(--border-gradient-onyx);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 25px;
  position: relative;
}

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

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

.experience-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.experience-logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white-1);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.company-logo-placeholder {
  width: 100%;
  height: 100%;
  background: var(--gold-gradient);
  color: var(--smoky-black);
  font-weight: var(--fw-600);
  font-size: var(--fs-5);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.experience-info {
  flex: 1;
}

.job-title {
  font-size: var(--fs-3);
  font-weight: var(--fw-600);
  color: var(--white-1);
  margin-bottom: 5px;
}

.company-name {
  font-size: var(--fs-5);
  color: var(--gold-accent);
  margin-bottom: 5px;
}

.job-period {
  font-size: var(--fs-6);
  color: var(--light-gray);
}

.experience-achievements {
  list-style: none;
}

.achievement-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  font-size: var(--fs-6);
  color: var(--light-gray-70);
  line-height: 1.6;
}

.achievement-item ion-icon {
  color: var(--gold-accent);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.achievement-item:last-child {
  margin-bottom: 0;
}

/* Tech Stack Section */
.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.tech-category {
  background: var(--border-gradient-onyx);
  border-radius: 16px;
  padding: 25px;
  position: relative;
}

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

.tech-category-title {
  font-size: var(--fs-4);
  font-weight: var(--fw-600);
  color: var(--white-1);
  margin-bottom: 20px;
  text-align: center;
}

.tech-items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--onyx);
  padding: 8px 16px;
  border-radius: 25px;
  border: 1px solid var(--jet);
  transition: var(--transition-1);
}

.tech-item:hover {
  border-color: var(--gold-accent);
  transform: translateY(-2px);
}

.tech-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(1);
  transition: var(--transition-1);
}

.tech-item:hover .tech-logo {
  filter: brightness(1.2);
}

/* Fallback for logos that fail to load */
.tech-logo[src=""] {
  display: none;
}

.tech-logo::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background: var(--gold-accent);
  border-radius: 2px;
}

.tech-name {
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
  color: var(--white-1);
}

/* Download Section */
.download-section {
  text-align: center;
  padding: 40px 20px;
  background: var(--border-gradient-onyx);
  border-radius: 20px;
  position: relative;
}

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

.download-cta {
  max-width: 400px;
  margin: 0 auto;
}

.download-full-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: var(--gold-gradient);
  color: var(--smoky-black);
  text-decoration: none;
  font-size: var(--fs-5);
  font-weight: var(--fw-600);
  border-radius: 50px;
  transition: var(--transition-1);
  margin-bottom: 20px;
  border: 2px solid var(--gold-accent);
}

.download-full-btn:hover {
  background: var(--gold-gradient-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.linkedin-reference {
  font-size: var(--fs-6);
  color: var(--light-gray);
}

.linkedin-reference a {
  color: var(--gold-accent);
  text-decoration: none;
  transition: var(--transition-1);
}

.linkedin-reference a:hover {
  color: var(--white-1);
}

/* Responsive Design for Resume */
@media (max-width: 768px) {
  .education-header,
  .experience-header {
    flex-direction: column;
    text-align: center;
  }
  
  .education-info,
  .experience-info {
    text-align: center;
  }
  
  .tech-stack-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .education-card,
  .experience-card {
    padding: 20px;
  }
  
  .tech-category {
    padding: 20px;
  }
}


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

/* Portfolio Header */
.portfolio-header {
  margin-bottom: 40px;
}

.portfolio-title-section {
  text-align: left;
  margin-bottom: 40px;
}

.portfolio-main-title {
  font-size: var(--fs-1);
  font-weight: var(--fw-600);
  color: var(--white-2);
  margin-bottom: 15px;
  position: relative;
}

.portfolio-main-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

.portfolio-subtitle {
  font-size: var(--fs-5);
  color: var(--light-gray);
  line-height: 1.6;
  max-width: 600px;
  margin: 0;
}

/* Portfolio Filters */
.portfolio-filters {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.filter-list {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 14px 28px;
  background: transparent;
  color: var(--light-gray);
  border: 2px solid var(--jet);
  border-radius: 25px;
  font-size: var(--fs-6);
  font-weight: var(--fw-600);
  letter-spacing: 0.5px;
  transition: var(--transition-1);
  cursor: pointer;
  white-space: nowrap;
  min-width: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.filter-btn:hover {
  color: var(--white-1);
  border-color: var(--gold-accent);
  background: hsla(45, 86%, 65%, 0.15);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px hsla(45, 86%, 65%, 0.2);
}

.filter-btn:focus {
  outline: none;
  color: var(--white-1);
  border-color: var(--gold-accent);
  background: hsla(45, 86%, 65%, 0.15);
  box-shadow: 0 0 0 3px hsla(45, 86%, 65%, 0.3);
}

.filter-btn.active {
  background: hsla(45, 86%, 65%, 0.25);
  color: var(--gold-accent);
  border-color: var(--gold-accent);
  box-shadow: 0 2px 8px hsla(45, 86%, 65%, 0.2);
  font-weight: var(--fw-600);
  transform: translateY(-1px);
}

.filter-btn.active:hover {
  background: hsla(45, 86%, 65%, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px hsla(45, 86%, 65%, 0.3);
}

/* Mobile Filter Dropdown */
.filter-select-box {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

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

.filter-select:hover {
  border-color: var(--gold-accent);
}

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

.select-list {
  background: var(--eerie-black-2);
  position: absolute;
  top: calc(100% + 8px);
  width: 100%;
  padding: 8px;
  border: 2px solid var(--jet);
  border-radius: 16px;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.2s ease-in-out;
  box-shadow: var(--shadow-3);
}

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

.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 16px;
  border-radius: 10px;
  transition: var(--transition-1);
  text-align: left;
}

.select-item button:hover { 
  background: var(--jet);
  color: var(--gold-accent);
}

/* Projects Grid */
.projects-section {
  margin-top: 40px;
}

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

.project-card {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.project-card.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: slideInUp 0.4s ease forwards;
}

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

.project-card-inner {
  background: var(--border-gradient-onyx);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: var(--transition-1);
  height: 100%;
  box-shadow: var(--shadow-2);
}

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

.project-card-inner:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-4);
}

/* Project Image */
.project-image {
  position: relative;
  height: 280px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

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

.project-card-inner:hover .project-image img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: hsla(0, 0%, 0%, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-1);
  z-index: 2;
}

.project-card-inner:hover .project-overlay {
  opacity: 1;
}

.project-view-btn {
  background: var(--gold-gradient);
  color: var(--smoky-black);
  padding: 12px 24px;
  border-radius: 25px;
  font-size: var(--fs-6);
  font-weight: var(--fw-600);
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition-1);
  box-shadow: var(--shadow-2);
}

.project-view-btn:hover {
  background: var(--gold-gradient-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-3);
}

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

/* Project Status Badges */
.project-status-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: var(--fs-8);
  font-weight: var(--fw-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 3;
  box-shadow: var(--shadow-1);
}

.project-status-badge.production {
  background: linear-gradient(135deg, #10b981, #059669);
  color: var(--white-1);
}

.project-status-badge.prototype {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: var(--white-1);
}

.project-status-badge.demo {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: var(--white-1);
}

.project-status-badge.published {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: var(--white-1);
}

.project-status-badge.side-project {
  background: linear-gradient(135deg, #6b7280, #4b5563);
  color: var(--white-1);
}

/* Project Content */
.project-content {
  padding: 20px;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
}

.project-title {
  color: var(--white-2);
  font-size: var(--fs-4);
  font-weight: var(--fw-600);
  line-height: 1.3;
  flex: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
  min-width: 0;
}

.project-category-tag {
  padding: 6px 12px;
  border-radius: 12px;
  font-size: var(--fs-8);
  font-weight: var(--fw-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.project-category-tag.full-stack {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: var(--white-1);
}

.project-category-tag.backend {
  background: linear-gradient(135deg, #10b981, #059669);
  color: var(--white-1);
}

.project-category-tag.cloud {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: var(--white-1);
}

.project-category-tag.research {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: var(--white-1);
}

.project-category-tag.ai {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: var(--white-1);
}

.project-category-tag.games {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: var(--white-1);
}

.project-category-tag.side {
  background: linear-gradient(135deg, #6b7280, #4b5563);
  color: var(--white-1);
}

.project-impact {
  color: var(--light-gray);
  font-size: var(--fs-6);
  line-height: 1.6;
  margin-bottom: 20px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Tech Stack */
.project-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tech-badge {
  background: var(--eerie-black-1);
  color: var(--light-gray);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: var(--fs-8);
  font-weight: var(--fw-500);
  border: 1px solid var(--jet);
  transition: var(--transition-1);
  white-space: nowrap;
}

.tech-badge:hover {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
  background: hsla(45, 86%, 65%, 0.1);
}

/* Research Placeholder */
.research-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: linear-gradient(135deg, var(--eerie-black-1), var(--onyx));
  color: var(--light-gray);
  text-align: center;
  padding: 40px 20px;
}

.research-placeholder ion-icon {
  font-size: 60px;
  color: var(--gold-accent);
  margin-bottom: 15px;
}

.research-placeholder span {
  font-size: var(--fs-5);
  font-weight: var(--fw-500);
  color: var(--white-2);
}

/* Project Modal Styles */
.project-modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
}

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

.project-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: hsla(0, 0%, 0%, 0.8);
  backdrop-filter: blur(10px);
}

.project-modal {
  background: var(--eerie-black-2);
  border: 2px solid var(--jet);
  border-radius: 20px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-5);
}

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

.project-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--onyx);
  color: var(--white-2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-1);
}

.project-modal-close:hover {
  background: var(--gold-accent);
  color: var(--smoky-black);
  transform: scale(1.1);
}

.project-modal-content {
  padding: 40px;
  color: var(--light-gray);
}

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

.project-modal::-webkit-scrollbar-track {
  background: var(--onyx);
  border-radius: 4px;
}

.project-modal::-webkit-scrollbar-thumb {
  background: var(--gold-accent);
  border-radius: 4px;
}

.project-modal::-webkit-scrollbar-thumb:hover {
  background: var(--gold-light);
}

/* Project Modal Content Styles */
.project-modal-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--jet);
}

.project-modal-title {
  font-size: var(--fs-1);
  font-weight: var(--fw-600);
  color: var(--white-2);
  margin-bottom: 10px;
}

.project-modal-meta {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.project-modal-category {
  padding: 6px 12px;
  background: var(--gold-gradient);
  color: var(--smoky-black);
  font-size: var(--fs-8);
  font-weight: var(--fw-600);
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-modal-status {
  padding: 6px 12px;
  background: var(--eerie-black-1);
  color: var(--light-gray);
  font-size: var(--fs-8);
  font-weight: var(--fw-500);
  border-radius: 12px;
  border: 1px solid var(--jet);
}

.project-modal-body {
  line-height: 1.6;
}

.project-modal-section {
  margin-bottom: 30px;
}

.project-modal-section h3 {
  color: var(--white-2);
  font-size: var(--fs-4);
  font-weight: var(--fw-600);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.project-modal-section h3::before {
  content: "";
  width: 4px;
  height: 20px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

.project-modal-section p {
  color: var(--light-gray);
  font-size: var(--fs-6);
  line-height: 1.7;
  margin-bottom: 15px;
}

.project-modal-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-modal-contributions {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-modal-contributions li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: var(--light-gray);
  font-size: var(--fs-6);
  line-height: 1.6;
}

.project-modal-contributions li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-accent);
  font-weight: var(--fw-600);
  font-size: var(--fs-5);
}

.project-modal-impact {
  background: var(--eerie-black-1);
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid var(--gold-accent);
  font-style: italic;
  color: var(--white-1);
  font-weight: var(--fw-500);
}

.project-modal-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.project-modal-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--eerie-black-1);
  color: var(--light-gray);
  text-decoration: none;
  border-radius: 25px;
  border: 2px solid var(--jet);
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  transition: var(--transition-1);
}

.project-modal-link:hover {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
  background: hsla(45, 86%, 65%, 0.1);
  transform: translateY(-2px);
}

.project-modal-link.live {
  background: linear-gradient(135deg, #10b981, #059669);
  color: var(--white-1);
  border-color: #10b981;
}

.project-modal-link.live:hover {
  background: linear-gradient(135deg, #059669, #047857);
  border-color: #059669;
  color: var(--white-1);
}

.project-modal-link.github {
  background: linear-gradient(135deg, #374151, #1f2937);
  color: var(--white-1);
  border-color: #374151;
}

.project-modal-link.github:hover {
  background: linear-gradient(135deg, #1f2937, #111827);
  border-color: #1f2937;
  color: var(--white-1);
}

.project-modal-link ion-icon {
  font-size: 18px;
}





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

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

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

.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;
  min-width: 0;
  overflow-wrap: break-word;
}

.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);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

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

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

/* Enhanced Blog Header Styles */
.blog-header {
  margin-bottom: 40px;
}

.blog-title-section {
  text-align: left;
  margin-bottom: 40px;
}

.blog-subtitle {
  color: var(--light-gray);
  font-size: var(--fs-6);
  margin-top: 10px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: 0;
  margin-right: 0;
}

/* Featured Posts Section */
.featured-posts-section {
  margin-bottom: 40px;
  padding: 25px;
  background: var(--border-gradient-onyx);
  border-radius: 20px;
  position: relative;
}

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

.featured-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white-2);
  font-size: var(--fs-4);
  font-weight: var(--fw-500);
  margin-bottom: 20px;
}

.featured-title ion-icon {
  color: var(--orange-yellow-crayola);
}

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

.featured-post-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: var(--transition-1);
}

.featured-post-card:hover {
  background: rgba(255, 255, 255, 0.1);
}

.featured-post-content {
  flex: 1;
}

.featured-post-title {
  color: var(--white-2);
  font-size: var(--fs-5);
  font-weight: var(--fw-500);
  margin-bottom: 5px;
}

.featured-post-summary {
  color: var(--light-gray-70);
  font-size: var(--fs-7);
}

.featured-post-metric {
  text-align: center;
  padding-left: 20px;
}

.featured-post-metric .metric-number {
  display: block;
  color: var(--orange-yellow-crayola);
  font-size: var(--fs-3);
  font-weight: var(--fw-600);
  line-height: 1;
}

.featured-post-metric .metric-label {
  color: var(--light-gray-70);
  font-size: var(--fs-8);
  font-weight: var(--fw-300);
}

/* Blog Filters */
.blog-filters {
  margin-bottom: 30px;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.filter-tab {
  background: transparent;
  border: 1px solid var(--jet);
  color: var(--light-gray-70);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: var(--fs-7);
  font-weight: var(--fw-400);
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition-1);
}

.filter-tab:hover,
.filter-tab.active {
  color: var(--orange-yellow-crayola);
  border-color: var(--orange-yellow-crayola);
  background: rgba(255, 177, 41, 0.1);
}

/* Blog Tags */
.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.blog-tags .tag {
  background: var(--jet);
  color: var(--light-gray-70);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: var(--fs-8);
  font-weight: var(--fw-400);
}

/* Category Colors */
.blog-category.backend { color: #4fc3f7; }
.blog-category.cloud { color: #ff9800; }
.blog-category.devops { color: #4caf50; }
.blog-category.projects { color: #e91e63; }
.blog-category.research { color: #9c27b0; }

/* Technical Visual Previews */
.code-snippet-preview,
.architecture-diagram,
.pipeline-visualization,
.dashboard-preview,
.integration-diagram,
.project-screenshot,
.experience-summary,
.research-paper {
  width: 100%;
  height: 200px;
  background: var(--smoky-black-3);
  border-radius: 8px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.code-snippet-preview {
  background: linear-gradient(135deg, #1e1e1e 0%, #2d2d30 100%);
  font-family: 'Monaco', 'Menlo', monospace;
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.code-lang {
  color: #569cd6;
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
}

.performance-badge {
  background: #4caf50;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: var(--fs-8);
  font-weight: var(--fw-500);
}

.code-content {
  color: #dcdcdc;
  font-size: var(--fs-8);
  line-height: 1.4;
  margin: 0;
  white-space: pre-wrap;
}

/* Architecture Diagram */
.architecture-diagram {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.diagram-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.diagram-title {
  color: #0ea5e9;
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
}

.uptime-badge {
  background: #10b981;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: var(--fs-8);
}

.diagram-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex: 1;
}

.aws-component {
  background: #ff9900;
  color: white;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
}

.arrow {
  color: var(--light-gray);
  font-size: var(--fs-4);
}

/* Pipeline Visualization */
.pipeline-visualization {
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
}

.pipeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pipeline-title {
  color: #06b6d4;
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
}

.status-badge.success {
  background: #10b981;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: var(--fs-8);
}

.pipeline-stages {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex: 1;
}

.stage {
  background: #374151;
  color: #f3f4f6;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
  border: 2px solid #10b981;
}

/* Dashboard Preview */
.dashboard-preview {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dashboard-title {
  color: #8b5cf6;
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
}

.error-rate {
  background: #ef4444;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: var(--fs-8);
}

.dashboard-metrics {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex: 1;
}

.metric {
  text-align: center;
}

.metric-label {
  display: block;
  color: var(--light-gray-70);
  font-size: var(--fs-8);
  margin-bottom: 5px;
}

.metric-value {
  color: var(--orange-yellow-crayola);
  font-size: var(--fs-5);
  font-weight: var(--fw-600);
}

/* Integration Diagram */
.integration-diagram {
  background: linear-gradient(135deg, #0c4a6e 0%, #075985 100%);
}

.integration-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.integration-title {
  color: #0ea5e9;
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
}

.integration-badge {
  background: #10b981;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: var(--fs-8);
}

.integration-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
}

.service {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

/* Project Screenshot */
.project-screenshot {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
}

.screenshot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-name {
  color: #10b981;
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
}

.tech-stack {
  color: var(--light-gray-70);
  font-size: var(--fs-8);
}

.screenshot-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  justify-content: center;
}

.ui-element {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: var(--fs-7);
  text-align: center;
}

/* Experience Summary */
.experience-summary {
  background: linear-gradient(135deg, #7c2d12 0%, #a21caf 100%);
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.role-title {
  color: #fbbf24;
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
}

.company {
  color: var(--light-gray-70);
  font-size: var(--fs-8);
}

.experience-metrics {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex: 1;
}

.exp-metric {
  text-align: center;
}

.exp-number {
  display: block;
  color: var(--orange-yellow-crayola);
  font-size: var(--fs-4);
  font-weight: var(--fw-600);
  line-height: 1;
}

.exp-label {
  color: var(--light-gray-70);
  font-size: var(--fs-8);
  font-weight: var(--fw-300);
}

/* Research Paper */
.research-paper {
  background: linear-gradient(135deg, #4c1d95 0%, #5b21b6 100%);
}

.paper-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.paper-title {
  color: #a855f7;
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
}

.publication-status {
  background: #10b981;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: var(--fs-8);
}

.paper-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.paper-topic {
  color: var(--orange-yellow-crayola);
  font-size: var(--fs-5);
  font-weight: var(--fw-600);
  text-align: center;
}

.paper-subtitle {
  color: var(--light-gray-70);
  font-size: var(--fs-7);
  text-align: center;
}

/* Newsletter Section */
.newsletter-section {
  margin-top: 50px;
  padding: 30px;
  background: var(--border-gradient-onyx);
  border-radius: 20px;
  position: relative;
}

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

.newsletter-content {
  text-align: center;
}

.newsletter-header {
  margin-bottom: 25px;
}

.newsletter-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--white-2);
  font-size: var(--fs-4);
  font-weight: var(--fw-500);
  margin-bottom: 10px;
}

.newsletter-title ion-icon {
  color: var(--orange-yellow-crayola);
}

.newsletter-subtitle {
  color: var(--light-gray);
  font-size: var(--fs-6);
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form {
  max-width: 400px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.newsletter-input {
  flex: 1;
  background: var(--smoky-black-3);
  border: 1px solid var(--jet);
  color: var(--white-2);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: var(--fs-6);
  transition: var(--transition-1);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--orange-yellow-crayola);
  box-shadow: 0 0 0 2px rgba(255, 177, 41, 0.2);
}

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

.newsletter-btn {
  background: var(--orange-yellow-crayola);
  color: var(--smoky-black);
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  cursor: pointer;
  transition: var(--transition-1);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.newsletter-btn:hover {
  background: var(--vegas-gold);
  transform: translateY(-2px);
}

.newsletter-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--light-gray-70);
  font-size: var(--fs-7);
  line-height: 1.4;
}

.newsletter-note ion-icon {
  color: var(--orange-yellow-crayola);
}





/*-----------------------------------*\
  #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: 20px;
  margin-bottom: 20px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* form messages */
.form-messages {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 8px;
  font-weight: var(--fw-600);
  font-size: var(--fs-6);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.form-messages.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.form-messages.success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: 1px solid #10b981;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.form-messages.error {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  border: 1px solid #ef4444;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* newsletter messages */
.newsletter-messages {
  margin-top: 15px;
  padding: 14px 18px;
  border-radius: 6px;
  font-weight: var(--fw-600);
  font-size: var(--fs-7);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.newsletter-messages.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.newsletter-messages.success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: 1px solid #10b981;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.newsletter-messages.error {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  border: 1px solid #ef4444;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}





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

/* Mobile First - Additional improvements for smallest screens */
@media (max-width: 374px) {
  main {
    margin: 10px auto;
    width: calc(100% - 16px);
    padding-left: 8px;
    padding-right: 8px;
  }
  
  .hero-section {
    padding: 15px;
  }
  
  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  /* CTA buttons for small screens - icons only */
  .cta-button {
    padding: 14px;
    gap: 0;
    flex: none;
    width: 48px;
    min-width: 48px;
    height: 48px;
    margin-bottom: 8px;
    box-sizing: border-box;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
  }
  
  .cta-button ion-icon {
    font-size: 22px;
  }
  
  .cta-button .cta-text {
    display: none !important;
  }
  
  .hero-cta {
    justify-content: center;
    gap: 12px;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 8px;
  }
  
  .achievement-item {
    padding: 10px;
    gap: 10px;
  }
  
  .project-content {
    padding: 15px;
  }
  
  /* Sidebar mobile improvements */
  .sidebar {
    max-height: 260px;
  }
  
  .sidebar.active {
    max-height: 600px;
  }
  
  .sidebar-info {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .info-content {
    width: 100%;
  }
  
  .hero-stats {
    justify-content: center;
    gap: 6px;
    margin: 12px 0;
  }
  
  .hero-stat {
    min-width: 50px;
    max-width: 70px;
  }
  
  .sidebar-actions {
    width: 100%;
    gap: 8px;
  }
  
  .sidebar-resume-btn {
    padding: 10px 14px;
    font-size: var(--fs-7);
  }
  
  .contact-item {
    gap: 10px;
  }
  
  .icon-box {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
}

/* Small mobile screens */
@media (max-width: 320px) {
  .hero-title {
    font-size: var(--fs-4);
  }
  
  .metric-number {
    font-size: var(--fs-4);
  }
  
  .about-content,
  .tech-stack {
    padding: 15px;
  }
  
  .navbar-link {
    padding: 18px 5px;
    font-size: 10px;
  }
  
  .achievement-item {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  
  .achievement-item ion-icon {
    margin-top: 0;
  }
  
  /* Very small screen sidebar adjustments */
  .sidebar {
    max-height: 280px;
  }
  
  .sidebar.active {
    max-height: 650px;
  }
  
  .sidebar-info {
    gap: 8px;
  }
  
  .info-content .name {
    font-size: var(--fs-4);
  }
  
  .info-content .title {
    font-size: var(--fs-8);
    padding: 2px 8px;
  }
  
  .hero-stats {
    gap: 4px;
    margin: 10px 0;
  }
  
  .hero-stat {
    min-width: 45px;
    max-width: 60px;
  }
  
  .stat-number {
    font-size: var(--fs-6);
  }
  
  .stat-label {
    font-size: 9px;
  }
  
  .contact-title {
    font-size: var(--fs-8);
  }
  
  .contact-link {
    font-size: var(--fs-8);
  }
  
  /* CTA buttons for very small screens - icons only */
  .cta-button {
    padding: 12px;
    gap: 0;
    min-height: 44px;
    width: 44px;
    min-width: 44px;
    flex: none;
    border-radius: 50%;
  }
  
  .cta-button ion-icon {
    font-size: 20px;
  }
  
  .cta-button .cta-text {
    display: none !important;
  }
}

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

@media (min-width: 450px) {
  /**
   * client
   */
  .clients-item { min-width: calc(33.33% - 10px); }

  /**
   * #PORTFOLIO, BLOG 
   */
  .project-img { height: 200px; }
  .blog-banner-box { height: auto; }
  
  /* Restore some spacing on larger mobile */
  .hero-cta {
    flex-direction: row;
    justify-content: flex-start;
  }
  
  /* Restore text and proper sizing for larger screens */
  .cta-button {
    flex: 0 1 auto;
    width: auto;
    margin-bottom: 0;
    padding: 12px 18px;
    min-width: 120px;
    font-size: var(--fs-7);
    gap: 8px;
    border-radius: 12px;
    height: auto;
    min-height: auto;
  }
  
  .cta-button ion-icon {
    font-size: 18px;
  }
  
  .cta-button .cta-text {
    display: inline;
  }
  
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}





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

@media (min-width: 580px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

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

  }



  /**
   * #REUSED STYLE
   */

  .sidebar, article {
    max-width: 650px;
    width: 100%;
    margin: 0 auto;
    padding: 30px;
  }

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

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

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



  /**
   * #MAIN
   */

  main {
    margin: 60px auto 100px auto;
    width: calc(100% - 24px);
    max-width: none;
  }



  /**
   * #SIDEBAR
   */

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

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

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

  /* sidebar enhancements */
  .hero-stats {
    gap: 12px;
    margin-bottom: 20px;
    justify-content: space-between;
  }

  .stat-number {
    font-size: var(--fs-4);
  }
  
  .hero-stat {
    min-width: 65px;
    max-width: 85px;
  }

  .sidebar-actions {
    gap: 12px;
  }
  
  .sidebar-info {
    flex-direction: row;
    text-align: left;
  }

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

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

  /* hero section */
  .hero-section {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
    padding: 25px;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-image-container {
    width: 250px;
    height: 250px;
  }

  /* about section */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* highlights section */
  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }



  /**
   * #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 { 
    border-radius: 16px;
    height: 220px;
  }
  .blog-banner-box { border-radius: 16px; }

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

  .blog-content { padding: 25px; }



  /**
   * #CONTACT
   */

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

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

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

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

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

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

}





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

@media (min-width: 768px) {

  /**
   * REUSED STYLE
   */

  .sidebar, article { 
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
  }

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



  /**
   * SIDEBAR
   */

  .contacts-list {
    grid-template-columns: 1fr 1fr;
    gap: 20px 12px;
  }
  
  .contact-item {
    gap: 10px;
  }
  
  .contact-info {
    min-width: 0;
  }



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

  .filter-list { 
    display: flex; 
  }
  
  .filter-select-box { 
    display: none; 
  }
  
  .project-grid { 
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .blog-posts-list { 
    grid-template-columns: 1fr 1fr; 
  }



  /**
   * CONTACT
   */

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

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

}





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

@media (min-width: 1024px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
    * shadow
    */

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

  }



  /**
   * REUSED STYLE
   */

  .sidebar, article {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    box-shadow: var(--shadow-5);
  }



  /**
   * MAIN 
   */

  main { margin-bottom: 60px; }

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

  /* Add padding to article content to prevent navbar overlap */
  article {
    padding-top: 80px;
  }

  .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-grid { 
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
  }



  /**
   * BLOG
   */

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

  /* Enhanced Blog Responsive Styles */
  .featured-posts-grid {
    grid-template-columns: 1fr 1fr;
  }

  .featured-post-card {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }

  .featured-post-metric {
    padding-left: 0;
    margin-top: 10px;
  }

  /* Newsletter Responsive */
  .form-group {
    flex-direction: column;
    gap: 15px;
  }

  .newsletter-btn {
    width: 100%;
    justify-content: center;
  }

}





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

@media (min-width: 1250px) {

  /**
   * RESET
   */

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

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

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

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

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



  /**
   * REUSED STYLE
   */

  .sidebar, article { width: auto; }

  article { min-height: 100%; }



  /**
   * MAIN
   */

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

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



  /**
   * SIDEBAR
   */

  .sidebar {
    position: sticky;
    top: 0px;
    max-height: max-content;
    height: 100%;
    margin-bottom: 0;
    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; }

}