/*===================================================================
  Md Razwanul Hasan — Portfolio Stylesheet
  Architecture: Variables → Reset → Base → Layout → Components → Pages → Responsive
  Redesigned: February 2026
=====================================================================*/


/*-----------------------------------*\
  §1. CUSTOM PROPERTIES (Design Tokens)
\*-----------------------------------*/

:root {

  /* ─── Color Palette ─── */

  /* 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.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 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(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%);

  /* Accent Colors */
  --accent-teal: hsl(174, 60%, 51%);
  --accent-teal-10: hsla(174, 60%, 51%, 0.1);
  --success-green: hsl(142, 71%, 45%);

  /* ─── Typography ─── */
  --ff-poppins: 'Poppins', sans-serif;
  --fs-1: 24px;
  --fs-2: 18px;
  --fs-3: 17px;
  --fs-4: 16px;
  --fs-5: 15px;
  --fs-6: 14px;
  --fs-7: 13px;
  --fs-8: 11px;
  --fw-300: 300;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;

  /* ─── Shadows ─── */
  --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);
  --shadow-glow: 0 0 20px hsla(45, 100%, 72%, 0.15);

  /* ─── Transitions ─── */
  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease-in-out;
  --transition-3: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* ─── Border Radius ─── */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 30px;
}


/*-----------------------------------*\
  §2. 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);
  scroll-behavior: smooth;
}

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


/*-----------------------------------*\
  §3. REUSED / BASE STYLES
\*-----------------------------------*/

.sidebar,
article {
  background: var(--eerie-black-2);
  border: 1px solid var(--jet);
  border-radius: var(--radius-lg);
  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: var(--radius-sm);
  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: fadeSlideUp 0.6s ease backwards;
}

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

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

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

.h2 { font-size: var(--fs-1); }
.h3 { font-size: var(--fs-2); }
.h4 { font-size: var(--fs-4); }

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

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

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

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

.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 */
.content-card {
  position: relative;
  background: var(--border-gradient-onyx);
  padding: 15px;
  padding-top: 45px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2);
  cursor: pointer;
  z-index: 1;
  transition: transform var(--transition-3), box-shadow var(--transition-3);
}

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

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

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}


/*-----------------------------------*\
  §4. MAIN LAYOUT
\*-----------------------------------*/

main {
  margin: 15px 12px;
  margin-bottom: 75px;
  min-width: 259px;
}


/*-----------------------------------*\
  §5. SIDEBAR
\*-----------------------------------*/

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

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

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

.avatar-box {
  background: var(--bg-gradient-onyx);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.avatar-box::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: var(--text-gradient-yellow);
  z-index: -1;
}

.avatar-box img {
  border-radius: var(--radius-lg);
}

.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: var(--radius-sm);
}

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

.contact-link {
  transition: color var(--transition-1);
}

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

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

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

/* CV Download Button */
.cv-download-wrapper {
  margin-top: 16px;
  padding: 0 7px;
}

.cv-download-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--text-gradient-yellow);
  color: var(--smoky-black);
  font-size: var(--fs-6);
  font-weight: var(--fw-600);
  border-radius: var(--radius-md);
  transition: transform var(--transition-1), box-shadow var(--transition-1);
  cursor: pointer;
  border: none;
}

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

.cv-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.cv-download-btn:active {
  transform: translateY(0);
}

/* Theme Toggle Button */
.theme-toggle-wrapper {
  margin-top: 10px;
  padding: 0 7px;
}

.theme-toggle-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--border-gradient-onyx);
  color: var(--light-gray);
  font-size: var(--fs-7);
  font-weight: var(--fw-400);
  border-radius: var(--radius-md);
  border: 1px solid var(--jet);
  cursor: pointer;
  transition: var(--transition-1);
  position: relative;
  z-index: 1;
}

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

.theme-toggle-btn:hover {
  color: var(--orange-yellow-crayola);
}

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

/* Show/hide icons based on theme */
.theme-icon-dark { display: block; }
.theme-icon-light { display: none; }

[data-theme="light"] .theme-icon-dark { display: none; }
[data-theme="light"] .theme-icon-light { display: block; }


/*-----------------------------------*\
  LIGHT THEME
\*-----------------------------------*/

[data-theme="light"] {
  --smoky-black: hsl(0, 0%, 96%);
  --eerie-black-1: hsl(0, 0%, 100%);
  --eerie-black-2: hsl(0, 0%, 100%);
  --onyx: hsl(0, 0%, 90%);
  --jet: hsl(0, 0%, 85%);
  --white-1: hsl(0, 0%, 15%);
  --white-2: hsl(0, 0%, 20%);
  --light-gray: hsl(0, 0%, 40%);
  --light-gray-70: hsla(0, 0%, 40%, 0.7);

  --bg-gradient-onyx: linear-gradient(
    to bottom right,
    hsl(0, 0%, 90%) 3%,
    hsl(0, 0%, 85%) 97%
  );
  --bg-gradient-jet: linear-gradient(
    to bottom right,
    hsla(0, 0%, 95%, 0.8) 0%,
    hsla(0, 0%, 100%, 0.9) 100%
  ), hsl(0, 0%, 98%);
  --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.15) 0%,
    hsla(35, 100%, 68%, 0) 59.86%
  ), hsl(0, 0%, 98%);
  --border-gradient-onyx: linear-gradient(
    to bottom right,
    hsl(0, 0%, 82%) 0%,
    hsla(0, 0%, 82%, 0) 50%
  );

  --shadow-1: -4px 8px 24px hsla(0, 0%, 0%, 0.08);
  --shadow-2: 0 16px 30px hsla(0, 0%, 0%, 0.08);
  --shadow-3: 0 16px 40px hsla(0, 0%, 0%, 0.1);
  --shadow-4: 0 25px 50px hsla(0, 0%, 0%, 0.06);
  --shadow-5: 0 24px 80px hsla(0, 0%, 0%, 0.1);
  --shadow-glow: 0 0 20px hsla(45, 100%, 72%, 0.2);
}

[data-theme="light"] .sidebar,
[data-theme="light"] article {
  border-color: hsl(0, 0%, 85%);
  box-shadow: 0 4px 24px hsla(0, 0%, 0%, 0.06);
}

[data-theme="light"] .navbar {
  background: hsla(0, 0%, 100%, 0.85);
  border-color: hsl(0, 0%, 88%);
}

[data-theme="light"] .mapbox iframe {
  filter: grayscale(0) invert(0);
}

[data-theme="light"] .form-input {
  border-color: hsl(0, 0%, 85%);
  color: hsl(0, 0%, 20%);
}

[data-theme="light"] .form-input::placeholder {
  color: hsl(0, 0%, 55%);
}

[data-theme="light"] body::-webkit-scrollbar-track {
  background: hsl(0, 0%, 96%);
}

[data-theme="light"] body::-webkit-scrollbar-thumb {
  border-color: hsl(0, 0%, 96%);
  background: hsla(0, 0%, 0%, 0.15);
}

[data-theme="light"] body::-webkit-scrollbar-thumb:hover {
  background: hsla(0, 0%, 0%, 0.25);
}

[data-theme="light"] .project-modal {
  background: hsla(0, 0%, 100%, 0.85);
}

[data-theme="light"] .project-modal-close {
  background: hsla(0, 0%, 0%, 0.1);
  color: hsl(0, 0%, 20%);
}

[data-theme="light"] .tech-tag {
  background: hsl(0, 0%, 95%);
  border-color: hsl(0, 0%, 85%);
}

[data-theme="light"] .theme-toggle-btn {
  border-color: hsl(0, 0%, 85%);
}

/* Form Status Messages */
.form-status {
  margin-bottom: 15px;
  padding: 0;
  font-size: var(--fs-7);
  font-weight: var(--fw-400);
  border-radius: var(--radius-sm);
  display: none;
}

.form-status.show {
  display: block;
  padding: 12px 16px;
}

.form-status.success {
  background: hsla(142, 71%, 45%, 0.15);
  color: var(--success-green);
  border: 1px solid hsla(142, 71%, 45%, 0.3);
}

.form-status.error {
  background: hsla(0, 43%, 51%, 0.15);
  color: var(--bittersweet-shimmer);
  border: 1px solid hsla(0, 43%, 51%, 0.3);
}

/* Project Links in Modal */
.project-modal-links {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.project-modal-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
  transition: var(--transition-1);
  text-decoration: none;
}

.project-modal-link.github {
  background: var(--onyx);
  color: var(--white-2);
  border: 1px solid var(--jet);
}

.project-modal-link.live {
  background: var(--text-gradient-yellow);
  color: var(--smoky-black);
}

.project-modal-link.playstore {
  background: #01875f;
  color: #ffffff;
  border: none;
}

.project-modal-link.appstore {
  background: #1c1c1e;
  color: #ffffff;
  border: 1px solid #3a3a3c;
}

.project-modal-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  opacity: 0.9;
}

.project-modal-link ion-icon,
.project-modal-link svg {
  font-size: 16px;
  flex-shrink: 0;
}


/*-----------------------------------*\
  §6. NAVBAR
\*-----------------------------------*/

.navbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: hsla(240, 1%, 17%, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--jet);
  border-radius: 12px 12px 0 0;
  box-shadow: var(--shadow-2);
  z-index: 5;
}

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

.navbar-link {
  color: var(--light-gray);
  font-size: var(--fs-8);
  padding: 20px 7px;
  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: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--orange-yellow-crayola);
  border-radius: 50%;
}


/*-----------------------------------*\
  §7. ABOUT PAGE
\*-----------------------------------*/

.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-text strong {
  color: var(--orange-yellow-crayola);
  font-weight: var(--fw-500);
}

/* Stats Section */
.stats-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 35px;
}

.stat-card {
  background: var(--border-gradient-onyx);
  padding: 20px 15px;
  border-radius: var(--radius-md);
  text-align: center;
  position: relative;
  z-index: 1;
  transition: transform var(--transition-3);
}

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

.stat-card:hover {
  transform: translateY(-3px);
}

.stat-number {
  font-size: 32px;
  font-weight: var(--fw-700);
  background: var(--text-gradient-yellow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.stat-number::after {
  content: "+";
  font-size: 20px;
}

.stat-label {
  color: var(--light-gray-70);
  font-size: var(--fs-7);
  font-weight: var(--fw-300);
  margin-top: 4px;
}

/* 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: var(--radius-md);
  box-shadow: var(--shadow-2);
  z-index: 1;
  transition: transform var(--transition-3), box-shadow var(--transition-3);
}

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

.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-300);
  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: var(--radius-md);
  box-shadow: var(--shadow-1);
}

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

.testimonials-item-role {
  color: var(--vegas-gold);
  font-size: var(--fs-8);
  font-weight: var(--fw-300);
  margin-bottom: 8px;
}

.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: var(--radius-md);
  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: var(--radius-sm);
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white-2);
  font-size: 18px;
  opacity: 0.7;
  transition: opacity var(--transition-1);
}

.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: var(--radius-md);
  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;
}


/*-----------------------------------*\
  §8. RESUME PAGE
\*-----------------------------------*/

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

/* Timeline */
.timeline { margin-bottom: 30px; }

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

.timeline .title-wrapper .h3 {
  margin-right: 0;
}

.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-company {
  display: inline-block;
  color: var(--orange-yellow-crayola) !important;
  font-weight: var(--fw-500) !important;
  font-size: var(--fs-7);
}

.timeline-date {
  display: inline-block;
  font-size: var(--fs-7) !important;
}

.timeline-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-8) !important;
  color: var(--light-gray-70) !important;
  margin-bottom: 6px;
}

.timeline-location ion-icon {
  font-size: 12px;
  color: var(--light-gray-70);
}

.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;
  overflow: hidden;
}

.skill-progress-fill {
  background: var(--text-gradient-yellow);
  height: 100%;
  border-radius: inherit;
  width: 0;
  transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.skill-progress-fill.animate {
  transition-delay: 0.1s;
}


/*-----------------------------------*\
  §9. PORTFOLIO PAGE
\*-----------------------------------*/

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

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

/* Play Store icon images (square) — center with padding */
.project-img img[src*="play-lh.googleusercontent.com"] {
  object-fit: contain;
  background: hsl(240, 2%, 16%);
  padding: 20px;
}

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

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

/* Project Modal */
.project-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 30;
  background: hsla(0, 0%, 5%, 0.85);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  overflow-y: auto;
  padding: 40px 15px;
}

.project-modal.active {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  animation: fade 0.3s ease;
}

.project-modal-content {
  background: var(--eerie-black-2);
  border: 1px solid var(--jet);
  border-radius: var(--radius-lg);
  max-width: 780px;
  width: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-5);
  max-height: 90vh;
  overflow-y: auto;
}

.project-modal-close {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 32px;
  color: var(--white-2);
  background: hsla(0, 0%, 0%, 0.5);
  border: none;
  cursor: pointer;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background var(--transition-1);
  line-height: 1;
}

.project-modal-close:hover {
  background: hsla(0, 43%, 51%, 0.7);
}

.project-modal-img {
  width: 100%;
  height: 350px;
  object-fit: fill;
}

.project-modal-details {
  padding: 25px;
}

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

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

.project-modal-tech h4 { display: none; } /* replaced by .project-modal-section-title */

.project-modal-section-title {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--white-2);
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  margin-bottom: 12px;
}

.project-modal-section-title ion-icon {
  color: var(--orange-yellow-crayola);
  font-size: 16px;
}

/* Key Features List */
.project-modal-highlights {
  margin-bottom: 22px;
}

.project-modal-highlights-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
}

.project-modal-highlights-list li {
  position: relative;
  color: var(--light-gray);
  font-size: var(--fs-7);
  font-weight: var(--fw-300);
  line-height: 1.5;
  padding: 6px 10px 6px 30px;
  background: hsla(45, 100%, 72%, 0.04);
  border-radius: var(--radius-sm);
  border-left: 2px solid hsla(45, 100%, 72%, 0.3);
  list-style: none;
}

.project-modal-highlights-list li::before {
  content: "\2713";
  position: absolute;
  left: 10px;
  top: 6px;
  color: var(--success-green);
  font-weight: var(--fw-600);
  font-size: 12px;
}

/* Companion App Card */
.project-modal-companion {
  margin-bottom: 22px;
}

.companion-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--border-gradient-onyx);
  border-radius: var(--radius-md);
  position: relative;
  z-index: 1;
}

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

.companion-card-icon {
  width: 42px;
  min-width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: hsla(45, 100%, 72%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--orange-yellow-crayola);
}

.companion-card-body strong {
  display: block;
  color: var(--white-2);
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  margin-bottom: 4px;
}

.companion-card-body p {
  color: var(--light-gray-70);
  font-size: var(--fs-8);
  font-weight: var(--fw-300);
  line-height: 1.5;
  margin-bottom: 10px;
}

.companion-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.companion-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: var(--fs-8);
  font-weight: var(--fw-500);
  transition: transform var(--transition-1), box-shadow var(--transition-1);
}

.companion-link.playstore {
  background: hsla(142, 71%, 45%, 0.12);
  color: var(--success-green);
  border: 1px solid hsla(142, 71%, 45%, 0.3);
}

.companion-link.appstore {
  background: hsla(210, 80%, 55%, 0.12);
  color: hsl(210, 80%, 65%);
  border: 1px solid hsla(210, 80%, 55%, 0.3);
}

.companion-link:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}

.companion-link svg { flex-shrink: 0; }

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

.tech-tag {
  background: var(--onyx);
  color: var(--orange-yellow-crayola);
  font-size: var(--fs-8);
  font-weight: var(--fw-400);
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid var(--jet);
}


/*-----------------------------------*\
  §10. BLOG PAGE
\*-----------------------------------*/

.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;
  transition: transform var(--transition-3), box-shadow var(--transition-3);
}

.blog-post-item > a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-5);
}

.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-category {
  color: var(--orange-yellow-crayola) !important;
  font-weight: var(--fw-400) !important;
}

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


/*-----------------------------------*\
  §11. CONTACT PAGE
\*-----------------------------------*/

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

/* Quick Contact Cards */
.contact-quick-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-bottom: 30px;
}

.quick-contact-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  background: var(--border-gradient-onyx);
  border-radius: var(--radius-md);
  position: relative;
  z-index: 1;
  transition: transform var(--transition-3), box-shadow var(--transition-3);
}

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

.quick-contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}

.quick-contact-icon {
  width: 45px;
  height: 45px;
  border-radius: var(--radius-sm);
  background: var(--onyx);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--orange-yellow-crayola);
  flex-shrink: 0;
}

.quick-contact-icon.whatsapp { color: var(--success-green); }
.quick-contact-icon.linkedin { color: hsl(210, 80%, 55%); }

.quick-contact-info h4 {
  color: var(--white-2);
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  margin-bottom: 2px;
}

.quick-contact-info p {
  color: var(--light-gray-70);
  font-size: var(--fs-7);
  font-weight: var(--fw-300);
}

/* Contact Form */
.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: var(--radius-md);
  outline: none;
  transition: border-color var(--transition-1);
}

.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: var(--radius-md);
  font-size: var(--fs-6);
  text-transform: capitalize;
  box-shadow: var(--shadow-3);
  z-index: 1;
  transition: var(--transition-1);
}

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

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

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

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

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

.form-whatsapp-hint {
  font-size: 12px;
  color: var(--light-gray-70);
  text-align: right;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}
.form-whatsapp-hint::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2325D366'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E") no-repeat center/contain;
}



/*-----------------------------------*\
  §13. BUSINESS SERVICES PAGE
\*-----------------------------------*/

/* ── About CTA (sits on About page between intro text and stats) ── */

.about-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 5px;
  margin-bottom: 30px;
}

.about-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
  cursor: pointer;
  transition: transform var(--transition-1), box-shadow var(--transition-1);
  border: none;
}

.about-cta-btn:not(.secondary) {
  background: var(--text-gradient-yellow);
  color: var(--smoky-black);
}

.about-cta-btn:not(.secondary):hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.about-cta-btn.secondary {
  position: relative;
  background: var(--border-gradient-onyx);
  color: var(--success-green);
  border: 1px solid hsla(142, 71%, 45%, 0.4);
  z-index: 1;
}

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

.about-cta-btn.secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px hsla(142, 71%, 45%, 0.15);
}

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


/* ── Services Hero ── */

.biz-hero {
  position: relative;
  background: var(--border-gradient-onyx);
  border-radius: var(--radius-md);
  padding: 25px 20px;
  margin-bottom: 35px;
  z-index: 1;
}

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

.biz-hero-text {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.7;
  margin-bottom: 20px;
}

.biz-hero-text strong {
  color: var(--orange-yellow-crayola);
  font-weight: var(--fw-500);
}

.biz-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.biz-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: hsla(45, 100%, 72%, 0.08);
  color: var(--orange-yellow-crayola);
  font-size: var(--fs-8);
  font-weight: var(--fw-500);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid hsla(45, 100%, 72%, 0.2);
  white-space: nowrap;
}

.biz-badge ion-icon {
  font-size: 13px;
  display: inline;
}


/* ── Service Cards ── */

.biz-services-section { margin-bottom: 40px; }

.biz-section-title {
  margin-bottom: 20px;
  color: var(--white-2);
}

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

.biz-service-card {
  position: relative;
  background: var(--border-gradient-onyx);
  border-radius: var(--radius-md);
  padding: 25px;
  z-index: 1;
  transition: transform var(--transition-3), box-shadow var(--transition-3);
}

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

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

.biz-card-header {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
}

.biz-card-icon {
  width: 48px;
  min-width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: hsla(45, 100%, 72%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--orange-yellow-crayola);
}

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

.biz-card-tagline {
  color: var(--vegas-gold);
  font-size: var(--fs-8);
  font-weight: var(--fw-400);
}

.biz-card-outcome {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.6;
  margin-bottom: 18px;
}

.biz-card-deliverables { margin-bottom: 18px; }

.biz-card-deliverables li {
  position: relative;
  color: var(--light-gray);
  font-size: var(--fs-7);
  font-weight: var(--fw-300);
  line-height: 1.5;
  padding: 5px 0 5px 20px;
  list-style: none;
}

.biz-card-deliverables li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--success-green);
  font-weight: var(--fw-600);
  font-size: 12px;
}

.biz-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 15px;
  border-top: 1px solid var(--jet);
}

.biz-timeline {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--light-gray-70);
  font-size: var(--fs-8);
  font-weight: var(--fw-300);
}

.biz-timeline ion-icon {
  color: var(--orange-yellow-crayola);
  font-size: 13px;
}

.biz-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.biz-tech-tag {
  background: var(--onyx);
  color: var(--light-gray-70);
  font-size: var(--fs-8);
  font-weight: var(--fw-400);
  padding: 3px 10px;
  border-radius: 10px;
  border: 1px solid var(--jet);
}


/* ── Process Steps ── */

.biz-process-section { margin-bottom: 40px; }

.biz-process-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.biz-process-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px;
  background: var(--border-gradient-onyx);
  border-radius: var(--radius-md);
  z-index: 1;
  transition: transform var(--transition-3);
  list-style: none;
}

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

.biz-process-item:hover { transform: translateY(-2px); }

.biz-process-icon {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: hsla(45, 100%, 72%, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--orange-yellow-crayola);
}

.biz-process-body .h4 {
  font-size: var(--fs-5);
  margin-bottom: 6px;
}

.biz-process-body p {
  color: var(--light-gray);
  font-size: var(--fs-7);
  font-weight: var(--fw-300);
  line-height: 1.5;
}


/* ── CTA Band ── */

.biz-cta {
  position: relative;
  background: var(--border-gradient-onyx);
  border-radius: var(--radius-md);
  padding: 35px 25px;
  text-align: center;
  margin-bottom: 10px;
  z-index: 1;
  box-shadow: var(--shadow-glow);
}

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

.biz-cta-title {
  color: var(--white-2);
  margin-bottom: 12px;
}

.biz-cta-text {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.6;
  margin-bottom: 25px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.biz-cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.biz-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--text-gradient-yellow);
  color: var(--smoky-black);
  font-size: var(--fs-6);
  font-weight: var(--fw-600);
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: transform var(--transition-1), box-shadow var(--transition-1);
  width: 100%;
  max-width: 260px;
}

.biz-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.biz-cta-primary ion-icon { font-size: 17px; }

.biz-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--success-green);
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  border-radius: var(--radius-md);
  border: 1px solid hsla(142, 71%, 45%, 0.4);
  cursor: pointer;
  transition: transform var(--transition-1), background var(--transition-1);
  width: 100%;
  max-width: 260px;
}

.biz-cta-secondary:hover {
  background: hsla(142, 71%, 45%, 0.1);
  transform: translateY(-2px);
}

.biz-cta-secondary ion-icon { font-size: 17px; }

[data-theme="light"] .biz-cta {
  box-shadow: 0 0 20px hsla(45, 100%, 50%, 0.08);
}


/*-----------------------------------*\
  §12. RESPONSIVE DESIGN
\*-----------------------------------*/

/* ─── 450px+ ─── */
@media (min-width: 450px) {
  .project-img,
  .blog-banner-box { height: auto; }

  .stats-section { grid-template-columns: repeat(4, 1fr); }
}

/* ─── 580px+ ─── */
@media (min-width: 580px) {

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

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

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

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

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

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

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

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

  .sidebar-info { gap: 25px; }
  .avatar-box { border-radius: var(--radius-xl); }
  .avatar-box img { width: 120px; }
  .info-content .name { margin-bottom: 15px; }
  .info-content .title { padding: 5px 18px; }

  .info_more-btn {
    top: -30px;
    right: -30px;
    padding: 10px 15px;
  }

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

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

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

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

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

  /* About */
  .about .article-title { margin-bottom: 20px; }
  .about-text { margin-bottom: 40px; }

  .service-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-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: var(--radius-lg);
  }

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

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

  .testimonials-item-role {
    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: var(--radius-lg);
  }

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

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

  .contact-quick-links {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
  }

  .quick-contact-card {
    flex-direction: column;
    text-align: center;
    padding: 25px 15px;
  }

  /* About CTA */
  .about-cta { gap: 15px; }
  .about-cta-btn { font-size: var(--fs-6); padding: 13px 26px; }
  .about-cta-btn ion-icon { font-size: 17px; }

  /* Services Page */
  .biz-hero { padding: 30px; }
  .biz-hero-text { font-size: var(--fs-5); }
  .biz-cta { padding: 45px 30px; }
  .biz-section-title { margin-bottom: 25px; }

}

/* ─── 768px+ ─── */
@media (min-width: 768px) {

  .sidebar, article { width: 700px; }

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

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

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

  /* Testimonials modal */
  .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);
    position: relative;
    padding-bottom: 8px;
  }

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

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

  .filter-item button.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--orange-yellow-crayola);
    border-radius: 2px;
  }

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

  /* Stats */
  .stat-number { font-size: 36px; }
}

/* ─── 1024px+ ─── */
@media (min-width: 1024px) {

  :root {
    --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);
  }

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

  main { margin-bottom: 60px; }

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

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

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

  .navbar-link { font-weight: var(--fw-500); }

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

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

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

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

  /* Services Page */
  .biz-service-list { grid-template-columns: 1fr 1fr; gap: 25px; }
  .biz-process-list { grid-template-columns: repeat(3, 1fr); }
  .biz-cta-buttons { flex-direction: row; justify-content: center; }
  .biz-cta-primary,
  .biz-cta-secondary { width: auto; max-width: none; }

}

/* ─── 1250px+ ─── */
@media (min-width: 1250px) {

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

  .sidebar, article { width: auto; }
  article { min-height: 100%; }

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

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

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

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

  .avatar-box img { width: 150px; }

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

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

  .info_more-btn { display: none; }

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

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

  .contact-info :is(.contact-link) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .contact-info :is(.contact-link, time, address) {
    --fs-7: 14px;
    font-weight: var(--fw-300);
  }

  .separator:last-of-type {
    margin: 15px 0;
    opacity: 0;
  }

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

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

}


/*-------------------------------------------------------------------*\
  §NEW COMPONENTS — Added March 2026
\*-------------------------------------------------------------------*/

/* ─── Availability Badge ─── */
.availability-badge {
  display: flex;
  width: fit-content;
  margin: 8px auto 0;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  background: hsla(142, 71%, 45%, 0.12);
  border: 1px solid hsla(142, 71%, 45%, 0.35);
  border-radius: 20px;
  font-size: var(--fs-8);
  font-weight: var(--fw-500);
  color: var(--success-green);
  letter-spacing: 0.3px;
}

.avail-dot {
  width: 8px;
  height: 8px;
  background: var(--success-green);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 hsla(142, 71%, 45%, 0.5); }
  50% { box-shadow: 0 0 0 5px hsla(142, 71%, 45%, 0); }
}

[data-theme="light"] .availability-badge {
  background: hsla(142, 71%, 35%, 0.1);
  border-color: hsla(142, 71%, 35%, 0.3);
  color: hsl(142, 60%, 32%);
}

/* ─── Hire Me Button ─── */
.hire-me-wrapper {
  margin-top: 16px;
  padding: 0 7px;
}

.hire-me-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  background: linear-gradient(135deg, hsl(142, 71%, 40%), hsl(160, 60%, 38%));
  color: var(--white-1);
  font-size: var(--fs-6);
  font-weight: var(--fw-600);
  border-radius: var(--radius-md);
  transition: transform var(--transition-1), box-shadow var(--transition-1);
  text-decoration: none;
}

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

.hire-me-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px hsla(142, 71%, 45%, 0.35);
  color: var(--white-1);
}

[data-theme="light"] .hire-me-btn { color: #fff; }

/* ─── Tech Stack Section ─── */
.tech-stack-section {
  margin-bottom: 30px;
}

.tech-stack-title {
  margin-bottom: 18px;
}

.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.tech-stack-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  background: var(--border-gradient-onyx);
  border-radius: var(--radius-md);
  border: 1px solid var(--jet);
  transition: transform var(--transition-1), border-color var(--transition-1), box-shadow var(--transition-1);
  position: relative;
  z-index: 1;
}

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

.tech-stack-item:hover {
  transform: translateY(-3px);
  border-color: var(--orange-yellow-crayola);
  box-shadow: var(--shadow-glow);
}

.tech-stack-item img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.tech-stack-item span {
  font-size: var(--fs-8);
  font-weight: var(--fw-500);
  color: var(--light-gray);
  text-align: center;
  white-space: nowrap;
}

@media (min-width: 580px) {
  .tech-stack-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (min-width: 1250px) {
  .tech-stack-grid { grid-template-columns: repeat(9, 1fr); }
}

/* ─── Platform Badges on Project Cards ─── */
.project-platform-badges {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 5px;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: var(--fw-500);
  line-height: 1.4;
}

.platform-badge.android {
  background: hsla(142, 65%, 45%, 0.15);
  color: hsl(142, 65%, 55%);
  border: 1px solid hsla(142, 65%, 45%, 0.3);
}

.platform-badge.ios {
  background: hsla(210, 100%, 60%, 0.12);
  color: hsl(210, 80%, 65%);
  border: 1px solid hsla(210, 100%, 60%, 0.25);
}

.platform-badge.web {
  background: hsla(45, 100%, 72%, 0.1);
  color: var(--orange-yellow-crayola);
  border: 1px solid hsla(45, 100%, 72%, 0.25);
}

/* ─── FAQ Section ─── */
.faq-section {
  margin-bottom: 40px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--jet);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--border-gradient-onyx);
  position: relative;
  z-index: 1;
}

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

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  color: var(--white-2);
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  cursor: pointer;
  transition: color var(--transition-1);
  text-align: left;
}

.faq-question:hover { color: var(--orange-yellow-crayola); }

.faq-icon {
  font-size: 18px;
  flex-shrink: 0;
  transition: transform var(--transition-3);
  color: var(--light-gray-70);
}

.faq-item.open .faq-icon { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding var(--transition-1);
  padding: 0 20px;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 20px 16px;
}

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

/* ─── Contact Response Note ─── */
.contact-response-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
  background: hsla(45, 100%, 72%, 0.08);
  border: 1px solid hsla(45, 100%, 72%, 0.2);
  border-radius: var(--radius-md);
  color: var(--light-gray);
  font-size: var(--fs-7);
}

.contact-response-note ion-icon {
  font-size: 20px;
  color: var(--orange-yellow-crayola);
  flex-shrink: 0;
}

.contact-response-note strong {
  color: var(--orange-yellow-crayola);
}



/* ─── Trusted By / Client Logos Bar ─── */
.trusted-by-section {
  margin-bottom: 30px;
}

.trusted-by-label {
  font-size: var(--fs-8);
  font-weight: var(--fw-500);
  color: var(--light-gray-70);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
  margin-bottom: 16px;
}

.trusted-by-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: var(--border-gradient-onyx);
  border: 1px solid var(--jet);
  border-radius: var(--radius-md);
  min-width: 110px;
  min-height: 50px;
  transition: border-color var(--transition-1), transform var(--transition-1);
  position: relative;
  z-index: 1;
  text-decoration: none;
}

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

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

.client-logo-item img {
  max-height: 28px;
  max-width: 100px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.8);
  transition: filter var(--transition-1);
}

.client-logo-item:hover img {
  filter: grayscale(0) brightness(1);
}

.client-logo-text {
  font-size: var(--fs-7);
  font-weight: var(--fw-600);
  color: var(--light-gray);
  text-align: center;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

[data-theme="light"] .client-logo-item img {
  filter: grayscale(1) brightness(0.5);
}

/* ─── Video Demo Reel ─── */
.demo-reel-section {
  margin-bottom: 30px;
}

.demo-reel-title {
  margin-bottom: 16px;
}

.demo-reel-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--jet);
  background: var(--eerie-black-1);
}

.demo-reel-wrapper video,
.demo-reel-wrapper iframe {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  border: none;
}

.demo-reel-placeholder {
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, hsl(240, 2%, 11%) 0%, hsl(240, 2%, 15%) 100%);
  border: 2px dashed var(--jet);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}

.demo-reel-play-icon {
  font-size: 56px;
  color: var(--orange-yellow-crayola);
  opacity: 0.5;
}

.demo-reel-placeholder-text {
  font-size: var(--fs-4);
  font-weight: var(--fw-600);
  color: var(--white-2);
}

.demo-reel-placeholder-sub {
  font-size: var(--fs-7);
  color: var(--light-gray-70);
  font-weight: var(--fw-300);
}

.demo-reel-placeholder-sub code {
  font-size: var(--fs-8);
  color: var(--orange-yellow-crayola);
  background: hsla(45, 100%, 72%, 0.1);
  padding: 1px 5px;
  border-radius: 4px;
}

.demo-reel-github-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 8px 18px;
  background: var(--border-gradient-onyx);
  border: 1px solid var(--jet);
  border-radius: var(--radius-md);
  color: var(--light-gray);
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
  text-decoration: none;
  transition: color var(--transition-1), border-color var(--transition-1);
}

.demo-reel-github-link:hover {
  color: var(--orange-yellow-crayola);
  border-color: var(--orange-yellow-crayola);
}

/* ─── GitHub / Open Source Section ─── */
.github-section {
  margin-top: 40px;
}

.github-card {
  background: var(--border-gradient-onyx);
  border: 1px solid var(--jet);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: relative;
  z-index: 1;
}

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

.github-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.github-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--jet);
  flex-shrink: 0;
  object-fit: cover;
}

.github-card-info {
  flex: 1;
}

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

.github-bio {
  font-size: var(--fs-7);
  color: var(--light-gray-70);
  font-weight: var(--fw-300);
  margin-bottom: 10px;
}

.github-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-gradient-onyx);
  border: 1px solid var(--jet);
  border-radius: var(--radius-md);
  color: var(--light-gray);
  font-size: var(--fs-8);
  font-weight: var(--fw-500);
  text-decoration: none;
  transition: color var(--transition-1), border-color var(--transition-1);
}

.github-profile-btn:hover {
  color: var(--orange-yellow-crayola);
  border-color: var(--orange-yellow-crayola);
}

.github-contrib-img {
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: hsl(240, 2%, 10%);
  padding: 12px;
}

.github-contrib-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.github-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.github-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bg-gradient-onyx);
  border: 1px solid var(--jet);
  border-radius: var(--radius-md);
  color: var(--light-gray);
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
  text-decoration: none;
  transition: color var(--transition-1), border-color var(--transition-1), transform var(--transition-1);
}

.github-link-btn:hover {
  color: var(--orange-yellow-crayola);
  border-color: var(--orange-yellow-crayola);
  transform: translateY(-2px);
}

