/*-----------------------------------*\
  #style.css - Mohamed Habib Portfolio & Executive CV
  Consolidated & High-Performance Design System
\*-----------------------------------*/

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

:root {
  /**
   * Colors & Gradients
   */
  --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.35) 0%, 
    hsla(240, 2%, 11%, 0.2) 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.25) 0%, 
    hsla(35, 100%, 68%, 0) 59.86%
  ), hsl(240, 2%, 13%);
  --bg-gradient-card: linear-gradient(
    145deg,
    rgba(35, 35, 42, 0.8) 0%,
    rgba(22, 22, 26, 0.9) 100%
  );

  --border-gradient-onyx: linear-gradient(
    to bottom right, 
    hsl(0, 0%, 28%) 0%, 
    hsla(0, 0%, 25%, 0) 50%
  );
  --text-gradient-yellow: linear-gradient(
    to right, 
    hsl(45, 100%, 72%), 
    hsl(35, 100%, 68%)
  );
  --text-gradient-cyan: linear-gradient(
    to right, 
    hsl(190, 100%, 75%), 
    hsl(215, 100%, 70%)
  );
  --text-gradient-purple: linear-gradient(
    to right,
    hsl(280, 100%, 75%),
    hsl(215, 100%, 70%)
  );

  /* Solid Colors */
  --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(240, 4%, 8%);
  --card-bg: hsl(240, 3%, 12%);
  --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%);
  --emerald-500: hsl(152, 69%, 50%);
  --cyan-400: hsl(190, 95%, 65%);
  --purple-400: hsl(280, 85%, 68%);

  /**
   * Typography
   */
  --ff-main: 'Outfit', 'Poppins', 'Tajawal', sans-serif;

  /* Font Sizes */
  --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 Weights */
  --fw-300: 300;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;

  /**
   * Shadows & Glows
   */
  --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.35);
  --glow-gold: 0 0 25px rgba(255, 219, 112, 0.2);

  /**
   * Transitions
   */
  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease-in-out;
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

a {
  text-decoration: none;
  color: inherit;
}

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-main);
  scroll-behavior: smooth;
}

body {
  background: var(--smoky-black);
  color: var(--light-gray);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Ambient glow background accents */
body::before, body::after {
  content: "";
  position: fixed;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
}

body::before {
  top: -100px;
  left: -100px;
  background: radial-gradient(circle, var(--orange-yellow-crayola), transparent);
}

body::after {
  bottom: 0;
  right: -100px;
  background: radial-gradient(circle, var(--cyan-400), transparent);
}

/*-----------------------------------*\
  #REUSED STYLES & COMPONENTS
\*-----------------------------------*/

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

.separator {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--jet), transparent);
  margin: 16px 0;
}

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

.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: fadeIn 0.4s ease backwards;
}

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

.h2,
.h3,
.h4,
.h5 {
  color: var(--white-2);
  font-family: var(--ff-main);
}

.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 Header & Title Fix (Zero Collision with Navbar) */
.article-header {
  position: relative;
  margin-bottom: 22px;
}

.article-title {
  position: relative;
  padding-bottom: 10px;
  font-weight: var(--fw-600);
  font-size: var(--fs-1);
  color: var(--white-1);
  display: inline-block;
}

.article-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 4px;
  background: var(--text-gradient-yellow);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(255, 219, 112, 0.4);
}

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

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

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

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

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

.content-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-3);
  border-color: hsla(45, 100%, 72%, 0.3);
}

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

main {
  margin: 15px 12px;
  margin-bottom: 85px;
  min-width: 259px;
  position: relative;
  z-index: 1;
}

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

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

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

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

.avatar-box {
  position: relative;
  background: var(--bg-gradient-onyx);
  border-radius: 20px;
  padding: 3px;
  border: 1px solid hsla(45, 100%, 72%, 0.2);
  box-shadow: var(--glow-gold);
}

.avatar-box img {
  border-radius: 18px;
  display: block;
}

/* Status Indicator Dot */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: hsla(152, 69%, 50%, 0.12);
  border: 1px solid hsla(152, 69%, 50%, 0.35);
  color: var(--emerald-500);
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: var(--fw-500);
  margin-bottom: 6px;
  width: max-content;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--emerald-500);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald-500);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}

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

.info-content .title {
  color: var(--orange-yellow-crayola);
  background: hsla(45, 100%, 72%, 0.1);
  border: 1px solid hsla(45, 100%, 72%, 0.25);
  font-size: var(--fs-8);
  font-weight: var(--fw-500);
  width: max-content;
  padding: 3px 10px;
  border-radius: 8px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.info-content .sub-title {
  color: var(--light-gray-70);
  font-size: 11px;
  margin-top: 4px;
  font-weight: var(--fw-400);
}

.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 { background: var(--bg-gradient-yellow-1); }
.info_more-btn:hover::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: 14px;
}

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

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

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

.contact-info a.contact-link:hover {
  color: var(--orange-yellow-crayola);
}

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

.sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.btn-sidebar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
  transition: var(--transition-smooth);
}

.btn-sidebar-primary {
  background: var(--text-gradient-yellow);
  color: var(--smoky-black);
  box-shadow: 0 4px 15px rgba(255, 219, 112, 0.3);
}

.btn-sidebar-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 219, 112, 0.45);
}

.btn-sidebar-secondary {
  background: var(--onyx);
  border: 1px solid var(--jet);
  color: var(--white-2);
}

.btn-sidebar-secondary:hover {
  background: var(--jet);
  border-color: var(--orange-yellow-crayola);
  color: var(--orange-yellow-crayola);
}

.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;
  transition: var(--transition-1);
}

.social-item .social-link:hover {
  color: var(--orange-yellow-crayola);
  transform: translateY(-2px);
}

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

.navbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: hsla(240, 2%, 12%, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--jet);
  border-radius: 16px 16px 0 0;
  box-shadow: var(--shadow-2);
  z-index: 10;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

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

.navbar-link {
  color: var(--light-gray);
  font-size: var(--fs-8);
  padding: 16px 12px;
  font-weight: var(--fw-500);
  transition: color var(--transition-1);
  position: relative;
}

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

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

.navbar-link.active::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--orange-yellow-crayola);
  border-radius: 2px;
}

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

.executive-summary-banner {
  background: linear-gradient(135deg, rgba(255, 219, 112, 0.08) 0%, rgba(255, 120, 45, 0.05) 100%);
  border: 1px solid hsla(45, 100%, 72%, 0.2);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 25px;
  position: relative;
  overflow: hidden;
}

.executive-summary-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--text-gradient-yellow);
}

.summary-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange-yellow-crayola);
  font-size: 11px;
  font-weight: var(--fw-600);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

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

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

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

/* Impact Metrics / Stats Strip */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 25px 0 35px;
}

.stat-card {
  background: var(--border-gradient-onyx);
  padding: 16px;
  border-radius: 14px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-1);
}

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

.stat-num {
  font-size: 26px;
  font-weight: var(--fw-700);
  background: var(--text-gradient-yellow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
  font-family: var(--ff-main);
}

.stat-label {
  color: var(--light-gray-70);
  font-size: 11px;
  font-weight: var(--fw-400);
  line-height: 1.3;
}

/**
 * #Service / What I Do
 */
.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: 16px;
  box-shadow: var(--shadow-2);
  z-index: 1;
  transition: var(--transition-smooth);
}

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

.service-item:hover {
  transform: translateY(-3px);
  border-color: hsla(45, 100%, 72%, 0.35);
}

.service-icon-box {
  width: 44px;
  height: 44px;
  background: var(--onyx);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  border: 1px solid var(--jet);
  color: var(--orange-yellow-crayola);
  font-size: 24px;
}

.service-icon-box img {
  width: 26px;
  height: 26px;
}

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

.service-item-title {
  margin-bottom: 8px;
  font-weight: var(--fw-600);
  font-size: 16px;
}

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

.service-item-text .tech-badge {
  display: inline-block;
  background: hsla(0, 0%, 100%, 0.07);
  border: 1px solid hsla(0, 0%, 100%, 0.1);
  color: var(--orange-yellow-crayola);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  margin: 2px 2px;
  font-weight: var(--fw-500);
}

.service-item-text .tech-badge.ai {
  background: hsla(280, 85%, 68%, 0.12);
  border-color: hsla(280, 85%, 68%, 0.3);
  color: var(--purple-400);
}

/**
 * #Company / Leadership Spotlight (ACM Group)
 */
.company-spotlight {
  margin-bottom: 35px;
}

.spotlight-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 120, 45, 0.08) 0%, rgba(22, 22, 26, 0.9) 100%);
  border: 1px solid rgba(255, 120, 45, 0.35);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.spotlight-header {
  display: flex;
  align-items: center;
  gap: 18px;
}

.spotlight-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  overflow: hidden;
  background: #18181c;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 120, 45, 0.4);
  box-shadow: 0 4px 20px rgba(255, 120, 45, 0.3);
  flex-shrink: 0;
}

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

.spotlight-info h4 {
  color: var(--white-2);
  font-size: 18px;
  font-weight: var(--fw-600);
}

.spotlight-role {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange-yellow-crayola);
  font-size: 12px;
  font-weight: var(--fw-500);
  margin-top: 3px;
}

.spotlight-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.spotlight-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white-1);
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: var(--fw-500);
  transition: var(--transition-1);
}

.spotlight-btn-link:hover {
  background: rgba(255, 120, 45, 0.2);
  border-color: rgba(255, 120, 45, 0.5);
  color: var(--orange-yellow-crayola);
  transform: translateY(-2px);
}

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

.spotlight-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.highlight-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white-2);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: var(--fw-400);
}

/**
 * #Testimonials (Redesigned with Zero Overlap & Sleek Card Header)
 */
.testimonials { margin-bottom: 30px; }
.testimonials-title { margin-bottom: 20px; }

.testimonials-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.testimonial-card {
  position: relative;
  background: var(--border-gradient-onyx);
  padding: 22px;
  border-radius: 18px;
  box-shadow: var(--shadow-2);
  z-index: 1;
  transition: var(--transition-smooth);
  cursor: pointer;
}

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

.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: hsla(45, 100%, 72%, 0.35);
  box-shadow: var(--shadow-3);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 15px;
  position: relative;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-gradient-onyx);
  border: 1px solid hsla(45, 100%, 72%, 0.2);
  box-shadow: var(--shadow-1);
  flex-shrink: 0;
}

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

.testimonial-author {
  flex-grow: 1;
}

.testimonial-name {
  color: var(--white-1);
  font-size: 16px;
  font-weight: var(--fw-600);
  margin-bottom: 2px;
}

.testimonial-role {
  color: var(--orange-yellow-crayola);
  font-size: 12px;
  font-weight: var(--fw-400);
}

.testimonial-quote-icon {
  color: var(--light-gray-70);
  font-size: 24px;
  opacity: 0.4;
  margin-left: auto;
}

.testimonial-body {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.6;
  font-style: normal;
}

/**
 * #Clients
 */
.clients { margin-bottom: 15px; }
.clients-title { margin-bottom: 20px; }

.clients-list {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  margin: 0 -15px;
  padding: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.clients-item {
  min-width: 140px;
  background: var(--onyx);
  border: 1px solid var(--jet);
  border-radius: 14px;
  padding: 14px 16px;
  text-align: center;
  transition: var(--transition-1);
}

.clients-item:hover {
  border-color: var(--orange-yellow-crayola);
  transform: translateY(-2px);
}

.clients-item img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  margin: 0 auto 8px;
  border-radius: 10px;
}

.clients-item p {
  font-size: 12px;
  color: var(--white-2);
  font-weight: var(--fw-500);
}

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

.timeline { margin-bottom: 35px; }

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

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

.timeline-item { position: relative; }

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

.timeline-item-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 8px;
}

.timeline-item-title {
  font-size: 16px;
  font-weight: var(--fw-600);
  line-height: 1.3;
  color: var(--white-1);
}

.timeline-item-company {
  color: var(--orange-yellow-crayola);
  font-size: 13px;
  font-weight: var(--fw-500);
}

.timeline-item-company a {
  color: var(--orange-yellow-crayola);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.timeline-list span.timeline-period {
  color: var(--vegas-gold);
  font-weight: var(--fw-400);
  font-size: 12px;
  display: inline-block;
  margin-bottom: 6px;
}

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

.timeline-item::after {
  content: "";
  position: absolute;
  top: 5px;
  left: -28px;
  height: 8px;
  width: 8px;
  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;
}

.timeline-bullets {
  margin-top: 8px;
  padding-left: 18px;
}

.timeline-bullets li {
  list-style: disc;
  color: var(--light-gray);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 5px;
  font-weight: var(--fw-300);
}

.timeline-bullets li strong {
  color: var(--white-2);
  font-weight: var(--fw-500);
}

/**
 * #Skills Matrix & Tech Stack Grid
 */
.skill { margin-bottom: 25px; }
.skills-title { margin-bottom: 20px; }

.skills-categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.skill-category-card {
  background: var(--border-gradient-onyx);
  padding: 18px;
  border-radius: 14px;
  position: relative;
}

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

.category-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.category-icon {
  color: var(--orange-yellow-crayola);
  font-size: 18px;
}

.category-icon.ai {
  color: var(--purple-400);
}

.category-title {
  color: var(--white-2);
  font-size: 14px;
  font-weight: var(--fw-600);
}

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

.tech-pill {
  background: hsla(240, 1%, 17%, 0.8);
  border: 1px solid var(--jet);
  color: var(--white-2);
  font-size: 12px;
  font-weight: var(--fw-400);
  padding: 5px 12px;
  border-radius: 8px;
  transition: var(--transition-1);
}

.tech-pill:hover {
  border-color: var(--orange-yellow-crayola);
  color: var(--orange-yellow-crayola);
  transform: translateY(-2px);
}

.tech-pill.highlight {
  background: hsla(45, 100%, 72%, 0.12);
  border-color: hsla(45, 100%, 72%, 0.35);
  color: var(--orange-yellow-crayola);
  font-weight: var(--fw-500);
}

.tech-pill.highlight-ai {
  background: hsla(280, 85%, 68%, 0.12);
  border-color: hsla(280, 85%, 68%, 0.35);
  color: var(--purple-400);
  font-weight: var(--fw-500);
}

/* Linear Skill Bars */
.skills-list {
  padding: 20px;
}

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

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

.skill .title-wrapper h5 {
  font-size: 13px;
  font-weight: var(--fw-500);
  color: var(--white-2);
}

.skill .title-wrapper data {
  color: var(--orange-yellow-crayola);
  font-size: 12px;
  font-weight: var(--fw-600);
}

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

.skill-progress-fill {
  background: var(--text-gradient-yellow);
  height: 100%;
  border-radius: inherit;
  box-shadow: 0 0 10px rgba(255, 219, 112, 0.4);
}

.skill-progress-fill.ai {
  background: var(--text-gradient-purple);
  box-shadow: 0 0 10px rgba(192, 132, 252, 0.4);
}

/*-----------------------------------*\
  #PROJECTS SECTION
\*-----------------------------------*/

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

.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: 5;
  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 { background: hsl(240, 2%, 20%); color: var(--white-1); }

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

.project-item { display: none; }

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

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

.project-card {
  background: var(--border-gradient-onyx);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-2);
  transition: var(--transition-smooth);
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-4);
  border-color: hsla(45, 100%, 72%, 0.4);
}

.project-img-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  z-index: 1;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img-wrapper img {
  transform: scale(1.06);
}

.project-badge-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(18, 18, 20, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--orange-yellow-crayola);
  color: var(--orange-yellow-crayola);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: var(--fw-600);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.project-badge-tag.ai {
  border-color: var(--purple-400);
  color: var(--purple-400);
}

.project-card-content {
  padding: 18px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-client-name {
  color: var(--orange-yellow-crayola);
  font-size: 11px;
  font-weight: var(--fw-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.project-title {
  color: var(--white-1);
  font-size: 16px;
  font-weight: var(--fw-600);
  line-height: 1.4;
  margin-bottom: 8px;
}

.project-desc-short {
  color: var(--light-gray);
  font-size: 13px;
  font-weight: var(--fw-300);
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-tech-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  margin-bottom: 12px;
}

.mini-tech-tag {
  background: hsla(0, 0%, 100%, 0.05);
  border: 1px solid hsla(0, 0%, 100%, 0.08);
  color: var(--light-gray-70);
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 5px;
  font-weight: var(--fw-400);
}

.view-case-study-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange-yellow-crayola);
  font-size: 12px;
  font-weight: var(--fw-500);
  margin-top: 5px;
}

.view-case-study-btn ion-icon {
  font-size: 14px;
  transition: transform var(--transition-1);
}

.project-card:hover .view-case-study-btn ion-icon {
  transform: translateX(4px);
}

/*-----------------------------------*\
  #TOP-LEVEL FULL-VIEWPORT MODALS
\*-----------------------------------*/

.modal-container,
.project-modal-container {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  z-index: 99999 !important;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  padding: 40px 16px;
  box-sizing: border-box;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

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

.modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(8, 8, 12, 0.88) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  z-index: 1 !important;
}

.project-modal,
.testimonials-modal {
  background: var(--eerie-black-2) !important;
  border: 1px solid var(--jet) !important;
  border-radius: 22px !important;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7) !important;
  width: 100% !important;
  margin: auto !important; /* Perfect horizontal & vertical centering */
  position: relative !important;
  z-index: 2 !important;
  padding: 26px !important;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.project-modal {
  max-width: 780px !important;
}

.testimonials-modal {
  max-width: 520px !important;
}

.modal-container.active .testimonials-modal,
.project-modal-container.active .project-modal {
  transform: scale(1) translateY(0) !important;
}

.modal-close-btn {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  background: var(--onyx) !important;
  border: 1px solid var(--jet) !important;
  border-radius: 10px !important;
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  color: var(--white-2) !important;
  font-size: 22px !important;
  opacity: 0.8 !important;
  transition: var(--transition-1) !important;
  z-index: 10 !important;
}

.modal-close-btn:hover {
  opacity: 1 !important;
  background: var(--jet) !important;
  color: var(--orange-yellow-crayola) !important;
  transform: rotate(90deg) !important;
}

.project-modal-img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 20px;
  border: 1px solid var(--jet);
  box-shadow: var(--shadow-2);
}

/* Modal Gallery Switcher for Multi-Image Projects */
.modal-gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.modal-gallery-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--onyx);
  border: 1px solid var(--jet);
  color: var(--light-gray);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: var(--fw-500);
  transition: var(--transition-1);
}

.modal-gallery-btn:hover {
  color: var(--white-1);
  border-color: var(--orange-yellow-crayola);
}

.modal-gallery-btn.active {
  background: hsla(45, 100%, 72%, 0.15);
  border-color: var(--orange-yellow-crayola);
  color: var(--orange-yellow-crayola);
}

.modal-project-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.modal-project-badge {
  background: hsla(45, 100%, 72%, 0.12);
  border: 1px solid hsla(45, 100%, 72%, 0.3);
  color: var(--orange-yellow-crayola);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: var(--fw-600);
}

.modal-project-client {
  color: var(--light-gray-70);
  font-size: 13px;
}

.modal-project-title {
  color: var(--white-1);
  font-size: 22px;
  font-weight: var(--fw-700);
  margin-bottom: 15px;
}

.modal-project-desc {
  color: var(--light-gray);
  font-size: 14px;
  font-weight: var(--fw-300);
  line-height: 1.7;
  margin-bottom: 20px;
}

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

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

.modal-features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.modal-feature-item {
  background: var(--onyx);
  border: 1px solid hsla(0, 0%, 100%, 0.06);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--light-gray);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.modal-feature-item ion-icon {
  color: var(--emerald-500);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.modal-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

/* Testimonial Modal Specifics */
.modal-avatar-box {
  background: var(--bg-gradient-onyx);
  width: 72px;
  height: 72px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid hsla(45, 100%, 72%, 0.25);
  box-shadow: var(--shadow-2);
}

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

.modal-img-wrapper > img { display: none; }
.modal-title {
  color: var(--white-1);
  font-size: 20px;
  font-weight: var(--fw-600);
  margin-bottom: 4px;
}

.modal-content time {
  display: none;
}

.modal-content p {
  color: var(--light-gray);
  font-size: 15px;
  font-weight: var(--fw-300);
  line-height: 1.7;
}

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

.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) contrast(1.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: 14px 18px;
  border: 1px solid var(--jet);
  border-radius: 14px;
  background: var(--onyx);
  outline: none;
  transition: var(--transition-1);
}

.form-input::placeholder {
  color: var(--light-gray-70);
  font-weight: var(--fw-400);
}

.form-input:focus {
  border-color: var(--orange-yellow-crayola);
  box-shadow: 0 0 10px rgba(255, 219, 112, 0.2);
}

textarea.form-input {
  min-height: 120px;
  height: 140px;
  resize: vertical;
  margin-bottom: 20px;
}

.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: 14px 24px;
  border-radius: 14px;
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  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:hover { background: var(--bg-gradient-yellow-1); }
.form-btn:hover::before { background: var(--bg-gradient-yellow-2); }

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

/* Toast Feedback Notification */
.toast-notification {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: var(--eerie-black-1);
  border: 1px solid var(--orange-yellow-crayola);
  color: var(--white-1);
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-5);
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  z-index: 100000;
}

.toast-notification.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.toast-notification ion-icon {
  color: var(--emerald-500);
  font-size: 18px;
}

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

@media (min-width: 450px) {
  .clients-item { min-width: calc(33.33% - 10px); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .modal-features-list { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 580px) {
  :root {
    --fs-1: 30px;
    --fs-2: 24px;
    --fs-3: 26px;
    --fs-4: 18px;
    --fs-6: 15px;
    --fs-7: 15px;
    --fs-8: 12px;
  }

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

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

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

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

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

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

  .sidebar-info { gap: 25px; }

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

  .info-content .name { margin-bottom: 10px; }
  .info-content .title { padding: 5px 16px; font-size: 12px; }

  .info_more-btn {
    top: -30px;
    right: -30px;
    padding: 12px 18px;
  }

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

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

  .separator { margin: 28px 0; }
  .contacts-list { gap: 20px; }

  .navbar { border-radius: 20px 20px 0 0; }
  .navbar-list { gap: 20px; }
  .navbar-link { --fs-8: 14px; }

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

  .service-icon-box { margin-bottom: 0; flex-shrink: 0; }

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

  .timeline-list { margin-left: 55px; }
  .timeline-item:not(:last-child)::before { left: -35px; }
  .timeline-item::after {
    height: 8px;
    width: 8px;
    left: -38px;
  }

  .project-img-wrapper { height: 220px; }
  .mapbox { height: 350px; }
  .input-wrapper { gap: 25px; }
}

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

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

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

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

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

  .filter-item button {
    color: var(--light-gray);
    font-size: 14px;
    font-weight: var(--fw-500);
    padding: 6px 14px;
    border-radius: 10px;
    transition: var(--transition-1);
  }

  .filter-item button:hover {
    color: var(--white-1);
    background: hsla(0, 0%, 100%, 0.05);
  }

  .filter-item button.active {
    color: var(--orange-yellow-crayola);
    background: hsla(45, 100%, 72%, 0.1);
    border: 1px solid hsla(45, 100%, 72%, 0.25);
  }

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

  .input-wrapper { grid-template-columns: 1fr 1fr; }
  .form-btn { width: max-content; margin-left: auto; }
}

@media (min-width: 1024px) {
  .sidebar, article {
    width: 960px;
    box-shadow: var(--shadow-5);
  }

  main { margin-bottom: 60px; }

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

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

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

  /* Guaranteed Zero Collision between Article Title & Absolute Navbar */
  .article-header {
    padding-right: 430px;
    margin-bottom: 30px;
  }

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

  .clients-item { min-width: calc(25% - 20px); }
  .project-list { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1250px) {
  main {
    max-width: 1240px;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
  }

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

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

  .sidebar-info { flex-direction: column; text-align: center; }
  .avatar-box img { width: 140px; }

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

  .info-content .title { margin: auto; }
  .info-content .status-pill { margin: 0 auto 8px; }

  .info_more-btn { display: none; }

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

  .contacts-list { grid-template-columns: 1fr; }
  .social-list { justify-content: center; }
}

/*-----------------------------------*\
  #PRINT STYLES FOR CV EXPORT
\*-----------------------------------*/

@media print {
  body {
    background: #fff !important;
    color: #111 !important;
  }

  body::before, body::after, .navbar, .mapbox, .contact-form, .info_more-btn, .sidebar-actions, .project-modal-container, .modal-container, .modal-backdrop, .toast-notification {
    display: none !important;
  }

  main {
    margin: 0 !important;
    display: block !important;
    max-width: 100% !important;
  }

  .sidebar, article {
    width: 100% !important;
    border: none !important;
    box-shadow: none !important;
    background: #fff !important;
    padding: 0 !important;
    margin-bottom: 20px !important;
  }

  article {
    display: block !important;
    page-break-inside: avoid;
  }

  .article-header {
    padding-right: 0 !important;
  }

  .h2, .h3, .h4, .h5, .info-content .name, .timeline-item-title {
    color: #111 !important;
  }

  .timeline-text, .service-item-text, .about-text {
    color: #333 !important;
  }

  .timeline-list span.timeline-period, .timeline-item-company {
    color: #b45309 !important;
  }
}