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


/**
 * copyright 2022 @codewithsadee
 */





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

:root {

  /**
   * colors
   */

  /* gradient */

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

  /* solid */

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

  /**
   * typography
   */

  /* font-family */
  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  --ff-poppins: var(--font-sans);

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

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

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

  /**
   * transition
   */

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

}





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

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

a { text-decoration: none; }

li { list-style: none; }

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

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

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

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

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

html { 
  font-family: var(--ff-poppins);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
}

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

/*-----------------------------------*\
  #BACKGROUND OVERLAY
\*-----------------------------------*/

.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 0;
  pointer-events: none;
}

.background-grid {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background-image: 
    linear-gradient(to right, rgba(79, 79, 79, 0.18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(128, 128, 128, 0.04) 1px, transparent 1px);
  background-size: 14px 24px;
  opacity: 1;
}

.background-gradient {
  position: absolute;
  left: 0;
  right: 0;
  top: -10%;
  height: 1000px;
  width: 1000px;
  max-width: 100vw;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle 400px at 50% 300px, rgba(251, 251, 251, 0.21), transparent);
  pointer-events: none;
}

/*-----------------------------------*\
  #TIME DISPLAY
\*-----------------------------------*/

.time-display {
  position: fixed;
  top: 20px;
  right: 20px;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  z-index: 2;
  pointer-events: none;
  text-shadow: 
    0 0 1px rgba(255, 255, 255, 0.5),
    0 0 2px rgba(255, 255, 255, 0.3);
  opacity: 0.7;
}

.time-location,
.time-separator,
.time-value {
  display: inline-block;
  position: relative;
}

/* Chromatic aberration effect */
.time-location::before,
.time-separator::before,
.time-value::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  color: rgba(0, 150, 255, 0.6);
  transform: translate(-0.8px, 0);
  z-index: -1;
  pointer-events: none;
}

.time-location::after,
.time-separator::after,
.time-value::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  color: rgba(255, 50, 50, 0.6);
  transform: translate(0.8px, 0);
  z-index: -1;
  pointer-events: none;
}

.time-separator {
  margin: 0 8px;
  opacity: 0.7;
}

.time-value {
  font-weight: 500;
}





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

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

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

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

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

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

article { display: none; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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





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

main {
  margin: 15px 12px 75px;
  min-width: 259px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.main-content {
  width: min(100%, 980px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.main-content::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  width: 200%;
  height: 200vh;
  background: transparent url('http://assets.iceable.com/img/noise-transparent.png') repeat 0 0;
  background-repeat: repeat;
  animation: bg-animation .2s infinite;
  opacity: .9;
  visibility: visible;
  pointer-events: none;
  z-index: 0;
}

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





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

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

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

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

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

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

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

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

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

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

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

.info_more-btn span { display: none; }

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

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

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

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

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

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

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

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

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

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


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





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

.navbar {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  min-width: auto;
  max-width: 90%;
  background: hsl(240, 1%, 22%);
  border: 1px solid var(--jet);
  border-radius: 20px;
  box-shadow: var(--shadow-3);
  z-index: 5;
  padding: 20px 12px;
}

.navbar-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.navbar-item {
  display: flex;
  align-items: center;
  list-style: none;
}

.navbar-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--white-1);
  font-size: 20px;
  padding: 0;
  border-radius: 50%;
  transition: all var(--transition-1);
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.navbar-link:hover,
.navbar-link:focus { 
  background: hsla(0, 0%, 100%, 0.1);
  color: var(--white-1);
  transform: scale(1.1);
}

.navbar-link.active { 
  background: hsla(0, 0%, 100%, 0.15);
  color: var(--orange-yellow-crayola);
}

.navbar-link ion-icon {
  display: block;
}

.navbar-separator {
  width: 24px;
  height: 1px;
  background: hsla(0, 0%, 100%, 0.2);
  margin: 4px 0;
  list-style: none;
}





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

/* About page - flexbox layout */
.about .profile-grid {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 0;
}

/* Website page - grid layout for grid cards */
.website .profile-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-auto-rows: minmax(160px, auto);
  grid-auto-flow: dense;
  gap: 20px;
  padding: 20px;
  max-width: 100%;
}

@media (max-width: 1024px) {
  .website .profile-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
  }
  
  .card-header,
  .card-intro,
  .card-tech {
    grid-column: span 2;
  }

  .card-avatar {
    grid-row: span 2;
  }
}

@media (max-width: 600px) {
  .website .profile-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    padding: 15px;
  }
}

/* Header Section */
.header-section {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 30px;
  padding: 30px 0 40px 0;
  border-bottom: 1px solid var(--jet);
}

.header-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.name-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: var(--fw-600);
  color: var(--white-1);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-feature-settings: "kern" 1, "liga" 1;
}

.tagline {
  font-size: var(--fs-6);
  color: var(--white-1);
  margin: 0;
  line-height: 1.6;
  font-weight: var(--fw-400);
  letter-spacing: 0;
  opacity: 0.9;
}

.profile-picture {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  position: relative;
}

.profile-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--jet);
  box-shadow: var(--shadow-2);
  transition: transform var(--transition-1);
}

.profile-picture img:hover {
  transform: scale(1.02);
}

/* About Section */
.about-section {
  padding: 20px 0;
}

.about-section p {
  margin-bottom: 24px;
}

.about-section p:last-child {
  margin-bottom: 0;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: var(--fw-600);
  color: var(--white-1);
  margin: 0 0 32px 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-feature-settings: "kern" 1, "liga" 1;
}

.about-text {
  font-size: var(--fs-6);
  color: var(--white-1);
  line-height: 1.75;
  margin: 0 0 24px 0;
  font-weight: var(--fw-400);
  letter-spacing: 0;
}

.about-text strong {
  color: var(--white-1);
  font-weight: var(--fw-600);
  letter-spacing: 0;
}

.about-link {
  font-size: var(--fs-6);
  color: var(--white-1);
  line-height: 1.75;
  margin: 0;
}

.about-link a {
  color: var(--white-1);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: opacity var(--transition-1);
}

.about-link a:hover {
  opacity: 0.8;
}

.about-link strong {
  color: var(--white-1);
  font-weight: var(--fw-600);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Contact Icons */
.contact-icons {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  padding: 25px 0;
  flex-wrap: wrap;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--light-gray);
  font-size: 22px;
  text-decoration: none;
  transition: all var(--transition-1);
  border-radius: 50%;
  background: transparent;
}

.contact-icon ion-icon {
  display: block;
}

.contact-icon:hover {
  color: var(--white-1);
  background: hsla(0, 0%, 100%, 0.08);
  transform: translateY(-2px);
}

/* Skills Section */
.skills-section {
  padding: 20px 0;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.skill-tag {
  display: inline-block;
  padding: 8px 16px;
  background: hsl(0, 0%, 15%);
  color: var(--light-gray);
  font-size: var(--fs-7);
  font-weight: var(--fw-400);
  border-radius: 20px;
  border: 1px solid var(--jet);
  transition: all var(--transition-1);
  cursor: default;
  letter-spacing: -0.01em;
}

.skill-tag:hover {
  background: hsl(0, 0%, 18%);
  border-color: var(--jet);
  color: var(--white-1);
  transform: translateY(-1px);
}

.grid-card {
  position: relative;
  border-radius: 18px;
  padding: 22px;
  background: #fef08a;
  color: var(--smoky-black);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-2);
  transition: transform var(--transition-1), box-shadow var(--transition-1);
}

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

.card-header {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(135deg, #fef3c7, #facc15);
}

.card-overline {
  font-size: var(--fs-5);
  font-weight: var(--fw-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-title {
  font-size: 28px;
  font-weight: var(--fw-600);
  line-height: 1.2;
}

.card-phonetic {
  font-size: var(--fs-6);
  opacity: 0.7;
}

.card-description {
  font-size: var(--fs-6);
  font-weight: var(--fw-400);
  line-height: 1.5;
  max-width: 26ch;
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: var(--fs-3);
  font-weight: var(--fw-500);
}

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

.card-snapchat {
  background: #fde047;
}

.card-github {
  background: #111827;
  color: #facc15;
}

.card-instagram {
  background: linear-gradient(135deg, #833AB4 0%, #FD1D1D 50%, #FCB045 100%);
  color: var(--white-1);
}

.card-email {
  background: #fef3c7;
}

.card-discord {
  background: #5865F2;
  color: var(--white-1);
}

.card-cv {
  background: #fbbf24;
}

.card-pinterest {
  background: #f97316;
  color: var(--white-1);
}

.card-x {
  background: #0f172a;
  color: #fef9c3;
}

.card-spotify {
  background: linear-gradient(135deg, #1DB954 0%, #1ed760 100%);
  color: var(--white-1);
  grid-column: 1 / -1;
}

.spotify-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: opacity var(--transition-1);
  text-decoration: none;
  color: inherit;
}

.spotify-header:hover {
  opacity: 0.8;
}

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

.spotify-content {
  min-height: 80px;
  display: flex;
  align-items: center;
}

.spotify-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  opacity: 0.8;
}

.spotify-loading ion-icon {
  font-size: 32px;
  animation: yellowPulse 2s ease-in-out infinite;
}

.spotify-loading p {
  font-size: var(--fs-6);
  margin: 0;
}

.spotify-profile-link {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 12px;
  transition: color var(--transition-1);
}

.spotify-profile-link:hover {
  color: rgba(255, 255, 255, 1);
}

.spotify-track {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
}

.spotify-album-art {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.spotify-track-info {
  flex: 1;
  min-width: 0;
}

.spotify-track-name {
  font-size: var(--fs-5);
  font-weight: var(--fw-600);
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotify-track-artist {
  font-size: var(--fs-6);
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotify-external-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white-1);
  text-decoration: none;
  transition: all var(--transition-1);
}

.spotify-external-link:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.spotify-external-link ion-icon {
  font-size: 20px;
}

.card-intro {
  grid-column: span 2;
  background: #1f2937;
  color: #fef9c3;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-intro-title {
  font-size: var(--fs-4);
  font-weight: var(--fw-500);
}

.card-intro-text {
  font-size: var(--fs-6);
  line-height: 1.6;
  opacity: 0.9;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-avatar {
  grid-row: span 2;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fef3c7, #fbbf24);
}

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

.card-tech {
  grid-column: span 2;
  background: #1c1917;
  color: #fef9c3;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stack-list {
  display: grid;
  gap: 12px;
}

.stack-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-5);
}

.stack-list ion-icon {
  font-size: 22px;
}


@media (max-width: 600px) {
  .main-content {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 15px;
  }

  article {
    width: 100%;
    padding: 20px;
    margin: 0;
  }

  /* About page mobile */
  .about .profile-grid {
    gap: 30px;
    padding: 15px 0;
  }
  
  /* Website page mobile - already handled above in .website .profile-grid */

  /* Header Section Mobile */
  .header-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
    padding: 20px 0;
  }

  .name-title {
    font-size: 1.75rem;
    letter-spacing: -0.02em;
  }

  .tagline {
    font-size: 13px;
  }

  .profile-picture {
    width: 120px;
    height: 120px;
  }

  /* About Section Mobile */
  .about-section {
    padding: 15px 0;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
  }

  .about-text {
    font-size: 14px;
    line-height: 1.75;
    color: var(--white-1);
  }

  .about-link {
    font-size: 14px;
    line-height: 1.75;
    color: var(--white-1);
  }

  .section-title {
    margin-bottom: 28px;
  }

  /* Contact Icons Mobile */
  .contact-icons {
    justify-content: center;
    gap: 20px;
    padding: 15px 0;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  /* Skills Section Mobile */
  .skills-section {
    padding: 15px 0;
  }

  .skills-container {
    justify-content: center;
    gap: 10px;
  }

  .skill-tag {
    font-size: 12px;
    padding: 8px 16px;
  }

  .card-title {
    font-size: 20px;
  }

  .grid-card {
    padding: 14px;
  }

  .navbar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    top: auto;
    width: auto;
    min-width: auto;
    padding: 12px 20px;
    border-radius: 50px;
  }

  .navbar-list {
    flex-direction: row;
    gap: 8px;
  }

  .navbar-link {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .navbar-separator {
    width: 1px;
    height: 24px;
    margin: 0 4px;
  }

  .footer {
    padding: 20px 15px;
    margin-top: 20px;
  }

  .footer-container {
    padding: 15px 25px;
  }

  .footer-copyright {
    font-size: 12px;
  }

  .time-display {
    top: 0px;
    right: 15px;
    font-size: 11px;
    opacity: 0.6;
  }

  .time-location,
  .time-separator {
    display: none;
  }
}

/**
 * responsive for 375px screen
 */
@media (max-width: 375px) {
  .main-content {
    padding: 0 12px;
  }

  article {
    padding: 15px;
  }

  /* About page mobile */
  .about .profile-grid {
    gap: 25px;
    padding: 12px 0;
  }

  /* Header Section Mobile */
  .header-section {
    gap: 20px;
    padding: 15px 0;
  }

  .name-title {
    font-size: 1.5rem;
  }

  .tagline {
    font-size: 12px;
  }

  .profile-picture {
    width: 100px;
    height: 100px;
  }

  /* About Section Mobile */
  .about-section {
    padding: 12px 0;
  }

  .section-title {
    font-size: 1.35rem;
    margin-bottom: 15px;
  }

  .about-text {
    font-size: 13px;
  }

  .about-link {
    font-size: 13px;
  }

  /* Contact Icons Mobile */
  .contact-icons {
    gap: 15px;
    padding: 12px 0;
  }

  .contact-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  /* Skills Section Mobile */
  .skills-section {
    padding: 12px 0;
  }

  .skills-container {
    gap: 8px;
  }

  .skill-tag {
    font-size: 11px;
    padding: 6px 12px;
  }

  /* Website grid cards */
  .card-title {
    font-size: 18px;
  }

  .grid-card {
    padding: 12px;
  }

  .navbar {
    bottom: 15px;
    padding: 10px 16px;
  }

  .navbar-link {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .navbar-separator {
    width: 1px;
    height: 20px;
    margin: 0 3px;
  }

  .footer {
    padding: 15px 12px;
  }

  .footer-container {
    padding: 12px 20px;
  }

  .footer-copyright {
    font-size: 11px;
  }

  .time-display {
    right: 12px;
    font-size: 10px;
  }

  /* Website page grid adjustments */
  .website .profile-grid {
    gap: 12px;
    padding: 12px;
  }

  /* Projects grid */
  .projects-grid {
    gap: 20px;
  }

  .project-image {
    height: 180px;
  }

  .project-content {
    padding: 15px;
  }

  .project-title {
    font-size: 1.25rem;
  }

  .project-tag {
    font-size: 10px;
    padding: 4px 10px;
  }

  .project-description {
    font-size: 13px;
  }

  /* Experience and Education */
  .experience-item,
  .education-item {
    gap: 10px;
  }

  .experience-logo,
  .education-logo {
    width: 45px;
    height: 45px;
  }

  .experience-company,
  .education-institution {
    font-size: 15px;
  }

  .experience-role,
  .education-degree {
    font-size: 13px;
  }

  .experience-date,
  .education-date {
    font-size: 11px;
  }

  /* Additional Website page optimizations */
  .card-overline {
    font-size: 12px;
  }

  .card-phonetic {
    font-size: 12px;
  }

  .card-intro-title {
    font-size: 14px;
  }

  .card-intro-text {
    font-size: 12px;
  }

  .chip {
    font-size: 10px;
    padding: 4px 11px;
  }

  .stack-list {
    gap: 11px;
  }

  .stack-list li {
    font-size: 13px;
    gap: 11px;
  }

  .stack-list ion-icon {
    font-size: 20px;
  }

  .spotify-header {
    gap: 9px;
    margin-bottom: 13px;
  }

  .spotify-header ion-icon {
    font-size: 22px;
  }

  .spotify-album-art {
    width: 55px;
    height: 55px;
  }

  .spotify-track-name {
    font-size: 14px;
  }

  .spotify-track-artist {
    font-size: 12px;
  }

  .spotify-external-link {
    width: 36px;
    height: 36px;
  }

  .spotify-external-link ion-icon {
    font-size: 18px;
  }

  /* Portfolio experience and education additional adjustments */
  .portfolio-experience,
  .portfolio-education {
    margin-bottom: 35px;
  }

  .experience-list,
  .education-list {
    gap: 18px;
  }

  /* Projects section additional adjustments */
  .projects-section {
    padding: 18px 0;
    margin-bottom: 35px;
  }

  /* Main content adjustments */
  main {
    margin: 15px 10px 75px;
  }

  /* Article title adjustments */
  .article-title {
    padding-bottom: 6px;
  }

  .article-title::after {
    width: 28px;
    height: 2.5px;
  }
}

/**
 * responsive for 320px screen
 */
@media (max-width: 320px) {
  .main-content {
    padding: 0 10px;
  }

  article {
    padding: 12px;
  }

  /* About page mobile */
  .about .profile-grid {
    gap: 20px;
    padding: 10px 0;
  }

  /* Header Section Mobile */
  .header-section {
    gap: 15px;
    padding: 12px 0;
  }

  .name-title {
    font-size: 1.35rem;
  }

  .tagline {
    font-size: 11px;
  }

  .profile-picture {
    width: 90px;
    height: 90px;
  }

  /* About Section Mobile */
  .about-section {
    padding: 10px 0;
  }

  .section-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .about-text {
    font-size: 12px;
  }

  .about-link {
    font-size: 12px;
  }

  /* Contact Icons Mobile */
  .contact-icons {
    gap: 12px;
    padding: 10px 0;
  }

  .contact-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  /* Skills Section Mobile */
  .skills-section {
    padding: 10px 0;
  }

  .skills-container {
    gap: 6px;
  }

  .skill-tag {
    font-size: 10px;
    padding: 5px 10px;
  }

  /* Website grid cards */
  .card-title {
    font-size: 16px;
  }

  .card-description {
    font-size: 12px;
  }

  .grid-card {
    padding: 10px;
  }

  .navbar {
    bottom: 12px;
    padding: 8px 12px;
  }

  .navbar-link {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .navbar-separator {
    width: 1px;
    height: 18px;
    margin: 0 2px;
  }

  .footer {
    padding: 12px 10px;
  }

  .footer-container {
    padding: 10px 15px;
  }

  .footer-copyright {
    font-size: 10px;
  }

  .time-display {
    right: 10px;
    font-size: 9px;
  }

  /* Website page grid adjustments */
  .website .profile-grid {
    gap: 10px;
    padding: 10px;
  }

  /* Projects grid */
  .projects-grid {
    gap: 15px;
  }

  .project-image {
    height: 160px;
  }

  .project-content {
    padding: 12px;
  }

  .project-title {
    font-size: 1.15rem;
  }

  .project-tag {
    font-size: 9px;
    padding: 4px 8px;
  }

  .project-description {
    font-size: 12px;
  }

  /* Experience and Education */
  .experience-item,
  .education-item {
    gap: 8px;
    min-height: 60px;
  }

  .experience-logo,
  .education-logo {
    width: 40px;
    height: 40px;
  }

  .experience-company,
  .education-institution {
    font-size: 14px;
  }

  .experience-role,
  .education-degree {
    font-size: 12px;
  }

  .experience-date,
  .education-date {
    font-size: 10px;
  }

  /* Additional Website page optimizations */
  .card-overline {
    font-size: 11px;
  }

  .card-phonetic {
    font-size: 11px;
  }

  .card-intro-title {
    font-size: 13px;
  }

  .card-intro-text {
    font-size: 11px;
  }

  .chip {
    font-size: 9px;
    padding: 3px 10px;
  }

  .stack-list {
    gap: 10px;
  }

  .stack-list li {
    font-size: 12px;
    gap: 10px;
  }

  .stack-list ion-icon {
    font-size: 18px;
  }

  .spotify-header {
    gap: 8px;
    margin-bottom: 12px;
  }

  .spotify-header ion-icon {
    font-size: 20px;
  }

  .spotify-album-art {
    width: 50px;
    height: 50px;
  }

  .spotify-track-name {
    font-size: 13px;
  }

  .spotify-track-artist {
    font-size: 11px;
  }

  .spotify-external-link {
    width: 32px;
    height: 32px;
  }

  .spotify-external-link ion-icon {
    font-size: 16px;
  }

  /* Portfolio experience and education additional adjustments */
  .portfolio-experience,
  .portfolio-education {
    margin-bottom: 30px;
  }

  .experience-list,
  .education-list {
    gap: 16px;
  }

  /* Projects section additional adjustments */
  .projects-section {
    padding: 15px 0;
    margin-bottom: 30px;
  }

  /* Main content adjustments */
  main {
    margin: 15px 8px 70px;
  }

  /* Article title adjustments */
  .article-title {
    padding-bottom: 5px;
  }

  .article-title::after {
    width: 25px;
    height: 2px;
  }
}



/**
 * #service 
 */

.service { margin-bottom: 35px; }

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

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

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

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

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

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

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

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

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


/**
 * #testimonials 
 */

.testimonials { margin-bottom: 30px; }

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

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

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

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

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

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


/**
 * #testimonials-modal
 */

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


/**
 * #clients 
 */

.clients { margin-bottom: 15px; }

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

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

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

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





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

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


/**
 * education and experience 
 */

.timeline { margin-bottom: 30px; }

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

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

.timeline-item { position: relative; }

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

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

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

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

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

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


/**
 * skills 
 */

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

.skills-list { padding: 20px; }


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

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

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

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

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





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

.filter-list { display: none; }

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

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

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

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

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

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

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

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

.project-item { display: none; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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





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

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

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

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

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

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

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

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

.blog-content { padding: 15px; }

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

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

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

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

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

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





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

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

.mapbox figure { height: 100%; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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





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

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

@media (min-width: 450px) {

  /**
   * client
   */

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



  /**
   * #PORTFOLIO, BLOG 
   */

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

}





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

@media (min-width: 580px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

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

  }



  /**
   * #REUSED STYLE
   */

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

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

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

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



  /**
   * #MAIN
   */

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



  /**
   * #NAVBAR
   */

  .navbar { border-radius: 20px; }

  .navbar-list { 
    flex-direction: column;
    gap: 20px; 
  }

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



  /**
   * #ABOUT
   */

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

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

  /* New Layout Styles for Medium Screens */
  .header-section {
    gap: 30px;
  }

  .profile-picture {
    width: 140px;
    height: 140px;
  }

  .contact-icons {
    gap: 22px;
  }

  /* Projects responsive for medium screens */
  .projects-grid {
    gap: 25px;
  }

  .project-image {
    height: 220px;
  }

  /* service */

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

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

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

  /* testimonials */

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

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

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

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

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

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

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

  /* testimonials modal */

  .modal-container { padding: 20px; }

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

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

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

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

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

  /* clients */

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

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



  /**
   * #RESUME
   */

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

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

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

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



  /**
   * #PORTFOLIO, BLOG
   */

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

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

  .blog-content { padding: 25px; }



  /**
   * #CONTACT
   */

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

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

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

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

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

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

}





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

@media (min-width: 768px) {

  /**
   * REUSED STYLE
   */

  article { 
    width: auto;
    min-height: 100%;
    margin: 0 auto;
  }

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

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

  /* about page spacing at 768px */
  .about .profile-grid {
    gap: 50px;
    padding: 20px 0;
    max-width: 900px;
  }

  /* website grid at 768px */
  .website .profile-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
  }

  .card-header,
  .card-intro,
  .card-tech {
    grid-column: span 2;
  }

  .card-avatar {
    grid-row: span 2;
  }

  /* testimonials modal */

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

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



  /**
   * PORTFOLIO
   */

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

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

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

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

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

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

  /* portfolio and blog grid */

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



  /**
   * CONTACT
   */

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

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





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

@media (min-width: 1024px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
    * shadow
    */

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

  }



  /**
   * REUSED STYLE
   */

  article {
    width: auto;
    min-height: 100%;
    box-shadow: var(--shadow-5);
  }



  /**
   * MAIN 
   */

  main { margin-bottom: 60px; }

  .main-content {
    position: relative;
    width: 100%;
    max-width: 1020px;
    margin: 0 auto;
  }



  /**
   * NAVBAR
   */

  .navbar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    min-width: auto;
    border-radius: 20px;
    padding: 20px 12px;
  }

  .navbar-list {
    flex-direction: column;
    gap: 12px;
    padding: 0;
  }

  .navbar-link {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }
  
  .navbar-separator {
    width: 28px;
    height: 1px;
    margin: 6px 0;
  }



  /**
   * ABOUT
   */

  /* about page spacing at 1024px */
  .about .profile-grid {
    gap: 50px;
    padding: 20px 0;
    max-width: 900px;
  }

  /* service */

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

  /* testimonials */

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

  /* clients */

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



  /**
   * PORTFOLIO
   */

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



  /**
   * BLOG
   */

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

}





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

@media (min-width: 1250px) {

  /**
   * RESET
   */

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

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

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

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

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



  /**
   * REUSED STYLE
   */

  article { 
    width: auto;
    min-height: 100%;
    margin: 0 auto;
  }



  /**
   * MAIN
   */

  main {
    max-width: 1020px;
    margin-inline: auto;
    display: flex;
    justify-content: center;
  }

  .main-content {
    width: 100%;
    margin: 0 auto;
  }
  
  article {
    margin: 0 auto;
  }



  /**
	 * RESUME
	 */

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

}



/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
  width: 100%;
  padding: 30px 20px 20px 20px;
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
}

.footer-container {
  background: hsl(0, 0%, 8%);
  border-radius: 12px;
  padding: 20px 40px;
  text-align: center;
  box-shadow: 0 4px 12px hsla(0, 0%, 0%, 0.3);
}

.footer-copyright {
  color: hsl(0, 0%, 70%);
  font-size: var(--fs-6, 14px);
  font-weight: var(--fw-400, 400);
  margin: 0;
  letter-spacing: 0.5px;
}

/* Dark theme footer */
body.dark .footer-container {
  background: hsl(0, 0%, 8%);
}

body.light .footer-container {
  background: hsl(0, 0%, 95%);
}

body.light .footer-copyright {
  color: hsl(0, 0%, 30%);
}


/*-----------------------------------*\
  #YELLOW THEME ANIMATIONS
\*-----------------------------------*/

/* Background noise animation */
@keyframes bg-animation {
  0% { transform: translate(0,0); }
  10% { transform: translate(-5%,-5%); }
  20% { transform: translate(-10%,5%); }
  30% { transform: translate(5%,-10%); }
  40% { transform: translate(-5%,15%); }
  50% { transform: translate(-10%,5%); }
  60% { transform: translate(15%,0); }
  70% { transform: translate(0,10%); }
  80% { transform: translate(-15%,0); }
  90% { transform: translate(10%,5%); }
  100% { transform: translate(5%,0); }
}

/* Keyframe animations for yellow theme */
@keyframes yellowPulse {
  0%, 100% {
    opacity: 1;
    filter: brightness(1);
  }
  50% {
    opacity: 0.8;
    filter: brightness(1.2);
  }
}

@keyframes yellowGlow {
  0%, 100% {
    box-shadow: 0 0 5px hsla(45, 100%, 72%, 0.3),
                0 0 10px hsla(45, 100%, 72%, 0.2),
                0 0 15px hsla(45, 100%, 72%, 0.1);
  }
  50% {
    box-shadow: 0 0 10px hsla(45, 100%, 72%, 0.5),
                0 0 20px hsla(45, 100%, 72%, 0.3),
                0 0 30px hsla(45, 100%, 72%, 0.2);
  }
}

@keyframes yellowGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes yellowShimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* Apply animations to yellow elements */
.has-scrollbar::-webkit-scrollbar-thumb {
  background: var(--orange-yellow-crayola);
  border-radius: 5px;
  animation: yellowPulse 2s ease-in-out infinite;
  transition: all 0.3s ease;
}

.has-scrollbar::-webkit-scrollbar-thumb:hover {
  animation: yellowGlow 1.5s ease-in-out infinite;
  filter: brightness(1.3);
}

/* Animate article title underline */
.article-title::after {
  background-size: 200% 100%;
  animation: yellowGradient 3s ease infinite;
}

/* Animate buttons with yellow hover */
.form-btn {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-btn:hover {
  background: var(--bg-gradient-yellow-1);
  animation: yellowGlow 2s ease-in-out infinite;
  transform: translateY(-2px);
}

.form-btn:hover::before {
  background: var(--bg-gradient-yellow-2);
  animation: yellowPulse 1.5s ease-in-out infinite;
}

/* Animate filter buttons */
.filter-item button.active {
  color: var(--orange-yellow-crayola);
  animation: yellowPulse 2.5s ease-in-out infinite;
  position: relative;
}

.filter-item button.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text-gradient-yellow);
  background-size: 200% 100%;
  animation: yellowGradient 2s ease infinite;
}

/* Animate blog post titles on hover */
.blog-post-item > a:hover .blog-item-title {
  color: var(--orange-yellow-crayola);
  animation: yellowPulse 1.5s ease-in-out infinite;
  transition: all 0.3s ease;
}

/* Animate form inputs on focus */
.form-input:focus {
  border-color: var(--orange-yellow-crayola);
  animation: yellowGlow 2s ease-in-out infinite;
  transition: all 0.3s ease;
}

/* Animate info more button */
.info_more-btn:focus {
  background: var(--bg-gradient-yellow-1);
  animation: yellowGlow 1.5s ease-in-out infinite;
}

.info_more-btn:focus::before {
  background: var(--bg-gradient-yellow-2);
  animation: yellowPulse 1.5s ease-in-out infinite;
}

/* Animate text with yellow gradient */
[style*="background: var(--text-gradient-yellow)"],
[style*="background: var(--bg-gradient-yellow-1)"] {
  background-size: 200% 100%;
  animation: yellowGradient 4s ease infinite;
}

/* Smooth transitions for all yellow elements */
* {
  --yellow-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animate yellow links and interactive elements */
a:hover,
button:hover {
  transition: var(--yellow-transition);
}

/* Apply shimmer to gradient backgrounds */
.form-btn:hover,
.info_more-btn:focus {
  background-size: 200% 100%;
  animation: yellowGradient 3s ease infinite, yellowGlow 2s ease-in-out infinite;
}



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

.portfolio-content {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Header Section */
.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 60px;
  padding-bottom: 40px;
}

.header-text {
  flex: 1;
}

.portfolio-name {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--fw-600, 600);
  color: var(--white-1);
  margin: 0 0 15px 0;
  line-height: 1.2;
}

.portfolio-tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--light-gray);
  margin: 0;
  line-height: 1.6;
}

.header-avatar {
  flex-shrink: 0;
}

.portfolio-avatar-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--jet);
  box-shadow: var(--shadow-2);
}

/* About Section */
.portfolio-about {
  margin-bottom: 60px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: var(--fw-600, 600);
  color: var(--white-1);
  margin: 0 0 25px 0;
}

.about-content {
  margin-bottom: 30px;
}

.about-text {
  font-size: var(--fs-6, 16px);
  color: var(--light-gray);
  line-height: 1.8;
  margin: 0 0 20px 0;
}

.about-text strong {
  color: var(--white-1);
  font-weight: var(--fw-600, 600);
}

.about-cta {
  font-size: var(--fs-6, 16px);
  color: var(--light-gray);
  line-height: 1.8;
  margin: 0;
}

.about-cta strong {
  color: var(--white-1);
  font-weight: var(--fw-600, 600);
}

.social-icons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--light-gray);
  font-size: 24px;
  text-decoration: none;
  transition: all var(--transition-1);
  border-radius: 50%;
}

.social-icon:hover {
  color: var(--white-1);
  background: hsla(0, 0%, 100%, 0.1);
  transform: translateY(-2px);
}

/* Skills Section */
.portfolio-skills {
  margin-bottom: 40px;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-tag {
  display: inline-block;
  padding: 8px 16px;
  background: hsl(0, 0%, 15%);
  color: var(--white-1);
  font-size: var(--fs-6, 14px);
  border-radius: 20px;
  border: 1px solid var(--jet);
  transition: all var(--transition-1);
}

.skill-tag:hover {
  background: hsl(0, 0%, 20%);
  border-color: var(--orange-yellow-crayola);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .portfolio-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

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

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

  .skills-container {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .portfolio-content {
    padding: 20px 15px;
  }

  .portfolio-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
  }

  .portfolio-about,
  .portfolio-skills {
    margin-bottom: 40px;
  }

  .social-icons {
    gap: 15px;
  }

  .social-icon {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .skill-tag {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* Work Experience Section */
.portfolio-experience {
  margin-bottom: 50px;
}

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

.experience-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

.experience-logo {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
}

.logo-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--white-1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  flex-shrink: 0;
  box-shadow: none;
}

.logo-precision {
  background: var(--white-1);
  position: relative;
  overflow: hidden;
}

.logo-precision::before {
  content: '';
  position: absolute;
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.logo-boxoffice {
  background: var(--white-1);
  color: #dc2626;
  font-size: 7px;
  font-weight: var(--fw-600, 600);
  text-align: center;
  padding: 8px 4px;
  line-height: 1.1;
  letter-spacing: 0.3px;
}

.logo-boxoffice::before {
  content: 'B.X\A OFFICE\A STUDIO';
  white-space: pre;
  color: #dc2626;
  font-size: 7px;
  display: block;
}

.logo-hits {
  background: var(--white-1);
  position: relative;
  overflow: hidden;
}

.logo-hits::before {
  content: '';
  position: absolute;
  width: 45px;
  height: 45px;
  background: radial-gradient(circle, #10b981 0%, #f59e0b 30%, #ef4444 60%, #10b981 100%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px var(--white-1), 0 0 0 5px #10b981;
}

.logo-stjohns {
  background: var(--white-1);
  position: relative;
  overflow: hidden;
}

.logo-stjohns::before {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.experience-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-right: 16px;
}

.experience-company {
  font-size: var(--fs-5);
  font-weight: var(--fw-600);
  color: var(--white-1);
  margin: 0 0 3px 0;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.experience-role {
  font-size: var(--fs-6);
  color: var(--white-1);
  margin: 0;
  font-weight: var(--fw-400);
  opacity: 0.85;
  line-height: 1.4;
}

.experience-date {
  font-size: var(--fs-7);
  color: var(--white-1);
  margin: 0;
  font-weight: var(--fw-400);
  white-space: nowrap;
  align-self: flex-start;
  padding-top: 2px;
  opacity: 0.8;
  margin-left: auto;
  flex-shrink: 0;
}

/* Education Section */
.portfolio-education {
  margin-bottom: 50px;
}

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

.education-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  min-height: 80px;
}

.education-logo {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
}

.education-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-right: 16px;
}

.education-institution {
  font-size: var(--fs-5);
  font-weight: var(--fw-600);
  color: var(--white-1);
  margin: 0 0 3px 0;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.education-degree {
  font-size: var(--fs-6);
  color: var(--white-1);
  margin: 0;
  font-weight: var(--fw-400);
  opacity: 0.85;
  line-height: 1.4;
}

.education-date {
  font-size: var(--fs-7);
  color: var(--white-1);
  margin: 0;
  font-weight: var(--fw-400);
  white-space: nowrap;
  align-self: flex-start;
  padding-top: 2px;
  opacity: 0.8;
  margin-left: auto;
  flex-shrink: 0;
}

/* Projects Section */
.projects-section {
  padding: 20px 0;
  margin-bottom: 40px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.project-card {
  background: hsl(0, 0%, 12%);
  border: 1px solid var(--jet);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition-1);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
  border-color: var(--orange-yellow-crayola);
}

.project-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: hsl(0, 0%, 8%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.project-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--light-gray-70);
  gap: 10px;
}

.project-image-placeholder ion-icon {
  font-size: 48px;
}

.project-image-placeholder p {
  font-size: var(--fs-6);
  margin: 0;
}

.project-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
}

.project-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: var(--fw-600);
  color: var(--white-1);
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-feature-settings: "kern" 1, "liga" 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tag {
  display: inline-block;
  padding: 6px 14px;
  background: hsl(0, 0%, 15%);
  color: var(--light-gray);
  font-size: var(--fs-7);
  font-weight: var(--fw-400);
  border-radius: 20px;
  border: 1px solid var(--jet);
  transition: all var(--transition-1);
  letter-spacing: -0.01em;
}

.project-tag:hover {
  background: hsl(0, 0%, 20%);
  border-color: var(--orange-yellow-crayola);
  color: var(--white-1);
}

.project-description {
  font-size: var(--fs-6);
  color: var(--white-1);
  line-height: 1.75;
  margin: 0;
  font-weight: var(--fw-400);
  opacity: 0.9;
}

/* Responsive adjustments for experience and education */
@media (max-width: 600px) {
  .portfolio-experience,
  .portfolio-education {
    margin-bottom: 40px;
  }

  .experience-list,
  .education-list {
    gap: 20px;
  }

  .experience-item,
  .education-item {
    gap: 12px;
    min-height: 70px;
    flex-wrap: wrap;
  }

  .experience-logo,
  .education-logo {
    width: 50px;
    height: 50px;
  }

  .logo-placeholder {
    width: 100%;
    height: 100%;
    border: none;
  }

  .experience-date,
  .education-date {
    align-self: flex-start;
    padding-top: 0;
    width: 100%;
    margin-top: 4px;
  }

  .experience-company,
  .education-institution {
    font-size: 16px;
    letter-spacing: -0.01em;
  }

  .experience-role,
  .education-degree {
    font-size: 14px;
  }

  .experience-date,
  .education-date {
    font-size: 12px;
  }

  /* Projects responsive */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .project-image {
    height: 200px;
  }

  .project-content {
    padding: 20px;
  }

  .project-title {
    font-size: 1.5rem;
  }

  .project-tag {
    font-size: 11px;
    padding: 5px 12px;
  }

  .project-description {
    font-size: 14px;
  }
}
