/**
 * ============================================================================
 * COPYRIGHT & LICENSE NOTICE
 * Designed and Developed by Mahendra Mali (Max)
 * Website: https://ohhmax.github.io | Contact: ohmaxgit@gmail.com
 *
 * This portfolio code and all script/style code was created and developed by
 * Mahendra Mali (Max). If you are using, referencing, or copying this code,
 * please pay a license fee via UPI: 9824584454@ybl
 *
 * Unauthorized copying or plagiarism is prohibited and subject to legal action.
 * Copyright (c) 2026 Mahendra Mali (Max). All rights reserved.
 * ============================================================================
 */

  /*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*\
  # Quick Edit  -------------------------------# 
  # Author: Mahendra Mali
  # GitHub: https://github.com/mahendraplus
  # DATE: 20-10-2024  TIME: 21:58:51
  \*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*/
  :root {
    --body-bg-solid: #0c0d12;
    --body-bg-gradient: radial-gradient(circle at 18% 12%, rgba(245, 158, 11, 0.08) 0%, transparent 45%),
                        radial-gradient(circle at 85% 65%, rgba(217, 119, 6, 0.06) 0%, transparent 50%),
                        radial-gradient(circle at 50% 95%, rgba(180, 83, 9, 0.05) 0%, transparent 50%),
                        #0c0d12;
    --main-border-gradient: linear-gradient(135deg, rgba(245, 158, 11, 0.35), rgba(217, 119, 6, 0.2), rgba(255, 255, 255, 0.08));
    --div-gradient-bg: linear-gradient(145deg, rgba(22, 24, 32, 0.82), rgba(15, 16, 22, 0.92));
    --menu-gradient: linear-gradient(135deg, #f59e0b, #d97706, #fbbf24);
    --profile-gradient-bg: linear-gradient(145deg, rgba(24, 26, 35, 0.85), rgba(15, 16, 22, 0.94));
    --btn-hover-gradient-bg: linear-gradient(135deg, #f59e0b, #d97706);
    --btn-hover-gradient-bg-2: rgba(245, 158, 11, 0.2);
    --light-nav: #ffffff;
    --article-bg: linear-gradient(145deg, rgba(22, 24, 32, 0.82), rgba(15, 16, 22, 0.92));
    --note: rgba(255, 255, 255, 0.06);
    --icon-bg-mini: transparent;
    --icon-mini: #a8a29e;
    --main-border: rgba(245, 158, 11, 0.14);
    --scrollbar-1: rgba(255, 255, 255, 0.08);
    --scrollbar-2: #f59e0b;
    --vegas-gold: #f59e0b;
    --primary: #f59e0b;
    --light-gray: #fdfbf7;
    --light-gray-70: #a8a29e;
    --bittersweet-shimmer: #f43f5e;
    --box-shadow-1: 0 4px 20px rgba(0, 0, 0, 0.6);
    --box-shadow-2: 0 10px 30px rgba(0, 0, 0, 0.7);
    --box-shadow-3: 0 15px 40px rgba(0, 0, 0, 0.8);
    --box-shadow-4: 0 0 20px rgba(245, 158, 11, 0.16);
    --box-shadow-5: 0 20px 50px rgba(0, 0, 0, 0.85);
    --font-color-1: #fdfbf7;
    --font-color-2: #cbd5e1;

    /* Theme Accent Colors (Warm Luxury Palette Harmonized with Portrait) */
    --accent-amber: #f59e0b;
    --accent-gold: #fbbf24;
    --accent-cognac: #d97706;
    --accent-copper: #b45309;
    --accent-cyan: #38bdf8;
    --accent-emerald: #10b981;
    --accent-rose: #fb7185;

    /******FONT (Plus Jakarta Sans + Inter + JetBrains Mono)******/
    --ff-poppins: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --ff-code: 'JetBrains Mono', monospace;
    --font-size-1: 24px;
    --font-size-2: 18px;
    --font-size-3: 15px;
    --font-size-4: 16px;
    --font-size-5: 15px;
    --font-size-6: 14px;
    --font-size-7: 13px;
    --font-size-8: 11px;
    --font-size-9: 10px;
    --font-weight-300: 300;
    --font-weight-400: 400;
    --font-weight-500: 500;
    --font-weight-600: 600;
    --transition-1: 0.25s ease;
    --transition-2: 0.5s ease-in-out;
    --avatar-box--animation-position: 0px;
  }

/*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*\ 
# Author: Mahendra Mali
# GitHub: https://github.com/mahendraplus
# DATE: 21-10-2024  TIME: 05:56:42
\*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*/

.crt{
  display: none;
}



/* High-Priority Foreground Interactive Touch & Sparks Canvas */
.touch-overlay-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999998;
}

/* Disable tap highlight and prevent unwanted text selection */
*, *::before, *::after {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Allow text selection inside editable form controls */
input, textarea, [contenteditable="true"] {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

/* 60fps Native Hardware Acceleration & Kinetic Smooth Touch */
html, body {
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}


/*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*\
# Author: Mahendra Mali
# GitHub: https://github.com/mahendraplus
# DATE: 22-10-2024  TIME: 03:35:08
\*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*/

*,
*::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(--icon-mini);
  color: var(--body-bg);
}

:focus {
  outline-color: var(--icon-mini);
}

html {
  font-family: var(--ff-poppins);
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body,
body.dark-theme,
html[data-theme="dark"] body {
  background-color: #090a0f;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.35) 1.2px, transparent 1.6px),
    radial-gradient(circle at 50% 0%, #151926 0%, #090a0f 75%);
  background-attachment: fixed;
  background-size: 16px 16px, 100% 100%;
  background-position: 0 0, center top;
  color: var(--font-color-1);
}

.video-bg {
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.video-bg video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  opacity: 1;
}

.sidebar {
  background: var(--article-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--main-border);
  border-radius: 28px;
  padding: 15px;
  box-shadow: var(--box-shadow-1);
  z-index: 1;
}

article {
  background: var(--article-bg);
  border: 1px solid var(--main-border);
  border-radius: 28px;
  padding: 15px;
  box-shadow: var(--box-shadow-1);
  z-index: 1;
}

body.light-theme .sidebar,
html[data-theme="light"] .sidebar,
body.light-theme article,
html[data-theme="light"] article {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

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

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

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

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

article {
  display: none;
}

article.active {
  display: block;
}

/* Tab Switching Fast Fade Animation (Ultra-lightweight, 0% CPU, 120Hz/144Hz instant) */
main.page-reveal-in article.active.tab-transition {
  animation: fastSectionFade 0.12s ease-out;
}

@keyframes fastSectionFade {
  0% {
    opacity: 0.85;
  }
  100% {
    opacity: 1;
  }
}

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

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

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

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

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

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

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

/* Hide Scrollbars Globally across all elements */
html, body, *, *::before, *::after {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

*::-webkit-scrollbar,
.has-scrollbar::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

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

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

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

/* Sidebar Column Wrapper & Desktop Quick Channels (Default: Mobile / Tablet) */
.sidebar-column-wrapper {
  display: contents;
}

.desktop-quick-channels {
  display: none !important;
}

/* Sidebar Styles */
.sidebar {
  position: relative;
  margin-bottom: 12px;
  max-height: none !important;
  overflow: hidden !important;
  border-radius: 28px;
}

.sidebar-info_more {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar.active .sidebar-info_more {
  max-height: 800px;
  opacity: 1;
  visibility: visible;
  padding-bottom: 6px;
}

.sidebar-info {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 14px;
  padding-right: 54px;
  padding-bottom: 4px;
}

.sidebar.active .sidebar-info {
  padding-bottom: 14px;
}

/* Animated Rotating Glow Border & 3D Flip Profile Box */
.avatar-box {
  position: relative;
  border-radius: 20px;
  display: inline-block;
  background: transparent;
  z-index: 1;
  padding: 3px;
  flex-shrink: 0;
  width: 74px;
  height: 74px;
  perspective: 1000px;
  cursor: pointer;
  user-select: none;
}

.avatar-glow-ring {
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: conic-gradient(from 0deg, rgba(245, 158, 11, 0.15), rgba(251, 191, 36, 0.85), rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.75), rgba(245, 158, 11, 0.15));
  z-index: 0;
  animation: avatarRingSpin 7s linear infinite;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.28);
}

body.light-theme .avatar-glow-ring {
  background: conic-gradient(from 0deg, rgba(217, 119, 6, 0.2), rgba(217, 119, 6, 0.95), rgba(245, 158, 11, 0.3), rgba(180, 83, 9, 0.9), rgba(217, 119, 6, 0.2)) !important;
  box-shadow: 0 0 16px rgba(217, 119, 6, 0.42) !important;
}

@keyframes avatarRingSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes avatarFlipReturn {
  0% {
    transform: perspective(800px) rotateY(0deg) scale3d(1, 1, 1);
  }
  50% {
    transform: perspective(800px) rotateY(180deg) scale3d(1.05, 1.05, 1.05);
  }
  100% {
    transform: perspective(800px) rotateY(360deg) scale3d(1, 1, 1);
  }
}

.avatar-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 17px;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  will-change: transform;
  z-index: 1;
}

.avatar-box.is-flipping .avatar-card-inner {
  animation: avatarFlipReturn 0.72s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.avatar-card-front,
.avatar-card-back {
  position: absolute;
  inset: 0;
  border-radius: 17px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

.avatar-card-front img,
.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 17px;
}

.avatar-card-back {
  background: #141418;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
}

.avatar-card-back .back-monogram {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #ffffff;
  font-family: var(--ff-code);
}

.avatar-card-back .back-role {
  font-size: 9px;
  color: #a1a1aa;
  margin-top: 2px;
  font-weight: 600;
}

.avatar-card-back .back-status {
  font-size: 8px;
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.25);
  padding: 1px 6px;
  border-radius: 10px;
  margin-top: 4px;
  white-space: nowrap;
}

.info-content .name {
  color: #ffffff;
  font-size: clamp(16px, 4vw, 20px);
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-bottom: 2px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.info-content .name .name-text {
  background: linear-gradient(135deg, #ffffff 45%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

body.light-theme .info-content .name {
  color: #1c1917 !important;
}

body.light-theme .info-content .name .name-text {
  background: linear-gradient(135deg, #1c1917 40%, #b45309 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.profile-bio-text {
  font-size: clamp(10px, 2.6vw, 11.5px);
  line-height: 1.35;
  color: #a8a29e;
  margin-top: 2px;
  margin-bottom: 0;
  max-width: 290px;
  font-weight: 500;
}

body.light-theme .profile-bio-text {
  color: #57534e !important;
}

/* Top-Right Vertical Actions Container (Theme Toggle stacked above Dropdown Toggle) */
.sidebar-corner-actions {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
}

.header-theme-btn,
.info_more-btn {
  position: relative;
  width: 36px;
  height: 36px;
  /* Concentric Radius Law: R_inner = R_outer - Padding = 28px - 14px = 14px */
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--main-border);
  color: var(--light-gray-70, #94a3b8);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  padding: 0;
}

.header-theme-btn:hover,
.info_more-btn:hover {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.45);
  transform: scale(1.06);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.25);
}

.theme-icon-light { display: none !important; }
.theme-icon-dark { display: inline-block !important; }
body.light-theme .theme-icon-light { display: inline-block !important; }
body.light-theme .theme-icon-dark { display: none !important; }

@keyframes chevronPulse {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

.info_more-btn i,
.info_more-btn ion-icon {
  font-size: 14px;
  animation: chevronPulse 1.8s infinite ease-in-out;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sidebar.active .info_more-btn i,
.sidebar.active .info_more-btn ion-icon {
  animation: none;
  transform: rotate(180deg);
}

/* Clean Minimal Contact Icons in Expanded Profile Card (Zero Background Box, Zero Colored Background) */
.sidebar-info_more .contact-item .icon-box {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #94a3b8 !important;
  width: 28px !important;
  height: 28px !important;
  font-size: 19px !important;
}
.sidebar-info_more .contact-item .icon-box::before {
  display: none !important;
}
body.light-theme .sidebar-info_more .contact-item .icon-box,
html[data-theme="light"] .sidebar-info_more .contact-item .icon-box {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #64748b !important;
}

/* Vibrant Colorful Social Icons */
.social-item a[href*="wa.me"] {
  color: #10b981;
}
.social-item a[href*="wa.me"]:hover {
  background: rgba(16, 185, 129, 0.18);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.4);
}
.social-item a[href*="t.me"] {
  color: #38bdf8;
}
.social-item a[href*="t.me"]:hover {
  background: rgba(56, 189, 248, 0.18);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.4);
}
.social-item a[href*="cv-resume"] {
  color: #f59e0b;
}
.social-item a[href*="cv-resume"]:hover {
  background: rgba(245, 158, 11, 0.18);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.4);
}
.social-item a[href*="instagram"] {
  color: #f43f5e;
}
.social-item a[href*="instagram"]:hover {
  background: rgba(244, 63, 94, 0.18);
  box-shadow: 0 0 14px rgba(244, 63, 94, 0.4);
}
.social-item a[href*="discord"] {
  color: #818cf8;
}
.social-item a[href*="discord"]:hover {
  background: rgba(129, 140, 248, 0.18);
  box-shadow: 0 0 14px rgba(129, 140, 248, 0.4);
}

.sidebar-info_more {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar.active .sidebar-info_more {
  max-height: 800px;
  opacity: 1;
  visibility: visible;
  padding-bottom: 6px;
}

.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(--font-size-8);
  text-transform: uppercase;
  margin-bottom: 2px;
}

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

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

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

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

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

/*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*\
# Zzz.....
# Author: Mahendra Mali
# GitHub: https://github.com/mahendraplus
# DATE: 24-10-2024  TIME: 02:21:21
\*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*/
.visitor-count {
  color: var(--font-color-2);
  font-size: 9px;
  padding: 2px;
  width: auto;
  height: auto;
  padding-left: 7px;
  text-align: center;
}

/*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*\
# NAVBAR 
# Author: Mahendra Mali
# GitHub: https://github.com/mahendraplus
# DATE: 17-10-2024  TIME: 00:30:01
\*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*/
.navbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  background-color: black;
  display: none;
  
}

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

.navbar-link {
  color: var(--light-gray);
  font-size: var(--font-size-7);
  transition: color var(--transition-1);
  padding: 10px;
  
  
}

.navbar-link:hover,
.navbar-link:focus {
  background: linear-gradient(to right, hsl(46, 78%, 56%), hsl(337, 100%, 64%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.navbar-link.active {
  background: linear-gradient(to right, hsl(46, 78%, 56%), hsl(337, 100%, 64%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  
 
}


/*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*\
# ABOUT 
# Author: Mahendra Mali
# GitHub: https://github.com/mahendraplus
# DATE: 17-10-2024  TIME: 00:30:29
\*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*/
.about .article-title {
  margin-bottom: 15px;
}

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

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

.about-drop-cap {
  float: left;
  font-family: 'Cinzel', 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  font-size: 3.2em;
  line-height: 0.82;
  font-weight: 800;
  padding-right: 8px;
  padding-top: 4px;
  color: #f59e0b;
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 14px rgba(245, 158, 11, 0.4);
  user-select: none;
  -webkit-user-select: none;
  display: inline-block;
}

body.light-theme .about-drop-cap {
  color: #d97706 !important;
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
}

/* About Expandable Deep Story */
.about-more-wrapper {
  margin-top: 8px;
  margin-bottom: 22px;
}

.about-more-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  will-change: max-height, opacity;
}

.about-more-content.expanded {
  max-height: 850px;
  opacity: 1;
  margin-bottom: 16px;
}

.about-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 999px;
  color: #fdfbf7;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  outline: none;
  margin-top: 6px;
}

.about-expand-btn:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.55);
  color: #f59e0b;
  transform: translateY(-1px);
}

.about-expand-btn .expand-btn-icon {
  font-size: 11px;
  color: #f59e0b;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body.light-theme .about-expand-btn {
  background: #f5f2eb !important;
  border-color: #e7e3dc !important;
  color: #1c1917 !important;
}

body.light-theme .about-expand-btn:hover {
  background: #ede8de !important;
  border-color: rgba(217, 119, 6, 0.45) !important;
  color: #d97706 !important;
}

body.light-theme .about-expand-btn .expand-btn-icon {
  color: #d97706 !important;
}

.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(--main-border-gradient);
  padding: 20px;
  border-radius: 14px;
  box-shadow: var(--box-shadow-2);
  z-index: 1;
}

.service-item:hover {
  transform: scale(1.01);


}

.service-item img {
  transform: scale(1) rotate(0deg);
  transition: transform 0.3s ease-in-out;
}

.service-item:hover img {
  transform: scale(1.2) rotate(15deg);

}

.service-item::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--div-gradient-bg);
  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(--font-size-6);
  font-weight: var(--font-weight-3);
  line-height: 1.6;
}

.testimonials {
  margin-bottom: 30px;
}

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

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

.testimonials-item {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.testimonials-avatar-box {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(20px, -24px);
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.25) inset;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.testimonials-item .content-card:hover .testimonials-avatar-box {
  transform: translate(20px, -28px) scale(1.08);
}

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

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

.modal-container {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  display: none !important;
  justify-content: center !important;
  align-items: center !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  z-index: 99999 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  transition: opacity 0.25s ease, visibility 0.25s ease !important;
  padding: 16px !important;
  box-sizing: border-box !important;
}

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

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

.modal-container .overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.78) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  z-index: 1 !important;
  pointer-events: all !important;
}

.testimonials-modal {
  position: relative !important;
  background: #14161f !important;
  color: #f4f4f5 !important;
  padding: 32px 28px !important;
  margin: auto !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 24px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 25px rgba(56, 189, 248, 0.08) !important;
  transform: scale(0.92) translateY(12px) !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease !important;
  z-index: 2 !important;
  max-width: 520px !important;
  width: 100% !important;
  max-height: 85vh !important;
  overflow-y: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  box-sizing: border-box !important;
}

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

.modal-img-wrapper {
  display: flex !important;
  align-items: center !important;
}

.modal-avatar-box {
  width: 70px !important;
  height: 70px !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
}

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

.modal-close-btn {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  color: #ffffff !important;
  font-size: 20px !important;
  opacity: 0.8 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  z-index: 3 !important;
}

.modal-close-btn:hover,
.modal-close-btn:focus {
  opacity: 1 !important;
  background: rgba(239, 68, 68, 0.2) !important;
  color: #ef4444 !important;
  transform: scale(1.08) !important;
}

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

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

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

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

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

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

.testimonials-modal img {
  width: 100%;
  height: 100%;
  margin-top: 50px;
}

.testimonials-modal img:hover {
  width: 100%;
  height: 100%;
  box-shadow: 0px 0px 10px 1px rgb(155, 155, 155);
}



.clients {
  margin-bottom: 15px;
}

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

}

.clients-item {
  min-width: 50%;
  scroll-snap-align: start;
  /* animation: reverseScroll 5s linear infinite alternate; */

}


@keyframes reverseScroll {
  0% {
    transform: scale(1) translateX(0);
  }

  100% {
    transform: scale(1) translateX(-100%);
  }
}

.cli-img {
  width: 80%;
  height: 80px;
  filter: saturate(0%);
  transition: var(--transition-1);
  transform: scale(1);
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.cli-img:hover {
  filter: saturate(100%);

}


/*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*\
# RESUME 
# Author: Mahendra Mali
# GitHub: https://github.com/mahendraplus
# DATE: 17-10-2024  TIME: 00:31:57
\*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*/
.article-title {
  margin-bottom: 30px;
}


.timeline {
  margin-bottom: 30px;
}

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

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

.timeline-item {
  position: relative;
}

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

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

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

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

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

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


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

.skills-list {
  padding: 20px;
}


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

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

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

.skill-progress-bg {
  background: rgba(255, 255, 255, 0.08);
  width: 100%;
  height: 8px;
  border-radius: 10px;
  overflow: hidden;
}

.skill-progress-fill {
  background: linear-gradient(90deg, #0284c7, #10b981);
  height: 100%;
  border-radius: inherit;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}



/*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*\
# MY PROJECTS 
# Author: Mahendra Mali
# GitHub: https://github.com/mahendraplus
# DATE: 17-10-2024  TIME: 00:32:47
\*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*/
.filter-list {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  box-sizing: border-box;
}

.filter-select-box {
  position: relative;
  margin-bottom: 25px;
  width: 100%;
  box-sizing: border-box;
}

.filter-select {
  background: var(--body-bg-solid);
  color: var(--light-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 18px;
  border: 1px solid var(--main-border);
  border-radius: 16px;
  font-size: var(--font-size-6);
  font-weight: 500;
  box-sizing: border-box;
}

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

.select-list {
  background: var(--body-bg-solid);
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  width: 100%;
  padding: 8px;
  border: 1px solid var(--main-border);
  border-radius: 16px;
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}

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

.select-item {
  width: 100%;
  box-sizing: border-box;
}

.select-item button {
  background: transparent;
  color: var(--light-gray);
  font-size: var(--font-size-6);
  font-weight: 500;
  text-transform: capitalize;
  width: 100% !important;
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  text-align: left;
  box-sizing: border-box !important;
  transition: all 0.2s ease;
}

.select-item button:hover {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
}


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

.project-item {
  display: none;
  padding: 0px;

}


.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%;
  background: var(--div-gradient-bg);
  border-radius: 20px;
  overflow: hidden;
}

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

.project-item>a:hover {
  transform: scale(1.03);

}

.project-img {
  position: relative;
  overflow: hidden;
  margin-bottom: 15px;

  opacity: 0.7;

}

.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(--main-border);
  color: var(--icon-mini);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(var(--scale));
  font-size: 20px;
  padding: 18px;
  border-radius: 12px;
  opacity: 0;
  z-index: 1;
  transition: var(--transition-1);
}

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

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

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


}

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

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

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

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

.count-date-box {
  display: flex;
  /* Enables flexbox layout */
  justify-content: space-between;
  /* Ensures children are spaced evenly */
  align-items: center;
  /* Aligns items vertically center */
  padding-bottom: 10px;
  padding-top: 10px;

}

.project-count {
  width: fit-content;
  margin-inline: 10px;
  padding: 3px 10px 3px 10px;
  background: var(--div-gradient-bg);
  /* Button background color */
  color: var(--light-gray-70);
  font-size: var(--font-size-9);
  border-radius: 80px;
  /* Rounded corners for the toggle */
}

.project-date {
  width: fit-content;
  margin-inline: 10px;
  padding: 3px 10px 3px 10px;
  background: var(--div-gradient-bg);
  /* Button background color */
  color: var(--light-gray-70);
  font-size: var(--font-size-9);
  border-radius: 80px;
  /* Rounded corners for the toggle */

}



/*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*\
# BLOG 
# Author: Mahendra Mali
# GitHub: https://github.com/mahendraplus
# DATE: 17-10-2024  TIME: 00:36:09
\*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*/

#blog-post-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  /* Adjust this as needed */
}

.blog-post-item {
  display: flex;
  flex-direction: column;
}


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

}

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



.blog-post-item>a {
  position: relative;
  background: var(--div-gradient-bg);
  height: 100%;
  box-shadow: var(--box-shadow-2);
  border-radius: 25px;
  z-index: 1;
  margin-bottom: 5px;
}

.blog-post-item>a:hover {

  transform: scale(1.01);
  background: var(--div-gradient-bg);
}

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

}

.blog-banner-box {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* This ensures a 16:9 aspect ratio (9/16 * 100) */
  overflow: hidden;
  /* Prevent the image from overflowing */

}

.blog-banner-box img {
  filter: brightness(0.8);
  padding: 11px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures the image covers the entire container */
  object-position: center;
  /* Center the image */
  transition: var(--transition-1);
  /* Smooth transition effect */
  border-radius: 30px;
  /* Ensures the image matches the parent radius */
}

.blog-post-item>a:hover .blog-banner-box img {
  transform: scale(1.01);
  filter: contrast(1.1) brightness(1.1) saturate(1) sepia(0);
  image-rendering: optimizeQuality;
}

.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(--font-size-6);
  font-weight: var(--font-weight-300);
}

.blog-meta .dot {
  background: var(--menu-gradient);
  width: 7px;
  height: 7px;
  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(--icon-mini);


}

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


/*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*\
# CONTACT ME 
# Author: Mahendra Mali
# GitHub: https://github.com/mahendraplus
# DATE: 17-10-2024  TIME: 00:37:22
\*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*/
.mapbox {
  position: relative;
  height: 250px;
  width: 100%;
  border-radius: 20px;
  margin-bottom: 30px;
  border: 0px solid var(--main-border);
  overflow: hidden;
  opacity: 1;
  box-shadow: 0px 0px 7px 7px rgba(0, 0, 0, 0.075);
}

.mapbox figure {
  height: 100%;
}

.mapbox iframe {
  width: 100%;
  height: 100%;
  border: 1px solid wheat;

}

.contact-form {
  margin-top: 10px;
  margin-bottom: 25px;
  background: rgba(18, 22, 34, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
  position: relative;
}

body.light-theme .contact-form {
  background: rgba(255, 255, 255, 0.85) !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

.form-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--font-color-1);
}

.form-subtitle {
  font-size: 13px;
  color: var(--font-color-2);
  line-height: 1.5;
  margin-bottom: 24px;
}

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

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

.form-input {
  color: var(--font-color-1);
  font-size: 13.5px;
  font-weight: 400;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  outline: none;
  transition: all 0.25s ease;
  width: 100%;
}

.form-input:focus {
  background: rgba(255, 255, 255, 0.07);
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

textarea.form-input {
  min-height: 120px;
  height: 130px;
  max-height: 250px;
  resize: vertical;
  margin-bottom: 18px;
  line-height: 1.5;
}

.attachment-input-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.attachment-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.attachment-label:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.4);
  color: #38bdf8;
}

.attachment-file-input {
  display: none;
}

.attachment-clear-btn {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.form-btn {
  position: relative;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0c0d12;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
  width: 100%;
}

.form-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
  filter: brightness(1.08);
}

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

/* 
input[type="file"]::file-selector-button:hover {
 
} */



.form-btn {
  position: relative;
  width: 100%;
  background: var(--body-bg-solid);
  color: var(--icon-mini);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 20px;
  font-size: var(--font-size-2);
  text-transform: capitalize;
  box-shadow: var(--box-shadow-3);
  z-index: 1;
  transition: var(--transition-1);
}

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

.form-btn ion-icon {
  font-size: var(--font-size-2);
}

.form-btn:hover {
  background: var(--article-bg);
  color: rgba(255, 255, 255, 0.877);
}

.form-btn:hover::before {
  background: rgba(86, 204, 86, 0.568);

}


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

.form-btn:disabled:hover {
  background: var(--article-bg);
}

.form-btn:disabled:hover::before {
  background: rgba(185, 44, 44, 0.795);
}


.contact-form-sending {
  color: var(--font-color-1);
  font-size: var(--font-size-8);
  display: none;
  text-align: center;
  padding: 100px;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

.contact-form-sent h3 {
  color: var(--font-color-2);
  font-size: var(--font-size-3);
}



/*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*\
# FOR > 450px SCREEN
# Author: Mahendra Mali
# GitHub: https://github.com/mahendraplus
# DATE: 17-10-2024  TIME: 00:38:03
\*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*/
@media (min-width: 450px) {

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


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

}


@media (min-width: 580px) {




  :root {

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

  }

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

  .article-title {
    font-weight: var(--font-weight-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: 20px;
    margin-bottom: 90px;
  }

  .sidebar {
    max-height: none !important;
    margin-bottom: 25px;
  }

  .sidebar.active {
    max-height: fit-content;
  }

  .sidebar-info {
    gap: 25px;
  }

  .avatar-box {
    border-radius: 30px;
    width: 120px;
    height: 120px;
  }

  .avatar-box img {
    border-radius: 27px;
    width: 100%;
    height: 100%;
  }

  .info-content .name {
    margin-bottom: 15px;
  }

  .info-content .title {
    padding: 5px 18px;
  }

  .separator {
    margin: 32px 0;
  }

  .contacts-list {
    gap: 20px;
  }

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

  .navbar {
    display: none;
  }

  .navbar-list {
    gap: 15px;
  }

  .navbar-link {
    --font-size-8: 14px;
    
  }


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


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

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

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

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

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


  .modal-container {
    padding: 20px;
  }

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

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

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

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

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

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

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

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


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

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

  }

  .blog-content {
    padding: 25px;
  }


  .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 {
    --font-size-6: 16px;
    padding: 16px 20px;
  }

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

}



/*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*\
# FOR > 768px SCREEN 
# Author: Mahendra Mali
# GitHub: https://github.com/mahendraplus
# DATE: 17-10-2024  TIME: 00:40:20
\*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*/
@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 {
    --font-size-8: 15px;
  }


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

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

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

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

  .filter-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin-bottom: 28px;
    width: 100%;
    box-sizing: border-box;
  }

  .filter-item button {
    color: var(--light-gray);
    font-size: var(--font-size-6);
    padding: 8px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--main-border);
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .filter-item button:hover,
  .filter-item button.active {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.35);
  }


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


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

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

}


/*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*\
# FOR > 1024px SCREEN 
# Author: Mahendra Mali
# GitHub: https://github.com/mahendraplus
# DATE: 17-10-2024  TIME: 00:41:13
\*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*/
@media (min-width: 1024px) {

  :root {

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

  }

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

  .sidebar .sidebar-info_more {
    max-height: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    padding-bottom: 16px !important;
    overflow: visible !important;
  }

  .sidebar .info_more-btn {
    display: none !important;
  }

  main {
    margin-bottom: 60px;
  }

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


  .navbar {
    display: block;
    position: absolute;
    bottom: auto;
    top: 0;
    left: auto;
    right: 0;
    width: max-content;
    border-radius: 20px;
    padding: 6px 16px;
    background: rgba(18, 24, 38, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 242, 254, 0.1);
    margin-top: 14px;
    margin-right: 14px;
    z-index: 50;
  }

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

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

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



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


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


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

}


/*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*\
# FOR > 1250px SCREEN 
# Author: Mahendra Mali
# GitHub: https://github.com/mahendraplus
# DATE: 17-10-2024  TIME: 00:42:18
\*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*/
@media (min-width: 1250px) {




  /*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*\
  # Scrollbar #################################
  # Author: Mahendra Mali
  # GitHub: https://github.com/mahendraplus
  # DATE: 22-10-2024  TIME: 05:25:39
  \*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*/

  body::-webkit-scrollbar {
    width: 15px;
    display: block;
  }

  body::-webkit-scrollbar-track {
    background: transparent;
  }

  body::-webkit-scrollbar-thumb {
    border: 2px solid var(--main-border);
    background: var(--article-bg);
    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: 15px;
    background-color: var(--article-bg);
    border-radius: 100%;
    border: 2px solid var(--main-border);
  }

  .sidebar,
  article {
    width: auto;
  }

  article {
    min-height: 100%;
  }

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

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

  /* Desktop Sticky Sidebar Column */
  .sidebar-column-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 275px !important;
    min-width: 275px !important;
    max-width: 275px !important;
    position: sticky !important;
    top: 20px !important;
    align-self: flex-start !important;
    z-index: 10 !important;
  }

  .sidebar {
    position: static !important;
    top: auto !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    height: auto !important;
    align-self: auto !important;
    margin-bottom: 0 !important;
    padding: 24px 18px 20px !important;
    border-radius: 28px !important;
    overflow: visible !important;
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.45) !important;
  }

  .sidebar::-webkit-scrollbar {
    width: 4px;
  }

  .sidebar::-webkit-scrollbar-track {
    background: transparent;
  }

  .sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 10px;
  }

  body.light-theme .sidebar,
  html[data-theme="light"] .sidebar {
    scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
  }

  body.light-theme .sidebar::-webkit-scrollbar-thumb,
  html[data-theme="light"] .sidebar::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
  }

  .sidebar-info {
    flex-direction: column;
    padding-right: 0;
    padding-bottom: 0;
  }

  .avatar-box {
    border-radius: 24px;
    width: 112px;
    height: 112px;
    margin: 0 auto;
  }

  .avatar-box img {
    border-radius: 25px;
    width: 100%;
    height: 100%;
  }

  .info-content .name {
    white-space: nowrap;
    text-align: center;
    font-size: 20px !important;
  }

  .profile-bio-text {
    font-size: 12px !important;
    line-height: 1.45 !important;
    margin-top: 4px !important;
    text-align: center !important;
  }

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

  .info_more-btn {
    display: none !important;
  }

  .sidebar-corner-actions {
    top: 14px;
    right: 14px;
  }

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

  .sidebar-info_more .separator {
    margin: 12px 0 8px !important;
  }

  /* In Desktop mode: Social list in profile card is removed; handled in dedicated UI below */
  .sidebar-info_more .social-list,
  .sidebar-info_more .separator:last-of-type {
    display: none !important;
  }

  .sidebar-info_more .contacts-list {
    grid-template-columns: 1fr;
    gap: 10px !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .sidebar-info_more .contact-item {
    min-height: auto !important;
  }

  .sidebar-info_more .icon-box {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    border-radius: 11px !important;
    font-size: 16px !important;
  }

  .sidebar-info_more .contact-title {
    font-size: 10px !important;
    margin-bottom: 1px !important;
  }

  .sidebar-info_more .contact-info :is(.contact-link, time, address) {
    font-size: 13px !important;
    --font-size-7: 13px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* ========================================================================
     DESKTOP QUICK CHANNELS - SEPARATE HIGH-TECH CONNECT MATRIX
     ======================================================================== */
  .desktop-quick-channels {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 10px 10px !important;
    background: rgba(18, 22, 34, 0.78) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .channels-deck-header {
    display: none !important;
  }

  .desktop-quick-channels::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #25d366 20%, #229ed9 50%, #f59e0b 80%, transparent);
    border-radius: 2px;
    opacity: 0.9;
    pointer-events: none;
  }

  .channels-deck-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .channels-deck-title {
    display: flex;
    align-items: center;
    gap: 7px;
  }

  .channels-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    position: relative;
    box-shadow: 0 0 8px #22c55e;
  }

  .channels-pulse-dot::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1.5px solid #22c55e;
    animation: channelsPulseRadar 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  }

  @keyframes channelsPulseRadar {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2.4); opacity: 0; }
  }

  .channels-title-text {
    font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.9px;
    color: var(--light-gray-70, #94a3b8);
    text-transform: uppercase;
  }

  .channels-status-pill {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 1.5px 6px;
    border-radius: 10px;
    text-transform: uppercase;
  }

  .channels-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
  }

  .channel-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 8px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    text-decoration: none;
    transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    box-sizing: border-box;
  }

  .channel-card:active {
    transform: scale(0.97);
  }

  .channel-icon-wrap {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.22s ease;
    flex-shrink: 0;
  }

  .channel-content {
    min-width: 0;
    flex: 1;
  }

  .channel-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--font-color-1, #f8fafc);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    transition: color 0.2s ease;
  }

  .channel-meta {
    font-size: 8.5px;
    color: var(--font-color-2, #94a3b8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.15;
    opacity: 0.85;
    margin-top: 1px;
  }

  .channel-ext-icon {
    font-size: 7.5px;
    color: rgba(255, 255, 255, 0.25);
    margin-left: auto;
    flex-shrink: 0;
    transition: all 0.2s ease;
    transform: scale(0.85);
  }

  /* WhatsApp Brand Styling */
  .channel-card--whatsapp .channel-icon-wrap {
    color: #25d366;
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.25);
  }
  .channel-card--whatsapp:hover {
    background: rgba(37, 211, 102, 0.14) !important;
    border-color: rgba(37, 211, 102, 0.55) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 18px -4px rgba(37, 211, 102, 0.35) !important;
  }
  .channel-card--whatsapp:hover .channel-name {
    color: #25d366 !important;
  }
  .channel-card--whatsapp:hover .channel-ext-icon {
    color: #25d366 !important;
    transform: translate(1px, -1px) scale(1) !important;
  }

  /* Telegram Brand Styling */
  .channel-card--telegram .channel-icon-wrap {
    color: #229ed9;
    background: rgba(34, 158, 217, 0.12);
    border: 1px solid rgba(34, 158, 217, 0.25);
  }
  .channel-card--telegram:hover {
    background: rgba(34, 158, 217, 0.14) !important;
    border-color: rgba(34, 158, 217, 0.55) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 18px -4px rgba(34, 158, 217, 0.35) !important;
  }
  .channel-card--telegram:hover .channel-name {
    color: #38bdf8 !important;
  }
  .channel-card--telegram:hover .channel-ext-icon {
    color: #38bdf8 !important;
    transform: translate(1px, -1px) scale(1) !important;
  }

  /* Modern CV Brand Styling */
  .channel-card--cv .channel-icon-wrap {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
  }
  .channel-card--cv:hover {
    background: rgba(245, 158, 11, 0.14) !important;
    border-color: rgba(245, 158, 11, 0.55) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 18px -4px rgba(245, 158, 11, 0.35) !important;
  }
  .channel-card--cv:hover .channel-name {
    color: #f59e0b !important;
  }
  .channel-card--cv:hover .channel-ext-icon {
    color: #f59e0b !important;
    transform: translate(1px, -1px) scale(1) !important;
  }

  /* Instagram Brand Styling */
  .channel-card--instagram .channel-icon-wrap {
    color: #ec4899;
    background: rgba(236, 72, 153, 0.12);
    border: 1px solid rgba(236, 72, 153, 0.25);
  }
  .channel-card--instagram:hover {
    background: rgba(236, 72, 153, 0.14) !important;
    border-color: rgba(236, 72, 153, 0.55) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 18px -4px rgba(236, 72, 153, 0.35) !important;
  }
  .channel-card--instagram:hover .channel-name {
    color: #f472b6 !important;
  }
  .channel-card--instagram:hover .channel-ext-icon {
    color: #f472b6 !important;
    transform: translate(1px, -1px) scale(1) !important;
  }

  /* Discord Brand Styling */
  .channel-card--discord .channel-icon-wrap {
    color: #818cf8;
    background: rgba(129, 140, 248, 0.12);
    border: 1px solid rgba(129, 140, 248, 0.25);
  }
  .channel-card--discord:hover {
    background: rgba(129, 140, 248, 0.14) !important;
    border-color: rgba(129, 140, 248, 0.55) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 18px -4px rgba(129, 140, 248, 0.35) !important;
  }
  .channel-card--discord:hover .channel-name {
    color: #a5b4fc !important;
  }
  .channel-card--discord:hover .channel-ext-icon {
    color: #a5b4fc !important;
    transform: translate(1px, -1px) scale(1) !important;
  }

  /* Direct Email Brand Styling */
  .channel-card--email .channel-icon-wrap {
    color: #a855f7;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.25);
  }
  .channel-card--email:hover {
    background: rgba(168, 85, 247, 0.14) !important;
    border-color: rgba(168, 85, 247, 0.55) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 18px -4px rgba(168, 85, 247, 0.35) !important;
  }
  .channel-card--email:hover .channel-name {
    color: #c084fc !important;
  }
  .channel-card--email:hover .channel-ext-icon {
    color: #c084fc !important;
    transform: translate(1px, -1px) scale(1) !important;
  }

  /* Light Theme Overrides for Desktop Quick Channels */
  body.light-theme .desktop-quick-channels,
  html[data-theme="light"] .desktop-quick-channels {
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 14px 35px -8px rgba(0, 0, 0, 0.08) !important;
  }
  body.light-theme .channels-deck-header,
  html[data-theme="light"] .channels-deck-header {
    border-bottom-color: rgba(226, 232, 240, 0.8) !important;
  }
  body.light-theme .channels-title-text,
  html[data-theme="light"] .channels-title-text {
    color: #475569 !important;
  }
  body.light-theme .channel-card,
  html[data-theme="light"] .channel-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
  }
  body.light-theme .channel-name,
  html[data-theme="light"] .channel-name {
    color: #0f172a !important;
  }
  body.light-theme .channel-meta,
  html[data-theme="light"] .channel-meta {
    color: #64748b !important;
  }
  body.light-theme .channel-ext-icon,
  html[data-theme="light"] .channel-ext-icon {
    color: #94a3b8 !important;
  }


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

}


/*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*\
# GREEEN TICK ANIMATED<<<<<<<<<<<<<< 
# Author: Mahendra Mali
# GitHub: https://github.com/mahendraplus
# DATE: 21-10-2024  TIME: 21:48:20
\*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*/

.success-animation {

  margin: 30px auto;
  display: none;
}

.checkmark {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #4bb71b;
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px #4bb71b;
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
  position: relative;
  top: 5px;
  right: 5px;
  margin: 0 auto;
}

.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #4bb71b;
  fill: #fff;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;

}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes scale {

  0%,
  100% {
    transform: none;
  }

  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}

@keyframes fill {
  100% {
    box-shadow: inset 0px 0px 0px 30px #4bb71b;
  }
}


/*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*\
# Loading... >>><<<<<<<<<<<<<<<<<<<<<<<<<<<< 
# Author: Mahendra Mali
# GitHub: https://github.com/mahendraplus
# DATE: 22-10-2024  TIME: 03:15:25
\*<<<<<<<<<<<<<<<<<<<<MAX>>>>>>>>>>>>>>>>>>>>*/


.loader {
  width: 100px;
  aspect-ratio: 1;
  display: grid;
  padding: 20px;
}

.loader::before,
.loader::after {

  content: "";
  grid-area: 1/1;
  --c: no-repeat radial-gradient(farthest-side, hsla(0, 0%, 100%, 0.562) 92%, #00000000);
  background:
    var(--c) 50% 0,
    var(--c) 50% 100%,
    var(--c) 100% 50%,
    var(--c) 0 50%;
  background-size: 12px 12px;
  animation: l12 1s infinite;
}

.loader::before {

  margin: 4px;
  filter: hue-rotate(45deg);
  background-size: 8px 8px;
  animation-timing-function: linear
}

@keyframes l12 {
  100% {
    transform: rotate(.5turn)
  }
}



/* ==========================================================================
   MAXHIVE ENHANCED UI & INTERACTIVE COMPONENTS
   ========================================================================== */

/* 1. Smart Multi-Role Header Badges (Covering All Tech Domains) */
.smart-title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
  margin-bottom: 8px;
}

.smart-title-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  width: max-content;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

@media (min-width: 1250px) {
  .smart-title-badge {
    margin: 0 auto;
  }
}

.smart-title-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

.dynamic-role-text {
  transition: opacity 0.25s ease, transform 0.25s ease;
  display: inline-block;
  white-space: nowrap;
}

.dynamic-role-text.fade-out {
  opacity: 0;
  transform: translateY(-4px);
}

.smart-sub-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

@media (min-width: 1250px) {
  .smart-sub-badges {
    justify-content: center;
  }
}

.sub-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--light-gray-70);
  padding: 3px 9px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 500;
  transition: all 0.25s ease;
  user-select: none;
}

.sub-badge:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: rgba(0, 242, 254, 0.35);
  color: #ffffff;
  transform: translateY(-1px);
}

.sub-badge i {
  color: var(--mh-cyan);
  font-size: 10px;
}

/* 2. MaxHive Engineering Highlights Bar */
.maxhive-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 25px 0 35px;
}

@media (min-width: 768px) {
  .maxhive-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.maxhive-stat-card {
  background: #141417;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px 14px;
  text-align: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.maxhive-stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.maxhive-stat-icon {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 6px;
}

.maxhive-stat-number {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--ff-code);
  letter-spacing: -0.5px;
}

.maxhive-stat-label {
  font-size: 11px;
  color: var(--light-gray-70);
  margin-top: 3px;
  line-height: 1.3;
}

/* 3. Interactive Project Card Box */
.project-card-box {
  background: rgba(20, 24, 38, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  user-select: none;
  outline: none;
  position: relative;
}

.project-card-box:hover,
.project-card-box:focus-visible {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.65), 0 0 16px rgba(16, 185, 129, 0.16);
  transform: translateY(-3px);
}

.project-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.project-card-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  background: rgba(0, 242, 254, 0.12);
  color: var(--mh-cyan);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.project-card-lang {
  font-size: 11px;
  color: var(--light-gray-70);
  font-family: var(--ff-code);
}

.project-spec-link {
  font-size: 11px;
  font-weight: 600;
  color: var(--mh-cyan);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.project-card-box:hover .project-spec-link {
  gap: 7px;
}

/* 4. Interactive 3D Project Details Modal */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none !important;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

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

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 15, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.project-modal-card {
  position: relative;
  width: 100%;
  max-width: 620px;
  max-height: 85vh;
  overflow-y: auto;
  background: rgba(13, 20, 34, 0.96);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 26px;
  padding: 28px 24px 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(16, 185, 129, 0.15);
  transform: scale(0.92) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10;
}

.project-modal.active .project-modal-card {
  transform: scale(1) translateY(0);
}

.project-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.project-modal-close:hover {
  background: rgba(255, 42, 95, 0.2);
  border-color: rgba(255, 42, 95, 0.4);
  color: #ff2a5f;
  transform: rotate(90deg);
}

.project-modal-header {
  margin-bottom: 20px;
  padding-right: 40px;
}

.project-modal-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #34d399;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 4px 10px;
  border-radius: 8px;
  margin-bottom: 8px;
}

.project-modal-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 8px;
}

.project-modal-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--light-gray-70);
  font-family: var(--ff-code);
}

.project-modal-stats span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.project-modal-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  margin-bottom: 20px;
}

.project-modal-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
}

.project-modal-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 7px;
}

.project-modal-text {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.6;
}

.project-tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 6px;
}

.project-tech-chip {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #6ee7b7;
  font-size: 11px;
  font-family: var(--ff-code);
  padding: 4px 10px;
  border-radius: 8px;
}

.project-modal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.project-modal-action-btn {
  flex: 1;
  min-width: 180px;
  height: 46px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  outline: none;
  text-decoration: none;
}

.project-modal-action-btn.primary-btn {
  background: #10b981;
  color: #ffffff;
  font-weight: 600;
  border: none;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.project-modal-action-btn.primary-btn:hover {
  background: #059669;
  transform: translateY(-2px);
}

.project-modal-action-btn.secondary-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.project-modal-action-btn.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* Light Theme Harmonization for Project Modal (Fixing dark/black notice box) */
body.light-theme .project-modal-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15), 0 0 25px rgba(16, 185, 129, 0.12) !important;
  color: #0f172a !important;
}

body.light-theme .project-modal-title {
  color: #0f172a !important;
}

body.light-theme .project-modal-stats {
  color: #64748b !important;
}

body.light-theme .project-modal-badge {
  background: rgba(16, 185, 129, 0.12) !important;
  border-color: rgba(16, 185, 129, 0.35) !important;
  color: #059669 !important;
}

body.light-theme .project-modal-body {
  border-top-color: #e2e8f0 !important;
  border-bottom-color: #e2e8f0 !important;
}

body.light-theme .project-modal-section {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}

body.light-theme .project-modal-label {
  color: #059669 !important;
}

body.light-theme .project-modal-text {
  color: #334155 !important;
}

body.light-theme .project-tech-chip {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

body.light-theme .project-modal-close {
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  color: #334155 !important;
}

body.light-theme .project-modal-close:hover {
  background: rgba(244, 63, 94, 0.15) !important;
  color: #f43f5e !important;
}

body.light-theme .project-modal-action-btn.secondary-btn {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

body.light-theme .project-modal-action-btn.secondary-btn:hover {
  background: #e2e8f0 !important;
}


/* ==========================================================================
   DEEPSEEK STYLE TOP NAVIGATION BAR & LAYOUT HARMONY (MONOCHROME DARK)
   ========================================================================== */
.deepseek-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.deepseek-header-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.deepseek-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.deepseek-logo-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffffff, #71717a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

.deepseek-brand-text {
  display: flex;
  flex-direction: column;
}

.deepseek-brand-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
  line-height: 1.2;
}

.deepseek-brand-sub {
  font-size: 10px;
  font-weight: 700;
  color: #a1a1aa;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.deepseek-nav {
  display: none;
  align-items: center;
  gap: 6px;
}

@media (min-width: 1024px) {
  .deepseek-nav {
    display: flex;
  }
}

.deepseek-nav-link {
  background: transparent;
  border: 1px solid transparent;
  color: #a1a1aa;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.deepseek-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.deepseek-nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.08);
}

.deepseek-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.deepseek-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e4e4e7;
  font-size: 11px;
  font-weight: 600;
}

.status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

/* Unified Floating Bottom Dock on All Screens (Zero Topbar) */
main {
  margin-top: 20px !important;
}

body {
  background: #09090b;
  color: #f4f4f5;
  padding-bottom: 90px !important;
}

#maxhiveBottomNav {
  display: flex !important;
}

.navbar {
  display: none !important;
}

/* ==========================================================================
   EXECUTIVE MONOCHROME RESUME HERO CARD
   ========================================================================== */
.resume-hero-card {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

@media (min-width: 768px) {
  .resume-hero-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.resume-hero-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}

.resume-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #000000;
  background: #ffffff;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.resume-hero-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.resume-hero-sub {
  font-size: 13px;
  color: #a1a1aa;
  line-height: 1.5;
  margin-bottom: 14px;
}

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

.resume-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #d4d4d8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
}

.resume-tag i {
  color: #a1a1aa;
}

.resume-hero-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

@media (min-width: 768px) {
  .resume-hero-action {
    align-items: flex-end;
  }
}

.resume-view-web-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0c0d12;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.25);
  white-space: nowrap;
}

.resume-view-web-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.4);
}

body.light-theme .resume-view-web-link {
  background: linear-gradient(135deg, #d97706, #b45309) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.25) !important;
}

.resume-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fdfbf7;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.resume-download-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
  color: #f59e0b;
  transform: translateY(-2px);
}

body.light-theme .resume-download-btn {
  background: #f5f2eb !important;
  border-color: #e7e3dc !important;
  color: #1c1917 !important;
}

body.light-theme .resume-download-btn:hover {
  background: #ede8de !important;
  border-color: rgba(217, 119, 6, 0.4) !important;
  color: #d97706 !important;
}

.resume-updated-note {
  font-size: 11px;
  color: #a8a29e;
}

body.light-theme .resume-updated-note {
  color: #78716c !important;
}

/* Resume Quick Overview Card */
.resume-quick-overview-card {
  background: rgba(20, 22, 30, 0.75);
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 25px;
}

body.light-theme .resume-quick-overview-card {
  background: #ffffff !important;
  border: 1px solid #e7e3dc !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

.overview-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.light-theme .overview-header {
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}

.overview-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

body.light-theme .overview-icon {
  background: rgba(217, 119, 6, 0.12) !important;
  border-color: rgba(217, 119, 6, 0.3) !important;
  color: #d97706 !important;
}

.overview-title {
  font-size: 17px;
  font-weight: 700;
  color: #fdfbf7;
  margin: 0 0 4px 0;
}

body.light-theme .overview-title {
  color: #1c1917 !important;
}

.overview-desc {
  font-size: 12.5px;
  color: #a8a29e;
  margin: 0;
  line-height: 1.45;
}

body.light-theme .overview-desc {
  color: #57534e !important;
}

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

@media (min-width: 600px) {
  .overview-highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

body.light-theme .highlight-item {
  background: #faf8f5 !important;
  border-color: #e7e3dc !important;
}

.highlight-item i {
  color: #f59e0b;
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

body.light-theme .highlight-item i {
  color: #d97706 !important;
}

.highlight-item strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #fdfbf7;
  margin-bottom: 2px;
}

body.light-theme .highlight-item strong {
  color: #1c1917 !important;
}

.highlight-item span {
  display: block;
  font-size: 11.5px;
  color: #a8a29e;
  line-height: 1.35;
}

body.light-theme .highlight-item span {
  color: #57534e !important;
}

/* ==========================================================================
   IMAGE-FREE PROFESSIONAL ENGINEERING PROJECT CARDS (MONOCHROME)
   ========================================================================== */
.project-card-box {
  background: #121212 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px;
  padding: 22px 20px !important;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
  user-select: none;
  outline: none;
}

.project-card-box:hover {
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.05) !important;
  transform: translateY(-3px) !important;
}

.project-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.project-card-domain-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px 10px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-card-domain-badge i {
  font-size: 12px;
  color: #a1a1aa;
}

.project-card-lang-chip {
  font-size: 11px;
  font-family: var(--ff-code);
  color: #a1a1aa;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 6px;
}

.project-card-box .project-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 10px;
}

.project-card-box .project-desc {
  font-size: 13px;
  color: #a1a1aa;
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.tech-pill {
  font-size: 11px;
  color: #d4d4d8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 6px;
  font-family: var(--ff-code);
}

.project-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.project-card-metrics {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #a1a1aa;
  font-family: var(--ff-code);
}

.project-card-metrics i {
  color: #71717a;
  margin-right: 3px;
}

.project-action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  transition: gap 0.2s ease;
}

.project-card-box:hover .project-action-link {
  gap: 9px;
  color: #ffffff;
}

/* Standalone Location Card */
.location-card {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
}

.location-card-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.location-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  flex-shrink: 0;
}

.location-text {
  flex: 1;
  min-width: 200px;
}

.location-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
}

.location-address {
  font-size: 13px;
  color: #a1a1aa;
  margin-bottom: 3px;
}

.location-geo {
  font-size: 11px;
  color: #71717a;
  font-family: var(--ff-code);
}

.location-geo code {
  color: #d4d4d8;
}

.location-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  background: #ffffff;
  color: #000000;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.location-link-btn:hover {
  background: #e4e4e7;
  transform: translateY(-1px);
}

/* ==========================================================================
   DEVELOPER ADVISORY & COLD BACKUP MANIFESTO CARD
   ========================================================================== */
.developer-advisory-card {
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 4px solid #ffffff;
  border-radius: 18px;
  padding: 22px;
  margin: 22px 0 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  transition: all 0.25s ease;
}

.developer-advisory-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.75);
}

.advisory-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.advisory-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.advisory-text {
  font-size: 14px;
  line-height: 1.65;
  color: #d4d4d8;
  margin-bottom: 14px;
}

.advisory-text code {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 5px;
  font-family: var(--ff-code);
  font-size: 13px;
  color: #ffffff;
}

.advisory-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  color: #e4e4e7;
  line-height: 1.5;
}

.advisory-callout i {
  color: #ffffff;
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}



/* ==========================================================================
   DIRECT CONTACT CHANNELS GRID
   ========================================================================== */
.contact-channels-section {
  margin-bottom: 24px;
}

.contact-quick-dock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.contact-dock-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(22, 24, 34, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  color: #e4e4e7;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 48px;
}

.contact-dock-btn i {
  font-size: 17px;
  transition: transform 0.22s ease;
}

.contact-dock-btn.phone i { color: #10b981; }
.contact-dock-btn.whatsapp i { color: #25d366; }
.contact-dock-btn.telegram i { color: #38bdf8; }
.contact-dock-btn.email i { color: #f59e0b; }

.contact-dock-btn:hover {
  transform: translateY(-2px);
  background: rgba(30, 33, 46, 0.95);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.contact-dock-btn.phone:hover { border-color: rgba(16, 185, 129, 0.45); }
.contact-dock-btn.whatsapp:hover { border-color: rgba(37, 211, 102, 0.45); }
.contact-dock-btn.telegram:hover { border-color: rgba(56, 189, 248, 0.45); }
.contact-dock-btn.email:hover { border-color: rgba(245, 158, 11, 0.45); }

.contact-dock-btn:hover i {
  transform: scale(1.15);
}

.dock-btn-label {
  letter-spacing: 0.2px;
}

/* Crawlable Semantic VCard Metadata Bar */
.contact-crawlable-info {
  background: rgba(18, 20, 29, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 10px 14px;
}

.contact-crawlable-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  font-size: 11.5px;
  color: #a1a1aa;
}

.crawl-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.crawl-item i {
  font-size: 11px;
  color: #f59e0b;
}

.crawl-item strong {
  color: #d4d4d8;
  font-weight: 600;
}

.crawl-item a {
  color: #cbd5e1;
  text-decoration: none;
  font-family: var(--ff-code);
  transition: color 0.15s ease;
}

.crawl-item a:hover {
  color: #f59e0b;
}

.crawl-item span[itemprop="address"] {
  font-family: var(--ff-code);
  color: #cbd5e1;
}

/* Project Spec Tag in Card Footer */
.project-spec-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.2px;
}

.project-spec-tag i {
  color: #f59e0b;
  font-size: 11px;
}

.modal-lang-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #f59e0b;
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 640px) {
  .contact-quick-dock {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .contact-dock-btn {
    padding: 10px 12px;
    font-size: 13px;
  }
  .contact-crawlable-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* Light Theme Overrides for Contact & Projects */
body.light-theme .contact-dock-btn {
  background: #ffffff;
  border-color: rgba(217, 119, 6, 0.16);
  color: #1f2937;
  box-shadow: 0 2px 8px rgba(180, 83, 9, 0.05);
}

body.light-theme .contact-dock-btn:hover {
  background: #fdfaf6;
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.14);
}

body.light-theme .contact-dock-btn.phone:hover { border-color: #10b981; }
body.light-theme .contact-dock-btn.whatsapp:hover { border-color: #25d366; }
body.light-theme .contact-dock-btn.telegram:hover { border-color: #0284c7; }
body.light-theme .contact-dock-btn.email:hover { border-color: #d97706; }

body.light-theme .contact-crawlable-info {
  background: #fdfaf6;
  border-color: rgba(217, 119, 6, 0.14);
}

body.light-theme .contact-crawlable-row {
  color: #4b5563;
}

body.light-theme .crawl-item strong {
  color: #1f2937;
}

body.light-theme .crawl-item a {
  color: #374151;
}

body.light-theme .crawl-item a:hover {
  color: #d97706;
}

body.light-theme .crawl-item span[itemprop="address"] {
  color: #374151;
}

body.light-theme .project-spec-tag {
  color: #4b5563;
}

body.light-theme .project-spec-tag i {
  color: #d97706;
}

body.light-theme .modal-lang-chip {
  background: rgba(217, 119, 6, 0.1);
  border-color: rgba(217, 119, 6, 0.25);
  color: #b45309;
}

/* ==========================================================================
   CERTIFICATES & LIGHTBOX MODAL
   ========================================================================== */
.cert-interactive-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #a1a1aa;
  margin-bottom: 16px;
}

.clients-item {
  min-width: 360px !important;
  max-width: 400px !important;
  scroll-snap-align: start;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .clients-item {
    min-width: 310px !important;
    max-width: 335px !important;
  }
}

.cert-item-card {
  cursor: pointer;
  background: rgba(20, 20, 24, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 16px;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.cert-item-card:hover {
  background: rgba(28, 28, 34, 0.98);
  border-color: rgba(56, 189, 248, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.15);
}

.cert-thumb-box {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  width: 100%;
  height: 205px;
  background: #09090b;
  margin-bottom: 14px;
}

.cert-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.cert-item-card:hover .cert-thumb-box img {
  transform: scale(1.05);
}

.cert-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.cert-badge.gold {
  background: rgba(245, 158, 11, 0.28);
  border: 1px solid rgba(245, 158, 11, 0.55);
  color: #fbbf24;
}

.cert-badge.cyan {
  background: rgba(6, 182, 212, 0.28);
  border: 1px solid rgba(6, 182, 212, 0.55);
  color: #38bdf8;
}

.cert-badge.purple {
  background: rgba(168, 85, 247, 0.28);
  border: 1px solid rgba(168, 85, 247, 0.55);
  color: #c084fc;
}

.cert-badge.emerald {
  background: rgba(16, 185, 129, 0.28);
  border: 1px solid rgba(16, 185, 129, 0.55);
  color: #34d399;
}

.cert-badge.rose {
  background: rgba(244, 63, 94, 0.28);
  border: 1px solid rgba(244, 63, 94, 0.55);
  color: #fb7185;
}

.cert-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cert-item-card:hover .cert-zoom-overlay {
  opacity: 1;
}

.cert-content-box {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cert-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
  line-height: 1.3;
}

.cert-card-sub {
  font-size: 11.5px;
  font-weight: 600;
  color: #38bdf8;
  display: block;
  margin-bottom: 10px;
}

.cert-card-desc {
  font-size: 12px;
  line-height: 1.55;
  color: #a1a1aa;
  margin-bottom: 14px;
  flex-grow: 1;
}

.cert-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #38bdf8;
  padding: 7px 12px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  width: max-content;
  transition: all 0.2s ease;
}

.cert-item-card:hover .cert-view-btn {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.45);
  color: #7dd3fc;
}

.cert-modal-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #cbd5e1;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

/* Certificate Lightbox Modal */
.cert-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none !important;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cert-modal.active {
  display: flex !important;
  opacity: 1;
  visibility: visible;
}

.cert-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
}

.cert-modal-card {
  position: relative;
  z-index: 10;
  max-width: 820px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  background: #10121a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  animation: certModalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes certModalPop {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.cert-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 25;
}

.cert-modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

.cert-nav-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 20;
}

.cert-nav-btn:hover {
  background: #38bdf8;
  color: #000000;
  transform: translateY(-50%) scale(1.08);
}

.cert-nav-btn.prev {
  left: 16px;
}

.cert-nav-btn.next {
  right: 16px;
}

.cert-modal-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cert-modal-img-container {
  width: 100%;
  max-height: 58vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 14px;
  background: #050508;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cert-modal-image {
  max-width: 100%;
  max-height: 56vh;
  object-fit: contain;
  border-radius: 10px;
}

.cert-modal-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cert-modal-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.cert-modal-heading-box {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cert-modal-title {
  font-size: 17px;
  font-weight: 700;
  color: #f8fafc;
}

.cert-modal-org {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}

.cert-modal-counter {
  font-size: 11.5px;
  font-family: var(--ff-code);
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 4px 10px;
  border-radius: 8px;
  white-space: nowrap;
}

.cert-modal-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 0;
}

/* ==========================================================================
   MODERN TECHNICAL COMPETENCIES GRID (Categorized Interactive Chips)
   ========================================================================== */
.skills-categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 18px;
}

@media (min-width: 768px) {
  .skills-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.skill-category-card {
  background: #141417;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.skill-category-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

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

.skill-cat-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 14px;
}

.skill-cat-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.skill-chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  color: #e4e4e7;
  transition: all 0.2s ease;
  user-select: none;
}

.skill-chip:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-1px);
}

.skill-chip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
}

/* ==========================================================================
   CONTACT FORM: FILE ATTACHMENT & TRANSMISSION SUCCESS CARD
   ========================================================================== */
.attachment-input-wrapper {
  margin-top: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.attachment-file-input {
  display: none;
}

.attachment-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  color: #a1a1aa;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-grow: 1;
}

.attachment-label:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.attachment-label ion-icon {
  font-size: 16px;
  color: #ffffff;
}

#attachmentNameDisplay.has-file {
  color: #ffffff;
  font-weight: 600;
}

.attachment-clear-btn {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.attachment-clear-btn:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #ffffff;
}

.btn-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  margin-right: 6px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.contact-success-card {
  display: none;
  background: var(--div-gradient-bg);
  border: 1px solid var(--main-border);
  border-radius: 24px;
  padding: 36px 24px;
  text-align: center;
  margin-top: 15px;
  margin-bottom: 25px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--box-shadow-2);
  animation: cardFadeUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cardFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.success-check-badge {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  border: 2px solid #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: #10b981;
  font-size: 34px;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.2);
  animation: checkPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.success-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--font-color-1);
  margin-bottom: 8px;
}

.success-card-subtitle {
  font-size: 14px;
  color: var(--font-color-2);
  max-width: 480px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.send-another-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0c0d12;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 14px;
  border: 1px solid rgba(251, 191, 36, 0.4);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

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

.send-another-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
  filter: brightness(1.05);
}

.send-another-btn:active {
  transform: translateY(0);
}

body.light-theme .contact-success-card,
html[data-theme="light"] body .contact-success-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05) !important;
}

body.light-theme .success-check-badge,
html[data-theme="light"] body .success-check-badge {
  background: rgba(16, 185, 129, 0.1) !important;
  border-color: #10b981 !important;
  color: #059669 !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.15) !important;
}

body.light-theme .success-card-title,
html[data-theme="light"] body .success-card-title {
  color: #0f172a !important;
}

body.light-theme .success-card-subtitle,
html[data-theme="light"] body .success-card-subtitle {
  color: #64748b !important;
}

body.light-theme .send-another-btn,
html[data-theme="light"] body .send-another-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #ffffff !important;
  border-color: rgba(245, 158, 11, 0.5) !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3) !important;
}

/* ==========================================================================
   AUTO LIGHT / DARK MONOCHROME & MODERN MODE + TOGGLE
   ========================================================================== */
body.light-theme,
html[data-theme="light"] body {
  --body-bg-solid: #f8fafc;
  --div-gradient-bg: #ffffff;
  --profile-gradient-bg: #ffffff;
  --article-bg: #ffffff;
  --font-color-1: #0f172a;
  --font-color-2: #334155;
  --light-gray: #0f172a;
  --light-gray-70: #64748b;
  --main-border: rgba(148, 163, 184, 0.25);
  --mh-bg: rgba(255, 255, 255, 0.96);
  --mh-border: rgba(148, 163, 184, 0.25);
  --mh-text: #0f172a;
  --mh-text-muted: #64748b;
  --box-shadow-1: 0 2px 8px rgba(0, 0, 0, 0.04);
  --box-shadow-2: 0 4px 16px rgba(0, 0, 0, 0.05);
  --box-shadow-3: 0 6px 20px rgba(0, 0, 0, 0.06);
  --box-shadow-4: 0 8px 25px rgba(0, 0, 0, 0.06);
  --box-shadow-5: 0 12px 32px rgba(0, 0, 0, 0.08);

  background-color: #eef2f6 !important;
  background-image: 
    radial-gradient(circle, rgba(71, 85, 105, 0.38) 1.2px, transparent 1.6px),
    radial-gradient(ellipse at 50% -10%, rgba(245, 158, 11, 0.16) 0%, transparent 65%),
    radial-gradient(circle at 90% 85%, rgba(203, 213, 225, 0.5) 0%, transparent 55%) !important;
  background-size: 16px 16px, 100% 100%, 100% 100% !important;
  background-position: 0 0, center top, center bottom !important;
  background-attachment: fixed !important;
  color: #0f172a !important;
}

body.light-theme .sidebar,
body.light-theme article,
body.light-theme .content-card,
body.light-theme .project-card-box,
body.light-theme .cert-item-card,
body.light-theme .resume-hero-card,
body.light-theme .maxhive-stat-card,
body.light-theme .skill-category-card {
  background: #ffffff !important;
  border: 1px solid #e7e3dc !important;
  color: #1c1917 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

body.light-theme .contact-title {
  color: #78716c !important;
  font-weight: 600 !important;
}

body.light-theme .contact-info :is(.contact-link, time, address) {
  color: #1c1917 !important;
  font-weight: 500 !important;
}

body.light-theme .sidebar-info_more .social-item .social-link,
body.light-theme .social-item .social-link {
  background: #ffffff !important;
  border: 1.5px solid #d6d3d1 !important;
  color: #44403c !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.03) !important;
}

body.light-theme .sidebar-info_more .social-item .social-link:hover,
body.light-theme .social-item .social-link:hover {
  background: rgba(245, 158, 11, 0.14) !important;
  border-color: #f59e0b !important;
  color: #d97706 !important;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25) !important;
}

body.light-theme .sidebar-info_more .contact-item .icon-box,
html[data-theme="light"] .sidebar-info_more .contact-item .icon-box {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.light-theme .sidebar-info_more .separator {
  background: #e7e5e4 !important;
}

body.light-theme .testimonials-modal {
  background: #ffffff !important;
  color: #1c1917 !important;
  border: 1px solid #e7e3dc !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12) !important;
}

body.light-theme .modal-close-btn {
  background: #f5f2eb !important;
  color: #1c1917 !important;
  border-color: #e7e3dc !important;
}

body.light-theme .maxhive-bottom-nav {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 14px 38px -6px rgba(0, 0, 0, 0.1), 
              0 0 0 1px rgba(0, 0, 0, 0.03) inset, 
              0 1px 0 rgba(255, 255, 255, 0.95) inset !important;
}

body.light-theme .maxhive-bottom-nav.expanded {
  background: #ffffff !important;
  border: 1px solid #e7e3dc !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12) !important;
}

/* Fix mobile drawer trimmed issue in light theme by keeping inner drawer background transparent */
body.light-theme .maxhive-bottom-nav .maxhive-drawer {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.light-theme .maxhive-nav-btn {
  color: #78716c !important;
}

body.light-theme .maxhive-nav-btn.active {
  color: #d97706 !important;
}

body.light-theme .maxhive-nav-btn.active .maxhive-nav-icon {
  color: #d97706 !important;
  filter: drop-shadow(0 0 6px rgba(217, 119, 6, 0.35)) !important;
}

body.light-theme .maxhive-active-dot {
  background: #d97706 !important;
  box-shadow: 0 0 6px #d97706 !important;
}

body.light-theme .maxhive-grid-btn,
body.light-theme .maxhive-grid-menu-card {
  background: #f5f2eb !important;
  border-color: #e7e3dc !important;
  color: #1c1917 !important;
}

body.light-theme .maxhive-grid-meta strong,
body.light-theme .maxhive-grid-menu-card .grid-card-text strong {
  color: #1c1917 !important;
}

body.light-theme .maxhive-grid-meta small,
body.light-theme .maxhive-grid-menu-card .grid-card-text small {
  color: #57534e !important;
}

body.light-theme .maxhive-shortcut-btn span {
  color: #57534e !important;
}

body.light-theme .maxhive-drawer-heading {
  color: #1c1917 !important;
}

body.light-theme .maxhive-grid-btn:hover {
  background: #f5f2eb !important;
  color: #d97706 !important;
  border-color: #d97706 !important;
}

body.light-theme .smart-title-badge {
  background: rgba(217, 119, 6, 0.08) !important;
  border-color: rgba(217, 119, 6, 0.25) !important;
  color: #b45309 !important;
  box-shadow: none !important;
}

body.light-theme .smart-title-dot {
  background: #d97706 !important;
  box-shadow: 0 0 6px rgba(217, 119, 6, 0.4) !important;
}

body.light-theme .sub-badge {
  background: rgba(0, 0, 0, 0.04) !important;
  border-color: #e2e8f0 !important;
  color: #334155 !important;
}

body.light-theme .header-theme-btn,
body.light-theme .info_more-btn {
  background: rgba(255, 255, 255, 0.85) !important;
  border: 1px solid var(--main-border) !important;
  color: #475569 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
}

body.light-theme .header-theme-btn:hover,
body.light-theme .info_more-btn:hover {
  background: rgba(245, 158, 11, 0.1) !important;
  color: #d97706 !important;
  border-color: rgba(217, 119, 6, 0.45) !important;
  transform: scale(1.06) !important;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2) !important;
}



body.light-theme .modal-title,
body.light-theme .testimonials-item-title {
  color: #0f172a !important;
}

body.light-theme .modal-text p,
body.light-theme .testimonials-text p {
  color: #334155 !important;
}

body.light-theme .skill-chip {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #1e293b !important;
}

body.light-theme .skill-chip-dot {
  background: #0284c7 !important;
  box-shadow: 0 0 4px #0284c7 !important;
}

body.light-theme .project-title,
body.light-theme .article-title,
body.light-theme .service-item-title,
body.light-theme .timeline-item-title,
body.light-theme .maxhive-stat-number,
body.light-theme .resume-hero-title {
  color: #0f172a !important;
}

body.light-theme .maxhive-stat-label,
body.light-theme .timeline-text,
body.light-theme .about-text {
  color: #334155 !important;
}

/* Light Theme Bottom Nav & Drawer Overrides */
body.light-theme .maxhive-bottom-nav {
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  box-shadow: 0 16px 40px -8px rgba(15, 23, 42, 0.12), 0 1px 0 rgba(255, 255, 255, 0.9) inset !important;
}

body.light-theme .maxhive-nav-label {
  color: #475569 !important;
}

body.light-theme .maxhive-drawer {
  background: rgba(255, 255, 255, 0.98) !important;
  border-color: rgba(226, 232, 240, 0.9) !important;
  color: #0f172a !important;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15) !important;
}

/* ==========================================================================
   AMBIENT SMOKE CANVAS & INTERACTIVE CURSOR DOT
   ========================================================================== */
.ambient-smoke-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
  mix-blend-mode: screen;
}

body.light-theme .ambient-smoke-canvas,
html[data-theme="light"] .ambient-smoke-canvas {
  display: none !important;
  opacity: 0 !important;
}

.max-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8, 0 0 20px rgba(56, 189, 248, 0.6);
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  transition: width 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), 
              height 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), 
              background 0.25s ease, 
              box-shadow 0.25s ease;
  mix-blend-mode: screen;
}

body.light-theme .max-cursor-dot {
  background: #0284c7;
  box-shadow: 0 0 10px #0284c7;
  mix-blend-mode: normal;
}

.max-cursor-dot.hovered {
  width: 32px;
  height: 32px;
  background: rgba(129, 140, 248, 0.25);
  border: 2px solid #818cf8;
  box-shadow: 0 0 25px rgba(129, 140, 248, 0.6);
}

@media (hover: none) and (pointer: coarse) {
  .max-cursor-dot {
    display: none !important;
  }
}

/* Touch Ripples & Sparks */
.touch-ripple-circle {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%) scale(0.2);
  border: 2px solid rgba(56, 189, 248, 0.8);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
  animation: touchRippleAnim 0.6s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
}

@keyframes touchRippleAnim {
  0% {
    transform: translate(-50%, -50%) scale(0.2);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.2);
    opacity: 0;
  }
}

/* 3D Tilt Card Transitions */
.content-card,
.project-card-box,
.maxhive-stat-card {
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  will-change: transform;
  transform-style: preserve-3d;
}

/* Form & Input Enhancements for Light Theme */
body.light-theme .form-input,
body.light-theme input:not(.share-simple-input),
body.light-theme textarea {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

body.light-theme .form-input::placeholder,
body.light-theme input:not(.share-simple-input)::placeholder,
body.light-theme textarea::placeholder {
  color: #94a3b8 !important;
}

body.light-theme .form-input:focus,
body.light-theme input:not(.share-simple-input):focus,
body.light-theme textarea:focus {
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}

body.light-theme .form-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #0c0d12 !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3) !important;
}

body.light-theme .filter-select-box,
body.light-theme .select-list {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}

body.light-theme .filter-item button {
  color: #64748b !important;
}

body.light-theme .filter-item button.active {
  color: #0284c7 !important;
  background: rgba(2, 132, 199, 0.08) !important;
}

body.light-theme .project-card-box {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}

body.light-theme .project-tech-chip {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border-color: #e2e8f0 !important;
}

body.light-theme .project-stat-badge {
  color: #64748b !important;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATION ENGINE
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* ==========================================================================
   SECTION BOTTOM PAGINATION SUGGESTIONS
   ========================================================================== */
.section-bottom-pagination {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--main-border);
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  width: 100%;
}

.section-bottom-pagination.two-way {
  justify-content: space-between;
}

.pagination-nav-btn {
  display: inline-flex;
  flex-direction: column;
  padding: 14px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--font-color-1);
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  text-align: left;
  user-select: none;
  -webkit-user-select: none;
}

.pagination-nav-btn.next-btn {
  text-align: right;
  margin-left: auto;
}

.pagination-nav-btn .btn-sub {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--font-color-3);
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pagination-nav-btn.next-btn .btn-sub {
  justify-content: flex-end;
}

.pagination-nav-btn .btn-main {
  font-size: 14px;
  font-weight: 600;
  color: #f59e0b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination-nav-btn.next-btn .btn-main {
  justify-content: flex-end;
}

.pagination-nav-btn.prev-btn .btn-main {
  color: var(--font-color-2);
}

.pagination-nav-btn:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.18);
}

.pagination-nav-btn:hover .btn-main {
  color: #fbbf24;
}

body.light-theme .pagination-nav-btn {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(203, 213, 225, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

body.light-theme .pagination-nav-btn.next-btn .btn-main {
  color: #d97706;
}

body.light-theme .pagination-nav-btn:hover {
  background: #fffbeb;
  border-color: #d97706;
}

body.light-theme .pagination-nav-btn:hover .btn-main {
  color: #b45309;
}

@media (max-width: 580px) {
  .section-bottom-pagination {
    flex-direction: column;
    gap: 12px;
  }
  .pagination-nav-btn.next-btn {
    text-align: left;
    margin-left: 0;
  }
  .pagination-nav-btn.next-btn .btn-sub,
  .pagination-nav-btn.next-btn .btn-main {
    justify-content: flex-start;
  }
}

/* Direct Milestone-to-Milestone Navigation Bar */
.moment-detail-direct-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 16px 0;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  gap: 12px;
}

body.light-theme .moment-detail-direct-nav,
[data-theme="light"] .moment-detail-direct-nav {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.08);
}

.moment-direct-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  user-select: none;
}

.moment-direct-nav-btn:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.5);
  color: #34d399;
  transform: translateY(-1px);
}

body.light-theme .moment-direct-nav-btn,
[data-theme="light"] .moment-direct-nav-btn {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  color: #0f172a;
}

body.light-theme .moment-direct-nav-btn:hover,
[data-theme="light"] .moment-direct-nav-btn:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: #10b981;
  color: #059669;
}

.moment-direct-nav-counter {
  font-size: 12.5px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

body.light-theme .moment-direct-nav-counter,
[data-theme="light"] .moment-direct-nav-counter {
  color: #64748b;
}

@media (max-width: 580px) {
  .moment-detail-direct-nav {
    padding: 10px 12px;
  }
  .moment-direct-nav-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* ==========================================================================
   SCIENCE FAIR MOMENTS SLIDER & VIDEO REEL
   ========================================================================== */
.moments-section {
  margin-top: 40px;
  margin-bottom: 35px;
}

.moments-carousel-wrap {
  position: relative;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  box-shadow: none !important;
  width: 100% !important;
}

.moments-carousel-inner {
  position: relative;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  box-shadow: none !important;
  width: 100% !important;
}

.moments-slider-container {
  position: relative;
  width: 100% !important;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #080c14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  cursor: pointer;
}

.moments-slider-img,
.moments-slider-video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  background: #080c14;
  transition: opacity 0.4s ease, transform 0.6s ease;
}

.moments-slider-container:hover .moments-slider-img {
  transform: scale(1.03);
}

/* Border Countdown Progress Bar (Superceded by Circular Ring on Nav Buttons) */
.moments-progress-bar-wrap {
  display: none !important;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 12;
  overflow: hidden;
  pointer-events: none;
}

.moments-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.8);
  transition: width 0.1s linear;
}

/* Top-Right Dynamic Indicators positioned just above banner */
.moments-top-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 8px;
  width: 100%;
  padding: 0 4px;
}

.moments-slide-indicators {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 12;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 1px rgba(255, 255, 255, 0.15);
}

body.light-theme .moments-slide-indicators {
  background: rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.moments-slide-dot {
  width: 6px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.45);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8));
}

body.light-theme .moments-slide-dot {
  background: rgba(15, 23, 42, 0.25);
  filter: none;
}

.moments-slide-dot.active {
  width: 22px;
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.85);
}

body.light-theme .moments-slide-dot.active {
  background: #d97706;
}

/* Subtle Dark Bottom Shadow Overlay with Clean 1-Line Text */
.moments-slider-overlay.moments-slider-bottom-shadow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  inset: auto 0 0 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 60%, transparent 100%);
  display: flex;
  align-items: center;
  padding: 24px 20px 10px 16px !important;
  color: #fff;
  pointer-events: none;
  border-radius: 0 0 16px 16px;
  z-index: 6;
}

.moments-slider-one-liner {
  font-size: 13px;
  font-weight: 600;
  color: #fdfbf7;
  margin: 0;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.moments-slider-one-liner .one-liner-cat {
  color: #f59e0b;
  font-weight: 700;
  margin-right: 6px;
}

.moments-click-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
  flex-shrink: 0;
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  transition: color 0.2s ease;
}

.moments-slider-container:hover .moments-click-hint {
  color: #34d399;
}

body.light-theme .moments-slider-overlay.moments-single-line-bar {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

body.light-theme .moments-slider-overlay.moments-single-line-bar .moments-slider-title {
  color: #0f172a;
}

body.light-theme .moments-click-hint {
  color: #64748b;
  border-left-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .moments-slider-container:hover .moments-click-hint {
  color: #059669;
}

.moments-slider-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(56, 189, 248, 0.25);
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #38bdf8;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
  width: fit-content;
}

.moments-slider-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  line-height: 1.3;
}

.moments-slider-desc {
  font-size: 12.5px;
  color: #cbd5e1;
  line-height: 1.45;
  max-width: 95%;
  margin: 0;
}

.moments-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  gap: 10px;
  flex-wrap: wrap;
}

.moments-controls-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.moments-ctrl-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f8fafc;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.22s ease;
}

.moments-ctrl-btn:hover {
  background: #38bdf8;
  color: #0b1120;
  transform: scale(1.08);
}

.moments-play-pause-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #38bdf8;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.22s ease;
}

.moments-play-pause-btn:hover {
  background: rgba(56, 189, 248, 0.2);
}

.moments-view-all-btn {
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.moments-view-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
}

/* Video Highlight Reel */
.video-reel-wrap {
  margin-top: 24px;
  background: var(--bg-card);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--main-border);
}

.video-reel-player {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  background: #000;
  outline: none;
}

/* Modal for All Moments */
.moments-modal-content {
  position: relative !important;
  background: #111420 !important;
  color: #f4f4f5 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 24px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 25px rgba(56, 189, 248, 0.12) !important;
  transform: scale(0.94) translateY(12px) !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease !important;
  z-index: 2 !important;
  max-width: 900px !important;
  width: 100% !important;
  max-height: 85vh !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.modal-container.active .moments-modal-content {
  transform: scale(1) translateY(0) !important;
  opacity: 1 !important;
}

body.light-theme .moments-modal-content {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
}

.moments-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  max-height: 70vh;
  overflow-y: auto;
  padding: 16px;
}

.moment-modal-card {
  background: var(--bg-card);
  border: 1px solid var(--main-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, box-shadow 0.22s ease;
  user-select: none;
}

.moment-modal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 15px rgba(16, 185, 129, 0.15);
}

.moment-modal-card:active {
  transform: translateY(-1px) scale(0.99);
}

.moment-modal-img-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #090d16;
}

.moment-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.moment-modal-card:hover .moment-modal-img {
  transform: scale(1.05);
}

.moment-modal-type-chip {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(10, 14, 24, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 5px;
}

.moment-modal-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.moment-modal-cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #10b981;
  letter-spacing: 0.5px;
}

.moment-modal-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--font-color-1);
  margin: 4px 0 6px;
  line-height: 1.35;
}

.moment-modal-desc {
  font-size: 12px;
  color: var(--font-color-2);
  line-height: 1.45;
  margin: 0;
  flex: 1;
}

.moment-modal-footer-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--main-border);
  font-size: 11px;
  color: #94a3b8;
}

.moment-modal-footer-hint span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.moment-modal-footer-hint .hint-action {
  color: #10b981;
  font-weight: 600;
}

/* Selection Lock Safeguard */
.avatar-box,
.header-theme-btn,
.info_more-btn,
.maxhive-bottom-nav,
.cert-badge,
.timeline-item-title,
.about-drop-cap,
.moments-slider-container,
.name-capsule-badge {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* ==========================================================================
   NAME CAPSULE BADGE & 3D INTERACTIVE TOUCH PRESS
   ========================================================================== */
.name-inline-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #f59e0b !important;
  -webkit-text-fill-color: #f59e0b !important;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 999px;
  padding: 1px 6px;
  height: 16px;
  line-height: 14px;
  vertical-align: middle;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.2);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
  flex-shrink: 0;
}

.name-inline-tag:hover {
  background: rgba(245, 158, 11, 0.26);
  border-color: #fbbf24;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.45);
  transform: scale(1.06);
}

.name-inline-tag:active {
  transform: scale(0.95);
}

body.light-theme .name-inline-tag {
  color: #b45309 !important;
  -webkit-text-fill-color: #b45309 !important;
  background: rgba(217, 119, 6, 0.1) !important;
  border-color: rgba(217, 119, 6, 0.35) !important;
}

.name-vertical-tag {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-left: 8px;
  vertical-align: middle;
  padding: 2px 4px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  line-height: 1;
  user-select: none;
}

.name-vertical-tag:hover {
  background: rgba(16, 185, 129, 0.28);
  border-color: #10b981;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.5);
  transform: scale(1.08);
}

.name-vertical-tag span {
  font-size: 8px;
  font-weight: 900;
  color: #34d399;
  line-height: 8.5px;
  letter-spacing: 0.5px;
  text-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
  display: block;
}

.interactive-name-press {
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
  display: inline-block;
}

.interactive-name-press:active {
  transform: perspective(600px) translateZ(-8px) scale(0.97);
}

/* Unified Single-Row Responsive Brand Channels Dock in Profile Card (Zero Background Box, Zero Border, Compact Sleek Layout) */
.sidebar-info_more .social-list {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-around !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 2px 0 !important;
  margin: 4px 0 0 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
}

.sidebar-info_more .social-item {
  flex: 1 1 auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sidebar-info_more .social-item .social-link {
  width: 42px !important;
  height: 42px !important;
  font-size: 19px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 12px !important;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}

/* Clean Minimal Social Icons in Expanded Profile Card (Zero Background Box, Zero Colored Background) */
.sidebar-info_more .social-item .social-link {
  width: 38px !important;
  height: 38px !important;
  font-size: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #94a3b8 !important;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}

.sidebar-info_more .social-item .social-link:hover,
.sidebar-info_more .social-item .social-link:active {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transform: translateY(-2px) scale(1.15) !important;
  color: #fbbf24 !important;
}

/* In Desktop mode (1250px and above): Profile card stays compact and neat;
   social channels are rendered in the separate dedicated dock below the profile card */
@media (min-width: 1250px) {
  .sidebar-info_more .social-list,
  .sidebar-info_more .separator:last-of-type {
    display: none !important;
  }
}

body.light-theme .sidebar-info_more .social-item .social-link,
html[data-theme="light"] .sidebar-info_more .social-item .social-link {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #64748b !important;
}

body.light-theme .sidebar-info_more .social-item .social-link:hover,
html[data-theme="light"] .sidebar-info_more .social-item .social-link:hover {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #d97706 !important;
}

body.light-theme .sidebar-info_more .contact-item .icon-box ion-icon,
html[data-theme="light"] .sidebar-info_more .contact-item .icon-box ion-icon,
body.light-theme .sidebar-info_more .contact-item .icon-box i,
html[data-theme="light"] .sidebar-info_more .contact-item .icon-box i {
  color: inherit !important;
  --ionicon-stroke-width: 40px !important;
}

body.light-theme .sidebar-info_more .separator,
html[data-theme="light"] .sidebar-info_more .separator {
  background: #cbd5e1 !important;
}

/* 3D Perspective Entrance for Expanded Contact Items */
.sidebar.active .contact-item {
  animation: contactItem3DIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.sidebar.active .contact-item:nth-child(1) { animation-delay: 0.04s; }
.sidebar.active .contact-item:nth-child(2) { animation-delay: 0.09s; }
.sidebar.active .contact-item:nth-child(3) { animation-delay: 0.14s; }
.sidebar.active .contact-item:nth-child(4) { animation-delay: 0.19s; }

@keyframes contactItem3DIn {
  0% {
    opacity: 0;
    transform: perspective(600px) rotateX(15deg) translateY(12px);
  }
  100% {
    opacity: 1;
    transform: perspective(600px) rotateX(0deg) translateY(0);
  }
}

/* ==========================================================================
   PHOTO HIGHLIGHTS BANNER CARD (3D Transition, Zero Photo Cropping)
   ========================================================================== */
.photo-highlights-banner-card {
  position: relative;
  margin-bottom: 24px;
  border-radius: 22px;
  background: rgba(18, 22, 34, 0.88);
  border: 1px solid var(--main-border);
  box-shadow: 0 12px 36px -10px rgba(0, 0, 0, 0.65), 0 0 20px rgba(245, 158, 11, 0.08);
  overflow: hidden;
  cursor: pointer;
  perspective: 1000px;
  user-select: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.photo-highlights-banner-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 16px 45px -8px rgba(0, 0, 0, 0.75), 0 0 25px rgba(245, 158, 11, 0.16);
}

.banner-stage-3d {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
}

.banner-blur-backdrop {
  position: absolute;
  inset: -25px;
  background-size: cover;
  background-position: center;
  filter: blur(28px) brightness(0.45);
  opacity: 0.55;
  z-index: 1;
  pointer-events: none;
  transition: background-image 0.4s ease;
}

.banner-slider-frame {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 16px 20px;
  gap: 20px;
  min-height: 175px;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease;
}

.banner-slider-frame.anim-3d {
  transform: perspective(800px) rotateY(-14deg) scale(0.96);
  opacity: 0.35;
}

.banner-image-container {
  flex-shrink: 0;
  width: 220px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.banner-slide-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.photo-highlights-banner-card:hover .banner-slide-img {
  transform: scale(1.04);
}

.banner-slide-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.banner-meta-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.banner-meta-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.5px;
}

.banner-3d-tag {
  font-size: 10px;
  font-weight: 600;
  color: #818cf8;
  background: rgba(129, 140, 248, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.3);
  padding: 3px 8px;
  border-radius: 999px;
}

.banner-meta-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--font-color-1);
  margin: 0;
  line-height: 1.3;
}

.banner-meta-desc {
  font-size: 13px;
  color: var(--font-color-2);
  line-height: 1.45;
  margin: 0;
}

.banner-action-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #fbbf24;
  transition: transform 0.2s ease;
}

.photo-highlights-banner-card:hover .hint-arrow {
  transform: translateX(4px);
}

.banner-controls-strip {
  position: absolute;
  bottom: 12px;
  right: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.banner-ctrl-btn,
.banner-play-btn {
  background: transparent;
  border: none;
  color: #e2e8f0;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.banner-ctrl-btn:hover,
.banner-play-btn:hover {
  color: #f59e0b;
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 680px) {
  .banner-slider-frame {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px;
    gap: 12px;
  }
  .banner-image-container {
    width: 100%;
    height: 175px;
  }
  .banner-controls-strip {
    position: static;
    margin: 4px 14px 10px auto;
    align-self: flex-end;
  }
}

/* ==========================================================================
   WHY "MAX" IS MY NICKNAME MODAL
   ========================================================================== */
.nickname-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none !important;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nickname-modal.active {
  display: flex !important;
  opacity: 1;
  visibility: visible;
}

.nickname-dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: linear-gradient(155deg, rgba(22, 28, 44, 0.98), rgba(14, 18, 30, 0.99));
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 24px;
  padding: 26px 24px 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 158, 11, 0.2);
  transform: scale(0.92) translateY(14px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nickname-modal.active .nickname-dialog {
  transform: scale(1) translateY(0);
}

.nickname-header {
  text-align: center;
  margin-bottom: 16px;
}

.nickname-avatar-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 1px;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
  margin-bottom: 10px;
}

.nickname-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--font-color-1);
  margin: 0 0 4px;
}

.nickname-sub {
  font-size: 12px;
  color: var(--font-color-2);
}

.nickname-paragraph {
  font-size: 13.5px;
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 12px;
}

.nickname-gotit-btn {
  width: 100%;
  padding: 11px 18px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
  transition: all 0.2s ease;
}

.nickname-gotit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.5);
}

.modal-close-icon-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--font-color-1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.modal-close-icon-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #fff;
}

/* ==========================================================================
   VISITOR TELEMETRY POPUP MODAL STYLING
   ========================================================================== */
.telemetry-chip {
  background: rgba(6, 182, 212, 0.16) !important;
  border-color: rgba(6, 182, 212, 0.4) !important;
  color: #06b6d4 !important;
  font-size: 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.telemetry-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.telemetry-card-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #94a3b8;
  margin-bottom: 6px;
  font-weight: 600;
}

.telemetry-id-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 12px;
}

.telemetry-code {
  font-family: var(--ff-code, monospace);
  font-size: 13px;
  color: #38bdf8;
  word-break: break-all;
  font-weight: 700;
}

.telemetry-copy-btn {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.telemetry-copy-btn:hover {
  background: #38bdf8;
  color: #020617;
}

.telemetry-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.telemetry-mini-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 12px;
}

.telemetry-mini-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  margin-bottom: 4px;
}

.telemetry-mini-val {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: #fbbf24;
}

.telemetry-mini-sub {
  display: block;
  font-size: 10.5px;
  color: #a1a1aa;
  margin-top: 2px;
}

.telemetry-details-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.telemetry-detail-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11.5px;
}

.detail-name {
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.detail-value {
  color: #f1f5f9;
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

body.light-theme .telemetry-card,
body.light-theme .telemetry-mini-card,
body.light-theme .telemetry-details-box {
  background: #f8fafc;
  border-color: #e2e8f0;
}

body.light-theme .telemetry-id-row {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

body.light-theme .telemetry-code {
  color: #0284c7;
}

body.light-theme .telemetry-mini-val {
  color: #d97706;
}

body.light-theme .detail-value {
  color: #1e293b;
}

/* ==========================================================================
   SCIENCE FAIR & INNOVATION MOMENTS TIMELINE MODAL
   ========================================================================== */
.gallery-timeline-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none !important;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-timeline-modal.active {
  display: flex !important;
  opacity: 1;
  visibility: visible;
}

.gallery-timeline-dialog {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: rgba(14, 18, 30, 0.98);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid var(--main-border);
  border-radius: 26px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.85), 0 0 30px rgba(245, 158, 11, 0.15);
  overflow: hidden;
}

.gallery-timeline-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--main-border);
  flex-shrink: 0;
}

.gallery-modal-badge {
  font-size: 11px;
  font-weight: 700;
  color: #f59e0b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gallery-modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--font-color-1);
  margin: 4px 0 2px;
}

.gallery-modal-sub {
  font-size: 12px;
  color: var(--font-color-2);
  margin: 0;
}

.gallery-timeline-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
}

.timeline-stream-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  padding-left: 28px;
}

.timeline-stream-container::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, #f59e0b, #818cf8, #10b981);
  border-radius: 999px;
}

.timeline-stream-item {
  position: relative;
  display: flex;
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--main-border);
  border-radius: 16px;
  padding: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.timeline-stream-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateX(4px);
}

.timeline-stream-node {
  position: absolute;
  left: -28px;
  top: 16px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0f172a;
  border: 3px solid #f59e0b;
  box-shadow: 0 0 10px #f59e0b;
}

.timeline-stream-thumb-wrap {
  flex-shrink: 0;
  width: 140px;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-stream-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.timeline-stream-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.timeline-stream-year {
  font-size: 11px;
  font-weight: 700;
  color: #f59e0b;
}

.timeline-stream-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--font-color-1);
  margin: 0;
}

.timeline-stream-desc {
  font-size: 12.5px;
  color: var(--font-color-2);
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 600px) {
  .timeline-stream-item {
    flex-direction: column;
  }
  .timeline-stream-thumb-wrap {
    width: 100%;
    height: 160px;
  }
}

/* ==========================================================================
   FULLSCREEN HIGH-RESOLUTION PHOTO LIGHTBOX
   ========================================================================== */
.fullscreen-photo-lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  width: 100dvw;
  height: 100dvh;
  z-index: 9999999;
  display: none !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fullscreen-photo-lightbox.active {
  display: flex !important;
  opacity: 1;
  visibility: visible;
}

.fullscreen-photo-lightbox .lightbox-dialog {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden;
  padding: 0;
  pointer-events: none;
}

.lightbox-image-wrap,
.lightbox-media-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.lightbox-main-image,
.lightbox-fullscreen-media,
#photoLightboxImg,
#galleryVideoPlayer {
  max-width: 90vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  margin: auto !important;
  object-fit: contain;
  object-position: center;
  align-self: center;
  justify-self: center;
  border-radius: 16px !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75);
  pointer-events: auto;
}

@media (max-width: 640px) {
  .lightbox-media-wrap {
    padding-top: calc(env(safe-area-inset-top, 0px) + 10px);
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 38px);
    padding-left: 6px;
    padding-right: 6px;
    box-sizing: border-box;
  }

  .lightbox-fullscreen-media,
  #photoLightboxImg,
  #galleryVideoPlayer {
    max-width: 94vw;
    max-width: 94dvw;
    max-height: 84dvh;
    max-height: 84vh;
  }
}

.lightbox-caption-bar {
  padding: 14px 20px 18px;
  background: rgba(15, 20, 32, 0.95);
  border-top: 1px solid var(--main-border);
}

.lightbox-cat-badge {
  font-size: 10.5px;
  font-weight: 700;
  color: #f59e0b;
  text-transform: uppercase;
}

.lightbox-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--font-color-1);
  margin: 3px 0;
}

.lightbox-desc {
  font-size: 12.5px;
  color: var(--font-color-2);
  margin: 0;
  line-height: 1.4;
}

.lightbox-close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
  background: #ef4444;
  transform: scale(1.1);
}

/* Project Modal Media & APK Actions */
.project-modal-media {
  width: 100%;
  height: 190px;
  background: #05070d;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-modal-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project-modal-action-btn.apk-btn {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
}

.project-modal-action-btn.apk-btn:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.project-modal-action-btn.doc-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}

.project-modal-action-btn.doc-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* Project Active Developing Pill */
.project-active-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 6px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  animation: pulseDot 1.5s infinite;
}

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

.project-apk-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  color: #34d399;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  margin-left: 4px;
}

/* Light Mode Overrides for Highlights Banner & Modals */
body.light-theme .photo-highlights-banner-card,
[data-theme="light"] .photo-highlights-banner-card {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 0 15px rgba(245, 158, 11, 0.1);
}

body.light-theme .photo-highlights-banner-card .banner-meta-title,
[data-theme="light"] .photo-highlights-banner-card .banner-meta-title {
  color: #0f172a;
}

body.light-theme .photo-highlights-banner-card .banner-meta-desc,
[data-theme="light"] .photo-highlights-banner-card .banner-meta-desc {
  color: #475569;
}

body.light-theme .banner-controls-strip,
[data-theme="light"] .banner-controls-strip {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .banner-ctrl-btn,
body.light-theme .banner-play-btn,
[data-theme="light"] .banner-ctrl-btn,
[data-theme="light"] .banner-play-btn {
  color: #334155;
}

body.light-theme .nickname-dialog,
[data-theme="light"] .nickname-dialog {
  background: linear-gradient(155deg, #ffffff, #f8fafc);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15), 0 0 25px rgba(245, 158, 11, 0.15);
}

body.light-theme .nickname-paragraph,
[data-theme="light"] .nickname-paragraph {
  color: #334155;
}

body.light-theme .gallery-timeline-dialog,
[data-theme="light"] .gallery-timeline-dialog {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
}

body.light-theme .timeline-stream-item,
[data-theme="light"] .timeline-stream-item {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .timeline-stream-item:hover,
[data-theme="light"] .timeline-stream-item:hover {
  background: rgba(245, 158, 11, 0.06);
  border-color: rgba(245, 158, 11, 0.4);
}

body.light-theme .timeline-stream-title,
[data-theme="light"] .timeline-stream-title {
  color: #0f172a;
}

body.light-theme .timeline-stream-desc,
[data-theme="light"] .timeline-stream-desc {
  color: #475569;
}

body.light-theme .timeline-stream-view-btn,
[data-theme="light"] .timeline-stream-view-btn {
  color: #b45309;
}

/* ==========================================================================
   DEEP EVENT DOSSIER MODAL STYLING
   ========================================================================== */
.dossier-dialog-content {
  max-width: 840px !important;
  max-height: 88vh !important;
  border-radius: 24px !important;
  background: rgba(14, 18, 28, 0.96) !important;
  backdrop-filter: blur(28px) !important;
  -webkit-backdrop-filter: blur(28px) !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 24px rgba(16, 185, 129, 0.15) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}

.dossier-header-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 24px 14px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 16px;
}

.dossier-back-to-list-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.dossier-back-to-list-btn:hover {
  background: rgba(16, 185, 129, 0.28);
  border-color: #10b981;
  color: #ffffff;
  transform: translateX(-2px);
}

body.light-theme .dossier-back-to-list-btn {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #059669;
}

.dossier-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 6px;
}

.dossier-title {
  font-size: 20px;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.3;
  margin: 0 0 4px 0;
}

.dossier-meta {
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.dossier-dialog-body {
  padding: 20px 24px 28px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dossier-media-player {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  max-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dossier-media-elem {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  display: block;
}

.dossier-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dossier-block-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.dossier-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0;
}

.dossier-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.dossier-photo-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.dossier-photo-thumb:hover {
  transform: scale(1.03);
  border-color: #10b981;
}

.dossier-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dossier-references-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dossier-ref-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  transition: all 0.2s ease;
  text-decoration: none;
}

.dossier-ref-chip:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Milestone Dossier Bottom Navigation Bar */
.dossier-bottom-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(10, 14, 22, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  gap: 12px;
  flex-shrink: 0;
  z-index: 10;
}

body.light-theme .dossier-bottom-nav,
[data-theme="light"] .dossier-bottom-nav {
  background: #f8fafc;
  border-top-color: rgba(0, 0, 0, 0.08);
}

.dossier-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  user-select: none;
}

.dossier-nav-btn:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.5);
  color: #34d399;
  transform: translateY(-1px);
}

body.light-theme .dossier-nav-btn,
[data-theme="light"] .dossier-nav-btn {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  color: #0f172a;
}

body.light-theme .dossier-nav-btn:hover,
[data-theme="light"] .dossier-nav-btn:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: #10b981;
  color: #059669;
}

.dossier-nav-indicator {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

body.light-theme .dossier-nav-indicator,
[data-theme="light"] .dossier-nav-indicator {
  color: #64748b;
}

@media (max-width: 600px) {
  .dossier-bottom-nav {
    padding: 10px 14px;
  }
  .dossier-nav-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* ==========================================================================
   SECRET DEVELOPER DIAGNOSTICS HUD STYLING
   ========================================================================== */
.dev-hud-dialog-content {
  max-width: 640px !important;
  max-height: 85vh !important;
  border-radius: 22px !important;
  background: rgba(10, 14, 24, 0.97) !important;
  backdrop-filter: blur(28px) !important;
  -webkit-backdrop-filter: blur(28px) !important;
  border: 1px solid rgba(16, 185, 129, 0.4) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 25px rgba(16, 185, 129, 0.2) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}

.dev-control-group {
  margin-bottom: 20px;
}

.dev-group-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #10b981;
  margin-bottom: 10px;
}

.dev-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dev-chip {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: all 0.2s ease;
}

.dev-chip:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #f8fafc;
}

.dev-chip.active {
  background: #10b981;
  color: #042f2e;
  border-color: #10b981;
  font-weight: 700;
}

.dev-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

@media (max-width: 580px) {
  .dev-telemetry-grid {
    grid-template-columns: 1fr;
  }
}

.dev-telemetry-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.telemetry-label {
  font-size: 10.5px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.telemetry-val {
  font-size: 14px;
  font-weight: 700;
  color: #38bdf8;
  font-family: var(--ff-code);
}

.dev-tools-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dev-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.2s ease;
}

.dev-action-btn:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
  color: #ffffff;
}

/* Mascot Speech Actions */
.mascot-speech-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mascot-choice-btn {
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  cursor: pointer;
  transition: all 0.18s ease;
}

.mascot-choice-btn:hover {
  background: #38bdf8;
  color: #0f172a;
}

/* Project Year Badge on Cards */
.project-card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 8px;
  gap: 8px;
}

.project-year-badge {
  font-size: 10.5px;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Light Theme Overrides for Dossier & Dev HUD */
body.light-theme .dossier-dialog-content,
[data-theme="light"] .dossier-dialog-content {
  background: #ffffff !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
}

body.light-theme .dossier-header-bar,
[data-theme="light"] .dossier-header-bar {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .dossier-title,
[data-theme="light"] .dossier-title {
  color: #0f172a;
}

body.light-theme .dossier-meta,
[data-theme="light"] .dossier-meta {
  color: #64748b;
}

body.light-theme .dossier-text,
[data-theme="light"] .dossier-text {
  color: #334155;
}

body.light-theme .dev-hud-dialog-content,
[data-theme="light"] .dev-hud-dialog-content {
  background: #ffffff !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
}

body.light-theme .dev-chip,
[data-theme="light"] .dev-chip {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
}

body.light-theme .dev-chip.active,
[data-theme="light"] .dev-chip.active {
  background: #10b981;
  color: #ffffff;
}

body.light-theme .dev-telemetry-card,
[data-theme="light"] .dev-telemetry-card {
  background: #f8fafc;
  border-color: #e2e8f0;
}

/* ==========================================================================
   WHAT I CAN DO: CULINARY CARD ICON
   ========================================================================== */
.service-fa-icon {
  width: 40px;
  height: 40px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.service-item:hover .service-fa-icon {
  transform: scale(1.1);
}

@media (min-width: 580px) {
  .service-fa-icon {
    margin: 0;
  }
}

/* ==========================================================================
   RESUME: 2-GRID MODERN CV ACTION DOCK
   ========================================================================== */
.resume-cv-dock-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 35px;
}

@media (max-width: 580px) {
  .resume-cv-dock-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
    margin-bottom: 24px;
  }
  .resume-dock-btn {
    padding: 12px 10px !important;
    gap: 10px !important;
    border-radius: 14px !important;
  }
  .dock-btn-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 16px !important;
  }
  .dock-btn-text strong {
    font-size: 13px !important;
  }
  .dock-btn-text small {
    font-size: 10px !important;
  }
}

.resume-dock-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--eerie-black-1);
  border: 1px solid var(--jet);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-2);
  position: relative;
  overflow: hidden;
}

.resume-dock-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.resume-dock-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  border-color: rgba(56, 189, 248, 0.4);
}

.resume-dock-btn:hover::before {
  opacity: 1;
}

.resume-dock-btn.item-view .dock-btn-icon {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(99, 102, 241, 0.2));
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.resume-dock-btn.item-download .dock-btn-icon {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.2));
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.dock-btn-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.resume-dock-btn:hover .dock-btn-icon {
  transform: scale(1.08);
}

.resume-dock-btn,
.resume-dock-btn:link,
.resume-dock-btn:visited {
  text-decoration: none !important;
  color: inherit !important;
}

.dock-btn-text {
  display: flex;
  flex-direction: column;
}

.resume-dock-btn .dock-btn-text strong {
  font-size: 15px;
  font-weight: 700;
  color: #f4f4f5 !important;
  letter-spacing: 0.3px;
}

.resume-dock-btn .dock-btn-text small {
  font-size: 12px;
  color: #a1a1aa !important;
  margin-top: 2px;
}

body.light-theme .resume-dock-btn {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05) !important;
}

body.light-theme .resume-dock-btn:hover {
  border-color: #0284c7 !important;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.15) !important;
}

body.light-theme .resume-dock-btn .dock-btn-text strong {
  color: #0f172a !important;
}

body.light-theme .resume-dock-btn .dock-btn-text small {
  color: #64748b !important;
}

/* ==========================================================================
   PORTFOLIO EMBEDDED RESUME SHOWCASE
   ========================================================================== */
.portfolio-resume-showcase {
  margin-top: 10px;
  margin-bottom: 35px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 20px;
  overflow: hidden;
}

body.light-theme .portfolio-resume-showcase,
[data-theme="light"] .portfolio-resume-showcase {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.resume-showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.light-theme .resume-showcase-header,
[data-theme="light"] .resume-showcase-header {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.resume-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 3px 10px;
  border-radius: 999px;
}

.resume-showcase-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.resume-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  user-select: none;
}

.resume-action-btn.primary {
  background: #f59e0b;
  color: #000000;
  border: 1px solid #f59e0b;
}

.resume-action-btn.primary:hover {
  background: #fbbf24;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
}

.resume-action-btn.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.resume-action-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  transform: translateY(-2px);
}

body.light-theme .resume-action-btn.secondary,
[data-theme="light"] .resume-action-btn.secondary {
  background: #f1f5f9;
  color: #0f172a;
  border-color: rgba(0, 0, 0, 0.1);
}

.resume-frame-container {
  width: 100%;
  height: 840px;
  max-height: 85vh;
  border-radius: 14px;
  overflow: hidden;
  background: #27272a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.4);
}

body.light-theme .resume-frame-container,
[data-theme="light"] .resume-frame-container {
  background: #e4e4e7;
  border-color: rgba(0, 0, 0, 0.08);
}

.resume-embedded-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 650px) {
  .portfolio-resume-showcase {
    padding: 14px 10px;
  }
  .resume-frame-container {
    height: 650px;
  }
  .resume-action-btn {
    padding: 6px 12px;
    font-size: 11.5px;
  }
}

/* ==========================================================================
   CONTACT FORM: INPUTS GRID & LIVE ATTACHMENT PREVIEW
   ========================================================================== */
.contact-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

@media (max-width: 640px) {
  .contact-inputs-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.contact-span-full {
  grid-column: 1 / -1;
}

.attachment-preview-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 18px;
  animation: fadeInAttachment 0.3s ease;
}

@keyframes fadeInAttachment {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.preview-thumb-wrap {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.preview-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-file-icon {
  font-size: 24px;
  color: #38bdf8;
}

.preview-meta-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}

.preview-filename {
  font-size: 13px;
  font-weight: 600;
  color: var(--white-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-filesize {
  font-size: 11px;
  color: var(--light-gray-70);
}

.preview-ready-badge {
  font-size: 11px;
  font-weight: 600;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

/* Light Theme High-Contrast Overrides */
body.light-theme .attachment-label {
  background: #f8fafc !important;
  border: 1.5px dashed #cbd5e1 !important;
  color: #334155 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

body.light-theme .attachment-label:hover {
  background: #f1f5f9 !important;
  border-color: #0284c7 !important;
  color: #0f172a !important;
}

body.light-theme .attachment-label ion-icon {
  color: #0284c7 !important;
}

body.light-theme #attachmentNameDisplay.has-file {
  color: #0f172a !important;
  font-weight: 600 !important;
}

body.light-theme .attachment-clear-btn {
  background: #fee2e2 !important;
  border-color: #fca5a5 !important;
  color: #dc2626 !important;
}

body.light-theme .attachment-clear-btn:hover {
  background: #fecaca !important;
  color: #b91c1c !important;
}

body.light-theme .attachment-preview-box {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

body.light-theme .preview-thumb-wrap {
  background: #e2e8f0 !important;
  border-color: #cbd5e1 !important;
}

body.light-theme .preview-filename {
  color: #0f172a !important;
}

body.light-theme .preview-filesize {
  color: #64748b !important;
}

body.light-theme .preview-ready-badge {
  color: #059669 !important;
}

body.light-theme .form-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #0c0d12 !important;
  border: 1px solid rgba(217, 119, 6, 0.4) !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.28) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.light-theme .form-btn::before {
  display: none !important;
}

body.light-theme .form-btn ion-icon,
body.light-theme .form-btn span {
  color: #0c0d12 !important;
  font-weight: 700 !important;
}

body.light-theme .form-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #d97706, #b45309) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4) !important;
  transform: translateY(-2px);
}

body.light-theme .form-btn:hover:not(:disabled) ion-icon,
body.light-theme .form-btn:hover:not(:disabled) span {
  color: #ffffff !important;
}

body.light-theme .contact-inputs-grid .form-input,
body.light-theme .contact-form .form-input,
body.light-theme textarea.form-input {
  background: #ffffff !important;
  border: 1.5px solid #94a3b8 !important;
  color: #0f172a !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}

body.light-theme .contact-inputs-grid .form-input::placeholder,
body.light-theme .contact-form .form-input::placeholder,
body.light-theme textarea.form-input::placeholder {
  color: #475569 !important;
  font-weight: 500 !important;
}

body.light-theme .contact-inputs-grid .form-input:focus,
body.light-theme .contact-form .form-input:focus,
body.light-theme textarea.form-input:focus {
  background: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25) !important;
}

/* ==========================================================================
   BREADCRUMB NAVIGATION BAR (Clean Top Bar for Sub-Pages & Dedicated Archive)
   ========================================================================== */
.section-breadcrumb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  padding: 10px 16px;
  background: rgba(24, 26, 35, 0.7);
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: 14px;
}

body.light-theme .section-breadcrumb-bar {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.breadcrumb-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: #f59e0b;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.breadcrumb-back-btn:hover {
  background: #f59e0b;
  color: #0c0d12;
  transform: translateX(-2px);
}

body.light-theme .breadcrumb-back-btn {
  background: #e0f2fe;
  border-color: #bae6fd;
  color: #0284c7;
}

body.light-theme .breadcrumb-back-btn:hover {
  background: #0284c7;
  color: #ffffff;
}

.breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
}

.breadcrumb-trail a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb-trail a:hover {
  color: #f59e0b;
}

body.light-theme .breadcrumb-trail a {
  color: #475569;
}

body.light-theme .breadcrumb-trail a:hover {
  color: #0284c7;
}

.breadcrumb-trail .crumb-sep {
  font-size: 10px;
  color: #64748b;
}

.breadcrumb-trail .crumb-current {
  color: #f59e0b;
  font-weight: 600;
}

body.light-theme .breadcrumb-trail .crumb-current {
  color: #0284c7;
}

/* ==========================================================================
   DEDICATED MILESTONES & CREDENTIALS ARCHIVE GRID
   ========================================================================== */
.gallery-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
  list-style: none;
  padding: 0;
}

.gallery-filter-btn {
  padding: 8px 16px;
  background: rgba(22, 24, 32, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.3));
  border-color: #f59e0b;
  color: #f59e0b;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.15);
}

body.light-theme .gallery-filter-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #475569;
}

body.light-theme .gallery-filter-btn:hover,
body.light-theme .gallery-filter-btn.active {
  background: #e0f2fe;
  border-color: #0284c7;
  color: #0284c7;
}

.gallery-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.gallery-card-item {
  background: rgba(22, 24, 32, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  contain: content;
}

.gallery-card-item:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

body.light-theme .gallery-card-item {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

body.light-theme .gallery-card-item:hover {
  border-color: #0284c7;
  box-shadow: 0 12px 24px rgba(2, 132, 199, 0.15);
}

.gallery-card-media {
  position: relative;
  width: 100%;
  height: 190px;
  background: #090a0f;
  overflow: hidden;
}

.gallery-card-media img,
.gallery-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-card-item:hover .gallery-card-media img {
  transform: scale(1.04);
}

.gallery-card-type-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(12, 13, 18, 0.82);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.gallery-card-info {
  padding: 16px;
}

.gallery-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #fdfbf7;
  margin-bottom: 8px;
  line-height: 1.35;
}

body.light-theme .gallery-card-title {
  color: #0f172a;
}

.gallery-card-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

body.light-theme .gallery-card-desc {
  color: #475569;
}

.gallery-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #64748b;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 10px;
}

body.light-theme .gallery-card-meta {
  border-top-color: #f1f5f9;
  color: #64748b;
}

.gallery-card-date {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gallery-card-action {
  color: #f59e0b;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

body.light-theme .gallery-card-action {
  color: #0284c7;
}

/* ==========================================================================
   COMPACT PROJECTS LIST & SORT TOGGLE
   ========================================================================== */
.projects-section-header {
  margin-bottom: 20px;
}

.projects-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.projects-header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-list.compact-header-filter {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 !important;
  padding: 0;
  list-style: none;
  width: auto !important;
  flex-wrap: wrap;
}

.compact-header-filter .filter-item {
  display: inline-block;
  margin: 0;
}

.compact-header-filter .filter-item button {
  font-size: 11px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  line-height: 1.2;
}

.compact-header-filter .filter-item button:hover {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.4);
}

.compact-header-filter .filter-item button.active {
  background: #f59e0b;
  color: #0c0d12;
  font-weight: 700;
  border-color: #f59e0b;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

body.light-theme .compact-header-filter .filter-item button {
  background: #f1f5f9;
  color: #475569;
  border-color: #cbd5e1;
}

body.light-theme .compact-header-filter .filter-item button:hover {
  background: #e2e8f0;
  color: #0f172a;
}

body.light-theme .compact-header-filter .filter-item button.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.28);
}

.filter-select-box.compact-header-select {
  margin: 0 !important;
}

.compact-header-select .filter-select {
  padding: 5px 10px;
  font-size: 11.5px;
  border-radius: 8px;
  min-height: 30px;
}

.project-sort-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  min-height: 30px;
  background: rgba(22, 24, 32, 0.85);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 8px;
  color: #f59e0b;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.project-sort-toggle-btn:hover {
  background: rgba(245, 158, 11, 0.18);
  border-color: #f59e0b;
  transform: translateY(-1px);
}

body.light-theme .project-sort-toggle-btn {
  background: #ffffff;
  border-color: #94a3b8;
  color: #0284c7;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

body.light-theme .project-sort-toggle-btn:hover {
  background: #e0f2fe;
  border-color: #0284c7;
}

.project-list.compact-mode,
.gallery-compact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.project-compact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(22, 24, 32, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  contain: content;
}

.project-compact-row:hover {
  background: rgba(26, 29, 39, 0.95);
  border-color: rgba(245, 158, 11, 0.35);
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

body.light-theme .project-compact-row {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

body.light-theme .project-compact-row:hover {
  background: #f8fafc;
  border-color: #0284c7;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.12);
}

.project-compact-main {
  flex: 1;
  min-width: 0;
}

.project-compact-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.project-compact-title {
  font-size: 16px;
  font-weight: 700;
  color: #fdfbf7;
  margin: 0;
}

body.light-theme .project-compact-title {
  color: #0f172a;
}

.project-compact-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.light-theme .project-compact-desc {
  color: #475569;
}

.project-compact-end {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.project-compact-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #f59e0b;
}

body.light-theme .project-compact-category {
  background: #e0f2fe;
  border-color: #bae6fd;
  color: #0284c7;
}

.project-compact-arrow {
  color: #64748b;
  font-size: 13px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.project-compact-row:hover .project-compact-arrow {
  transform: translateX(3px);
  color: #f59e0b;
}

body.light-theme .project-compact-row:hover .project-compact-arrow {
  color: #0284c7;
}

@media (max-width: 600px) {
  .project-compact-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
  }
  .project-compact-end {
    width: 100%;
    justify-content: space-between;
  }
}

/* ==========================================================================
   MODERN MULTI-FILE ATTACHMENT DOCK (With Plus Icon & Telegram Limit Badges)
   ========================================================================== */
.contact-attachment-section {
  margin: 16px 0;
  background: rgba(22, 24, 32, 0.65);
  border: 1.5px dashed rgba(245, 158, 11, 0.25);
  border-radius: 14px;
  padding: 14px 18px;
  transition: all 0.2s ease;
}

body.light-theme .contact-attachment-section {
  background: #f8fafc;
  border-color: #94a3b8;
}

.attachment-section-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.attachment-section-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.attachment-section-title {
  font-size: 14px;
  font-weight: 600;
  color: #fdfbf7;
  display: flex;
  align-items: center;
  gap: 8px;
}

body.light-theme .attachment-section-title {
  color: #0f172a;
}

.attachment-limits-badge {
  font-size: 11px;
  color: #94a3b8;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

body.light-theme .attachment-limits-badge {
  background: #e2e8f0;
  color: #475569;
}

.attachment-add-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0c0d12;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.attachment-add-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

body.light-theme .attachment-add-pill {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0c0d12;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.25);
}

.attachment-file-input {
  display: none !important;
}

.attached-files-tray {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

body.light-theme .attached-files-tray {
  border-top-color: #e2e8f0;
}

.attached-file-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  background: rgba(15, 17, 24, 0.9);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 12px;
  max-width: 240px;
  transition: all 0.2s ease;
  animation: chipFadeIn 0.25s ease forwards;
}

@keyframes chipFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

body.light-theme .attached-file-chip {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.chip-thumb {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  background: #000000;
  flex-shrink: 0;
}

.chip-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

body.light-theme .chip-icon {
  background: #e0f2fe;
  color: #0284c7;
}

.chip-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.chip-name {
  font-size: 12px;
  font-weight: 600;
  color: #fdfbf7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
}

body.light-theme .chip-name {
  color: #0f172a;
}

.chip-size {
  font-size: 10px;
  color: #94a3b8;
}

body.light-theme .chip-size {
  color: #64748b;
}

.chip-remove-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 13px;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  margin-left: auto;
}

.chip-remove-btn:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
}

/* Speech bubble header row clean layout */
.maxhive-mascot-bubble .bubble-header-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 4px;
}

/* ==========================================================================
   COMPACT CONTAINED MOMENTS SLIDER UNDER ABOUT
   ========================================================================== */
.compact-moments-section {
  margin-top: 28px;
  margin-bottom: 32px;
}

.compact-title-wrap {
  margin-bottom: 14px;
}

.compact-slider {
  width: 100% !important;
  aspect-ratio: 16 / 9;
  max-height: 480px;
  background: #080c14 !important;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
}

.compact-slider .moments-slider-img,
.compact-slider .moments-slider-video {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  background: #080c14 !important;
  display: block;
  border-radius: 16px;
}

body.light-theme .compact-slider {
  background: #f8fafc !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

/* Slide Position Indicator & Controls Hidden for Clean Frameless Slider */
.moments-slider-counter,
.moments-controls {
  display: none !important;
}

/* ==========================================================================
   WHAT I CAN DO: INTERACTIVE ALTERNATING ZIG-ZAG COMPACT CARDS
   One item icon on Left with Arrow on Right
   Next item icon on Right with Arrow on Left
   Click / Touch / Hover expands description to keep height minimal
   ========================================================================== */
/* ==========================================================================
   WHAT I CAN DO: SERPENTINE SNAKE RIBBON INFOGRAPHIC (Exact Match to what-icando.jpg)
   Continuous S-curve ribbon flow with terminal nodes, numbers, dividers, and colored caps
   ========================================================================== */
.serpentine-ribbon-wrap {
  position: relative;
  width: 100%;
  margin: 10px 0 24px 0;
  padding-top: 6px;
  padding-bottom: 8px;
  display: flex;
  flex-direction: column;
}

:root {
  --serpentine-border: #0f172a;
}

body.dark-theme,
body:not(.light-theme) {
  --serpentine-border: #384252;
}

/* Continuous SVG Serpentine Wave Path (Zero-Overlap Seamless Vector) */
.serpentine-wave-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 12;
  overflow: visible;
}

.serpentine-wave-path {
  fill: none;
  stroke: var(--serpentine-border);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.serpentine-wave-terminal-dot {
  fill: #ffffff;
  stroke: var(--serpentine-border);
  stroke-width: 2;
}

body.dark-theme .serpentine-wave-terminal-dot,
body:not(.light-theme) .serpentine-wave-terminal-dot {
  fill: #09090b;
  stroke: var(--serpentine-border);
}

/* Serpentine List: True Continuous Accordion Wave Ribbon (ZERO GAP) */
.serpentine-list {
  display: flex;
  flex-direction: column;
  gap: 0 !important;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  position: relative;
}

/* Individual Serpentine Card: Seamless wave unit with native rounded ends */
.serpentine-card {
  position: relative;
  display: flex;
  align-items: stretch;
  background: #ffffff !important;
  min-height: 58px;
  box-sizing: border-box !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
  margin: 0 !important;
  overflow: visible !important;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow: none !important;
}

.serpentine-card::before {
  display: none !important;
  content: none !important;
}

body.dark-theme .serpentine-card,
body:not(.light-theme) .serpentine-card {
  background: transparent !important;
  box-shadow: none !important;
}

/* Card 01: First card has no top overlap */
.serpentine-card[data-service-index="0"] {
  margin-top: 0 !important;
}

/* Odd Cards: Staggered to Right with 180-deg Semicircular Cap on RIGHT, NO line on LEFT (drawn seamlessly via SVG) */
.serpentine-card.ribbon-odd {
  margin-left: 32px !important;
  margin-right: 0 !important;
  width: calc(100% - 32px) !important;
  max-width: calc(100% - 32px) !important;
  border-radius: 0 26px 26px 0 !important;
  border: none !important;
}

/* Even Cards: Staggered to Left with 180-deg Semicircular Cap on LEFT, NO line on RIGHT (drawn seamlessly via SVG) */
.serpentine-card.ribbon-even {
  margin-left: 0 !important;
  margin-right: 32px !important;
  width: calc(100% - 32px) !important;
  max-width: calc(100% - 32px) !important;
  border-radius: 26px 0 0 26px !important;
  border: none !important;
}

/* Layering Z-indexes */
.serpentine-card[data-service-index="0"] { z-index: 10; }
.serpentine-card[data-service-index="1"] { z-index: 9; }
.serpentine-card[data-service-index="2"] { z-index: 8; }
.serpentine-card[data-service-index="3"] { z-index: 7; }
.serpentine-card[data-service-index="4"] { z-index: 6; }
.serpentine-card[data-service-index="5"] { z-index: 5; }
.serpentine-card[data-service-index="6"] { z-index: 4; }

/* 3D Tiered Downward Shadow: Confined to close cap side, zero shadow on open side (matches what-icando.jpg) */
body.light-theme .serpentine-card.ribbon-odd::after {
  content: "";
  position: absolute;
  left: 48px;
  right: 0;
  bottom: -14px;
  height: 14px;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.32) 35%, rgba(15, 23, 42, 0.06) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, transparent 0%, rgba(0, 0, 0, 0.25) 4%, rgba(0, 0, 0, 0.85) 12%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0.35) 35%, transparent 48%);
  mask-image: linear-gradient(to left, transparent 0%, rgba(0, 0, 0, 0.25) 4%, rgba(0, 0, 0, 0.85) 12%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0.35) 35%, transparent 48%);
  filter: blur(2.5px);
  pointer-events: none;
  z-index: 11;
}

body.light-theme .serpentine-card.ribbon-even::after {
  content: "";
  position: absolute;
  left: 0;
  right: 48px;
  bottom: -14px;
  height: 14px;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.32) 35%, rgba(15, 23, 42, 0.06) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.25) 4%, rgba(0, 0, 0, 0.85) 12%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0.35) 35%, transparent 48%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.25) 4%, rgba(0, 0, 0, 0.85) 12%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0.35) 35%, transparent 48%);
  filter: blur(2.5px);
  pointer-events: none;
  z-index: 11;
}

body.dark-theme .serpentine-card.ribbon-odd::after,
body:not(.light-theme) .serpentine-card.ribbon-odd::after {
  content: "";
  position: absolute;
  left: 64px;
  right: 0;
  bottom: -14px;
  height: 14px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 35%, rgba(255, 255, 255, 0.01) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, transparent 0%, rgba(0, 0, 0, 0.25) 4%, rgba(0, 0, 0, 0.85) 12%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0.3) 35%, transparent 45%);
  mask-image: linear-gradient(to left, transparent 0%, rgba(0, 0, 0, 0.25) 4%, rgba(0, 0, 0, 0.85) 12%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0.3) 35%, transparent 45%);
  filter: blur(2.5px);
  pointer-events: none;
  z-index: 11;
}

body.dark-theme .serpentine-card.ribbon-even::after,
body:not(.light-theme) .serpentine-card.ribbon-even::after {
  content: "";
  position: absolute;
  left: 0;
  right: 64px;
  bottom: -14px;
  height: 14px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 35%, rgba(255, 255, 255, 0.01) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.25) 4%, rgba(0, 0, 0, 0.85) 12%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0.3) 35%, transparent 45%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.25) 4%, rgba(0, 0, 0, 0.85) 12%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0.3) 35%, transparent 45%);
  filter: blur(2.5px);
  pointer-events: none;
  z-index: 11;
}

body .serpentine-card[data-service-index="6"]::after {
  display: none !important;
}

.serpentine-card:hover {
  transform: none !important;
}

/* STRICT USER RULE: Pure border same color, DO NOT CHANGE BORDER COLOR ON SELECT */
.serpentine-card.is-selected,
.serpentine-card:hover {
  border: none !important;
  outline: none !important;
}

body.dark-theme .serpentine-card.is-selected,
body:not(.light-theme) .serpentine-card.is-selected,
body.dark-theme .serpentine-card:hover,
body:not(.light-theme) .serpentine-card:hover {
  border: none !important;
  outline: none !important;
}

/* Card Inner Content Flex Row */
.serpentine-card-inner {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  padding: 8px 16px;
}

/* Number & Label Column */
.serpentine-num-col {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  margin-right: 12px;
  user-select: none;
  flex-shrink: 0;
}

.serpentine-num {
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  color: #1e293b;
  letter-spacing: -0.5px;
  font-family: inherit;
}

body.dark-theme .serpentine-num,
body:not(.light-theme) .serpentine-num {
  color: #f1f5f9;
}

.serpentine-label {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #94a3b8;
  margin-top: 2px;
  text-transform: uppercase;
  line-height: 1;
}

/* Thin Vertical Divider */
.serpentine-divider {
  display: block !important;
  width: 1.5px;
  height: 28px;
  background: rgba(0, 0, 0, 0.12);
  margin-right: 12px;
  flex-shrink: 0;
}

body.dark-theme .serpentine-divider,
body:not(.light-theme) .serpentine-divider {
  background: rgba(255, 255, 255, 0.16);
}

/* Icon Box */
.serpentine-icon-box {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 14px;
}

.serpentine-icon-box img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.serpentine-fa-icon {
  font-size: 22px;
  color: #d97706;
}

body.dark-theme .serpentine-fa-icon,
body:not(.light-theme) .serpentine-fa-icon {
  color: #f59e0b;
}

/* Content Box */
.serpentine-content-box {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.serpentine-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #0f172a;
  margin: 0;
  line-height: 1.3;
}

body.dark-theme .serpentine-title,
body:not(.light-theme) .serpentine-title {
  color: #f8fafc;
}

/* Short Description: Visible by default on all cards without truncation (Matches what-icando.jpg) */
.serpentine-desc-wrap {
  width: 100%;
  opacity: 1;
  margin-top: 2px;
}

.serpentine-desc {
  font-size: 11px;
  line-height: 1.35;
  color: #64748b;
  margin: 0;
  display: block;
}

body.dark-theme .serpentine-desc,
body:not(.light-theme) .serpentine-desc {
  color: #94a3b8;
}

/* Semicircular Solid Colored End Caps (Exact Match to what-icando.jpg) */
.serpentine-cap-right,
.serpentine-cap-left {
  width: 32px;
  min-width: 32px;
  max-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  box-sizing: border-box;
  overflow: hidden !important;
}

.serpentine-cap-right {
  border-radius: 0 26px 26px 0 !important;
  border-left: 1.5px solid var(--serpentine-border) !important;
}

.serpentine-cap-left {
  border-radius: 26px 0 0 26px !important;
  border-right: 1.5px solid var(--serpentine-border) !important;
}

/* Authentic Infographic Cap Accent Colors */
.card-yellow .serpentine-cap-right { background: #facc15 !important; }
.card-lavender .serpentine-cap-left { background: #a5b4fc !important; }
.card-mint .serpentine-cap-right { background: #86efac !important; }
.card-cyan .serpentine-cap-left { background: #67e8f9 !important; }
.card-blue .serpentine-cap-right { background: #3b82f6 !important; }
.card-pink .serpentine-cap-left { background: #f472b6 !important; }
.card-brown .serpentine-cap-right { background: #d97706 !important; }

/* Traveling Realistic Aerospace Rocket along Serpentine Border Rail */
.serpentine-rocket,
.serpentine-bike-rider {
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 20px;
  pointer-events: none;
  z-index: 25;
  transform-origin: 17px 10px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
  will-change: transform, left, top;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
}

.serpentine-rocket-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform-origin: 34px 20px;
}

/* Realistic Multi-Stage Exhaust Plume Keyframes */
@keyframes rocketFlamePlasmaFlicker {
  0% {
    transform: scaleX(1) scaleY(1);
    filter: brightness(1) drop-shadow(0 0 4px rgba(56, 189, 248, 0.85));
  }
  25% {
    transform: scaleX(1.24) scaleY(0.86) translateY(-0.25px);
    filter: brightness(1.22) drop-shadow(0 0 6px rgba(249, 115, 22, 0.95));
  }
  50% {
    transform: scaleX(0.92) scaleY(1.08) translateY(0.2px);
    filter: brightness(0.96) drop-shadow(0 0 3px rgba(56, 189, 248, 0.7));
  }
  75% {
    transform: scaleX(1.32) scaleY(0.82) translateY(-0.15px);
    filter: brightness(1.28) drop-shadow(0 0 7px rgba(253, 224, 71, 0.95));
  }
  100% {
    transform: scaleX(1) scaleY(1);
    filter: brightness(1) drop-shadow(0 0 4px rgba(56, 189, 248, 0.85));
  }
}

@keyframes machDiamondPulse {
  0%, 100% {
    transform: translateX(0) scale(1);
    opacity: 0.9;
  }
  50% {
    transform: translateX(-1.2px) scale(1.15);
    opacity: 1;
  }
}

@keyframes rocketFlightVibration {
  0%, 100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(0.3px, -0.3px);
  }
  50% {
    transform: translate(-0.2px, 0.25px);
  }
  75% {
    transform: translate(0.35px, 0.15px);
  }
}

@keyframes rocketIdleHoverBob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

@keyframes rocketIdleRcsPulse {
  0%, 100% {
    transform: scaleX(0.65) scaleY(0.75);
    opacity: 0.45;
  }
  50% {
    transform: scaleX(0.88) scaleY(0.88);
    opacity: 0.75;
  }
}

.serpentine-rocket.riding .rocket-exhaust-system {
  transform-origin: 16px 20px;
  animation: rocketFlamePlasmaFlicker 0.1s infinite alternate ease-in-out;
}

.serpentine-rocket.riding .rocket-mach-diamond {
  transform-origin: center;
  animation: machDiamondPulse 0.16s infinite alternate ease-in-out;
}

/* In-Flight (Booster Ignition & Flight Vibration) */
.serpentine-rocket.riding,
.serpentine-bike-rider.riding {
  transition: none !important;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.85)) drop-shadow(0 0 4px rgba(249, 115, 22, 0.8)) drop-shadow(0 3px 8px rgba(0, 0, 0, 0.55));
}

.serpentine-rocket.riding .serpentine-rocket-svg,
.serpentine-bike-rider.riding .serpentine-rocket-svg {
  animation: rocketFlightVibration 0.06s infinite linear;
}

.serpentine-rocket.riding .rocket-exhaust-system {
  animation-duration: 0.08s;
}

/* Parked / Idle (RCS Hover Thruster & Gentle Breathing Float) */
.serpentine-rocket.parked,
.serpentine-bike-rider.parked {
  filter: drop-shadow(0 2px 7px rgba(0, 0, 0, 0.5));
}

.serpentine-rocket.parked .serpentine-rocket-svg,
.serpentine-bike-rider.parked .serpentine-rocket-svg {
  animation: rocketIdleHoverBob 2.2s infinite ease-in-out;
}

.serpentine-rocket.parked .rocket-exhaust-system {
  animation: rocketIdleRcsPulse 1.2s infinite ease-in-out;
}

.serpentine-rocket.parked .rocket-mach-diamond {
  opacity: 0.35;
  animation: none;
}

.service-tag-chip {
  display: none !important;
}

@media (max-width: 600px) {
  .serpentine-card.ribbon-odd {
    margin-left: 28px !important;
    margin-right: 0 !important;
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
    border-radius: 0 20px 20px 0 !important;
  }
  .serpentine-card.ribbon-odd .serpentine-cap-right {
    border-radius: 0 20px 20px 0 !important;
  }
  .serpentine-card.ribbon-even {
    margin-left: 0 !important;
    margin-right: 28px !important;
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
    border-radius: 20px 0 0 20px !important;
  }
  .serpentine-card.ribbon-even .serpentine-cap-left {
    border-radius: 20px 0 0 20px !important;
  }
  .serpentine-cap-right,
  .serpentine-cap-left {
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
  }
  body.light-theme .serpentine-card.ribbon-odd::after,
  body.dark-theme .serpentine-card.ribbon-odd::after,
  body:not(.light-theme) .serpentine-card.ribbon-odd::after {
    left: 48px !important;
    right: 0 !important;
  }
  body.light-theme .serpentine-card.ribbon-even::after,
  body.dark-theme .serpentine-card.ribbon-even::after,
  body:not(.light-theme) .serpentine-card.ribbon-even::after {
    left: 0 !important;
    right: 48px !important;
  }
  .serpentine-card-inner {
    padding: 7px 10px;
  }
  .serpentine-num-col {
    min-width: 32px;
  }
  .serpentine-num {
    font-size: 19px;
  }
  .serpentine-divider {
    margin: 0 7px;
    height: 26px;
  }
  .serpentine-icon-box {
    width: 30px;
    height: 30px;
    margin-right: 8px;
  }
  .serpentine-icon-box img {
    width: 26px;
    height: 26px;
  }
  .serpentine-title {
    font-size: 11px;
  }
  .serpentine-desc {
    font-size: 10px;
    line-height: 1.3;
  }
}

.service-item .service-item-text {
  font-size: 12.5px !important;
  line-height: 1.55 !important;
  color: #94a3b8 !important;
  margin: 0 !important;
}

body.light-theme .service-item .service-item-text {
  color: #475569 !important;
}

/* Arrow indicator hidden as requested */
.service-arrow-indicator {
  display: none !important;
}

body.light-theme .service-arrow-indicator {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #64748b !important;
}

.service-item:hover .service-arrow-indicator,
.service-item.is-expanded .service-arrow-indicator {
  background: rgba(245, 158, 11, 0.18) !important;
  color: #f59e0b !important;
}

.service-item.is-expanded .service-arrow-indicator {
  transform: rotate(90deg) !important;
}

/* Modern Transparent On-Slide Navigation Arrows & Circular Progress Rings */
.moments-slide-nav-btn {
  position: absolute;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 13px;
  opacity: 0.9;
  padding: 0;
  overflow: visible;
}

.moments-slide-nav-btn.prev {
  top: 12px;
  left: 12px;
  bottom: auto;
  right: auto;
  transform: none;
}

.moments-slide-nav-btn.next {
  top: 12px;
  right: 12px;
  bottom: auto;
  left: auto;
  transform: none;
}

.moments-slide-nav-btn:hover {
  background: transparent !important;
  border: none !important;
  color: #ffffff;
  transform: scale(1.1);
  opacity: 1;
}

.moments-slide-nav-btn i {
  position: relative;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.7));
}

/* SVG Circular Progress Ring */
.progress-ring-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  pointer-events: none;
  transform: rotate(-90deg);
  border-radius: 50%;
  z-index: 1;
}

.progress-ring-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 2.5;
}

.progress-ring-fill {
  fill: none;
  stroke: #f59e0b;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 100.53;
  stroke-dashoffset: 100.53;
  transition: stroke-dashoffset 0.1s linear, stroke 0.2s ease, opacity 0.2s ease;
  filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.85));
}

body.light-theme .moments-slide-nav-btn {
  background: transparent !important;
  color: #0f172a;
  border: none !important;
}

body.light-theme .moments-slide-nav-btn:hover {
  background: transparent !important;
  border: none !important;
  color: #d97706;
}

body.light-theme .progress-ring-track {
  stroke: rgba(0, 0, 0, 0.12);
}

body.light-theme .progress-ring-fill {
  stroke: #d97706;
  filter: drop-shadow(0 0 3px rgba(217, 119, 6, 0.6));
}

/* ==========================================================================
   CPU MINDSET & SYSTEMS ARCHITECTURE (Central Processor vs Storage Disk)
   ========================================================================== */
.cpu-architecture-section {
  margin-top: 36px;
  margin-bottom: 24px;
}

.cpu-philosophy-card {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 4px 0 18px 0 !important;
  margin-bottom: 24px;
  position: relative;
  overflow: visible;
  box-shadow: none !important;
}

body.light-theme .cpu-philosophy-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.cpu-chip-badge {
  display: none !important;
}

.cpu-philosophy-quote {
  font-size: 14.5px;
  line-height: 1.75;
  color: #e2e8f0;
  font-style: italic;
  margin: 0;
  border-left: 3px solid #f59e0b;
  padding-left: 18px;
}

body.light-theme .cpu-philosophy-quote {
  color: #1e293b;
  border-left-color: #0284c7;
}

.systems-coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

@media (max-width: 860px) {
  .systems-coverage-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.systems-coverage-card {
  background: rgba(18, 20, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px 16px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.systems-coverage-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

body.light-theme .systems-coverage-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

body.light-theme .systems-coverage-card:hover {
  border-color: #0284c7;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.1);
}

.systems-coverage-card .card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 12px;
}

body.light-theme .systems-coverage-card .card-icon {
  background: #e0f2fe;
  border-color: #bae6fd;
  color: #0284c7;
}

.systems-coverage-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 6px 0;
}

body.light-theme .systems-coverage-card h4 {
  color: #0f172a;
}

.systems-coverage-card .card-desc {
  font-size: 12px;
  line-height: 1.5;
  color: #94a3b8;
  margin: 0 0 12px 0;
  flex: 1;
}

body.light-theme .systems-coverage-card .card-desc {
  color: #64748b;
}

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

.tag-pill {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 10.5px;
  font-weight: 600;
}

body.light-theme .tag-pill {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
}

/* CPU Dynamic Architecture Graph */
.cpu-architecture-diagram {
  background: rgba(14, 17, 25, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

body.light-theme .cpu-architecture-diagram {
  background: #f8fafc;
  border-color: #cbd5e1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.diagram-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.light-theme .diagram-header {
  border-bottom-color: #e2e8f0;
}

.diagram-title {
  font-size: 13px;
  font-weight: 700;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 8px;
}

body.light-theme .diagram-title {
  color: #0284c7;
}

.diagram-tag {
  font-size: 11px;
  color: #94a3b8;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
}

body.light-theme .diagram-tag {
  background: #e2e8f0;
  color: #475569;
}

.diagram-pipeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0;
}

.pipeline-node {
  flex: 1;
  min-width: 110px;
  background: rgba(20, 24, 35, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
  transition: all 0.25s ease;
}

body.light-theme .pipeline-node {
  background: #ffffff;
  border-color: #e2e8f0;
}

.pipeline-node.active-core {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.2);
}

body.light-theme .pipeline-node.active-core {
  background: #ecfdf5;
  border-color: #10b981;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.15);
}

.pipeline-node .node-icon {
  font-size: 16px;
  color: #38bdf8;
  margin-bottom: 6px;
}

.pipeline-node.active-core .node-icon {
  color: #f59e0b;
}

body.light-theme .pipeline-node.active-core .node-icon {
  color: #059669;
}

.pipeline-node .node-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 3px;
}

body.light-theme .pipeline-node .node-title {
  color: #0f172a;
}

.pipeline-node .node-sub {
  font-size: 9.5px;
  color: #94a3b8;
  line-height: 1.3;
}

body.light-theme .pipeline-node .node-sub {
  color: #64748b;
}

.pipeline-connector {
  color: rgba(255, 255, 255, 0.25);
  font-size: 12px;
  flex-shrink: 0;
}

body.light-theme .pipeline-connector {
  color: #cbd5e1;
}

/* ==========================================================================
   DEDICATED PROJECT DETAIL VIEW & COMPACT BREADCRUMB
   ========================================================================== */
.breadcrumb-back-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: #f59e0b;
  border-radius: 9px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.breadcrumb-back-icon-btn:hover {
  background: #f59e0b;
  color: #0c0d12;
  transform: translateX(-2px);
}

body.light-theme .breadcrumb-back-icon-btn {
  background: #e0f2fe;
  border-color: #bae6fd;
  color: #0284c7;
}

body.light-theme .breadcrumb-back-icon-btn:hover {
  background: #0284c7;
  color: #ffffff;
}

.section-breadcrumb-bar.compact-crumb {
  padding: 6px 12px;
  margin-bottom: 20px;
  border-radius: 12px;
  justify-content: flex-start;
  gap: 12px;
}

.project-detail-nav-arrows {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.project-step-arrow-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-step-arrow-btn:hover {
  background: #38bdf8;
  color: #0b1120;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
  transform: scale(1.05);
}

.project-step-counter {
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  padding: 0 4px;
  white-space: nowrap;
}

body.light-theme .project-step-arrow-btn {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.3);
  color: #0284c7;
}

body.light-theme .project-step-arrow-btn:hover {
  background: #0284c7;
  color: #ffffff;
}

.breadcrumb-trail.compact {
  font-size: 12px;
}

.breadcrumb-trail.compact .crumb-sep {
  font-size: 10px;
  opacity: 0.6;
}

.breadcrumb-trail.compact .crumb-current {
  color: #f59e0b;
  font-weight: 600;
}

body.light-theme .breadcrumb-trail.compact .crumb-current {
  color: #0284c7;
}

.project-detail-header {
  margin-bottom: 22px;
}

.project-detail-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.project-detail-badge {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #f59e0b;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

body.light-theme .project-detail-badge {
  background: #e0f2fe;
  border-color: #bae6fd;
  color: #0284c7;
}

.project-detail-lang {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

body.light-theme .project-detail-lang {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
}

.project-detail-title {
  margin-bottom: 0;
  padding-bottom: 0;
}

.project-deepdive-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.deepdive-card {
  background: rgba(18, 20, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 18px 20px;
  transition: all 0.25s ease;
}

.deepdive-card:hover {
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

body.light-theme .deepdive-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

body.light-theme .deepdive-card:hover {
  border-color: #0284c7;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.1);
}

.deepdive-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.deepdive-card-header h4 {
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
}

body.light-theme .deepdive-card-header h4 {
  color: #0f172a;
}

.deepdive-card.challenge .deepdive-card-header i {
  color: #f59e0b;
}

.deepdive-card.solution .deepdive-card-header i {
  color: #38bdf8;
}

.deepdive-card.impact .deepdive-card-header i {
  color: #10b981;
}

.deepdive-card p {
  color: #94a3b8;
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}

body.light-theme .deepdive-card p {
  color: #475569;
}

.project-detail-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.detail-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.detail-action-btn.primary {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0c0d12;
}

.detail-action-btn.primary:hover {
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
  transform: translateY(-2px);
}

body.light-theme .detail-action-btn.primary {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0c0d12;
}

body.light-theme .detail-action-btn.primary:hover {
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}

.detail-action-btn.secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
}

.detail-action-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transform: translateY(-2px);
}

body.light-theme .detail-action-btn.secondary {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
}

body.light-theme .detail-action-btn.secondary:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* ==========================================================================
   SEAMLESS CONTACT FORM & CHANNELS BELOW FORM
   ========================================================================== */
.contact-form.seamless-form {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  margin-top: 0;
  margin-bottom: 24px;
}

body.light-theme .contact-form.seamless-form {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.contact-channels-section.contact-channels-below {
  margin-top: 10px;
  margin-bottom: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.light-theme .contact-channels-section.contact-channels-below {
  border-top-color: #e2e8f0;
}

/* ==========================================================================
   MILESTONES & CREDENTIALS COMPACT LIST & DEDICATED DETAIL SECTION
   ========================================================================== */
.gallery-compact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.gallery-type-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.project-compact-title-wrap .project-active-badge {
  position: static !important;
  display: inline-flex !important;
  vertical-align: middle;
  margin-left: 8px;
  top: auto;
  left: auto;
}

.project-active-badge.gallery-tag-cert {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10b981;
}

body.light-theme .project-active-badge.gallery-tag-cert {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #059669;
}

.project-active-badge.gallery-tag-milestone {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #f59e0b;
}

body.light-theme .project-active-badge.gallery-tag-milestone {
  background: #fffbeb;
  border-color: #fde68a;
  color: #d97706;
}

/* Dedicated Milestone Detail View */
.moment-detail-content-wrap {
  margin-top: 14px;
}

.moment-detail-media-frame {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #080c14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.4);
  margin-bottom: 24px;
  position: relative;
}

body.light-theme .moment-detail-media-frame {
  background: #f8fafc;
  border-color: #e2e8f0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.moment-media-img-wrap,
.moment-media-video-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #080c14;
}

body.light-theme .moment-media-img-wrap,
body.light-theme .moment-media-video-wrap {
  background: #f8fafc;
}

.moment-detail-img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  display: block;
}

.moment-detail-video {
  width: 100%;
  max-height: 520px;
  display: block;
  border-radius: 20px;
  outline: none;
}

.moment-detail-header {
  margin-bottom: 22px;
}

.moment-detail-title {
  font-size: 24px;
  font-weight: 700;
  color: #f8fafc;
  margin: 6px 0 8px 0;
}

body.light-theme .moment-detail-title {
  color: #0f172a;
}

.moment-detail-meta {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

body.light-theme .moment-detail-meta {
  color: #64748b;
}

.moment-deepdive-grid {
  margin-bottom: 24px;
}

.moment-detail-references-wrap {
  background: rgba(18, 20, 28, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 28px;
}

body.light-theme .moment-detail-references-wrap {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.moment-refs-title {
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

body.light-theme .moment-refs-title {
  color: #1e293b;
}

.moment-refs-chips {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ==========================================================================
   MAX VAULT - REAL-TIME ENCRYPTED LIVE CHAT WIDGET
   ========================================================================== */
.vault-chat-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99998;
  font-family: inherit;
}

@media (max-width: 768px) {
  .vault-chat-widget {
    bottom: 96px;
    right: 18px;
  }
}

.vault-chat-toggle-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0ea5e9, #10b981);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 12px 20px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 25px -4px rgba(14, 165, 233, 0.45), 0 0 15px rgba(16, 185, 129, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.vault-chat-toggle-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 30px -4px rgba(14, 165, 233, 0.6), 0 0 20px rgba(16, 185, 129, 0.5);
}

.vault-chat-toggle-btn i {
  font-size: 16px;
}

.vault-chat-btn-pulse {
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 9999px;
  border: 2px solid rgba(16, 185, 129, 0.6);
  animation: vaultPulse 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}

@keyframes vaultPulse {
  0% { transform: scale(0.96); opacity: 0.9; }
  70% { transform: scale(1.22); opacity: 0; }
  100% { transform: scale(1.22); opacity: 0; }
}

.vault-chat-unread-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: #ffffff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.8);
  border: 2px solid #09090b;
}

.vault-chat-panel {
  position: absolute;
  bottom: calc(100% + 14px);
  right: 0;
  width: 360px;
  max-width: calc(100vw - 36px);
  height: 480px;
  max-height: calc(100vh - 130px);
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 25px rgba(14, 165, 233, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(16px) scale(0.94);
  opacity: 0;
  pointer-events: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99999;
}

.vault-chat-panel.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

body.light-theme .vault-chat-panel {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(226, 232, 240, 0.9);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.15), 0 4px 12px rgba(15, 23, 42, 0.06);
}

.vault-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(30, 41, 59, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.light-theme .vault-chat-header {
  background: rgba(248, 250, 252, 0.9);
  border-color: #e2e8f0;
}

.vault-chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vault-chat-avatar-wrap {
  position: relative;
  width: 38px;
  height: 38px;
}

.vault-chat-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #0ea5e9;
}

.vault-status-dot.online {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #0f172a;
  box-shadow: 0 0 6px #10b981;
}

.vault-chat-title {
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  line-height: 1.2;
}

body.light-theme .vault-chat-title {
  color: #0f172a;
}

.vault-chat-status {
  font-size: 11px;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 4px;
}

.vault-chat-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vault-apk-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: #00f0ff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.vault-apk-header-btn:hover {
  background: rgba(0, 240, 255, 0.25);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
  color: #ffffff;
}

.vault-chat-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 18px;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vault-chat-close-btn:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.vault-chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

.vault-chat-messages::-webkit-scrollbar {
  width: 6px;
}

.vault-chat-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.vault-chat-msg {
  display: flex;
  width: 100%;
}

.vault-chat-msg.msg-incoming {
  justify-content: flex-start;
}

.vault-chat-msg.msg-outgoing {
  justify-content: flex-end;
}

.msg-bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.msg-incoming .msg-bubble {
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom-left-radius: 4px;
  color: #e2e8f0;
}

body.light-theme .msg-incoming .msg-bubble {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #1e293b;
}

.msg-outgoing .msg-bubble {
  background: linear-gradient(135deg, #0284c7, #0d9488);
  border-bottom-right-radius: 4px;
  color: #ffffff;
}

.msg-sender {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  margin-bottom: 4px;
  opacity: 0.85;
}

.msg-text {
  margin: 0;
  word-break: break-word;
}

.msg-time {
  display: block;
  font-size: 9.5px;
  text-align: right;
  margin-top: 4px;
  opacity: 0.7;
}

.vault-chat-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(30, 41, 59, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.light-theme .vault-chat-input-row {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.vault-chat-input {
  flex: 1;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 13px;
  color: #f8fafc;
  outline: none;
  transition: border-color 0.2s;
}

body.light-theme .vault-chat-input {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}

.vault-chat-input:focus {
  border-color: #0ea5e9;
}

.vault-chat-send-btn {
  background: #0ea5e9;
  color: #ffffff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.vault-chat-send-btn:hover {
  background: #0284c7;
  transform: scale(1.05);
}

/* Accessible Screen Reader and Search Engine Crawler Index Utility */
.sr-only,
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ==========================================================================
   COMPACT TESTIMONIALS LIST & DEEP DETAIL VIEW (ZERO-LAG ARCHITECTURE)
   ========================================================================== */

/* Search Bar & Trust Metric Bar */
.testimonials-search-bar-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.testimonials-search-input-box {
  position: relative;
  flex: 1 1 320px;
  display: flex;
  align-items: center;
}

.testimonials-search-input-box .search-icon {
  position: absolute;
  left: 16px;
  color: var(--light-gray-70);
  font-size: 14px;
  pointer-events: none;
}

.testimonials-search-input {
  width: 100%;
  padding: 12px 40px 12px 42px;
  background: var(--input-bg, rgba(255, 255, 255, 0.05));
  border: 1px solid var(--main-border);
  border-radius: 14px;
  color: var(--font-color-1);
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonials-search-input:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

body.light-theme .testimonials-search-input,
html[data-theme="light"] .testimonials-search-input {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

body.light-theme .testimonials-search-input:focus,
html[data-theme="light"] .testimonials-search-input:focus {
  border-color: #f59e0b !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18) !important;
}

.search-clear-btn {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  color: var(--light-gray-70);
  cursor: pointer;
  padding: 4px;
  font-size: 13px;
  transition: color 0.2s ease;
}

.search-clear-btn:hover {
  color: #f59e0b;
}

.testimonials-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.22);
  color: #f59e0b;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

body.light-theme .testimonials-trust-pill,
html[data-theme="light"] .testimonials-trust-pill {
  background: #fef3c7 !important;
  border-color: #fde68a !important;
  color: #b45309 !important;
}

/* Compact Testimonials List */
.compact-testimonials-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 24px 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.compact-testimonials-list .testimonials-item,
.testimonials-item {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  flex: 1 1 100% !important;
  perspective: none !important;
  transform-style: flat !important;
  box-sizing: border-box !important;
}

.compact-testimonials-list .compact-testimonial-row,
.compact-testimonials-list .content-card,
.compact-testimonial-row {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
  padding: 16px 20px !important;
  background: var(--article-bg) !important;
  border: 1px solid var(--main-border) !important;
  border-radius: 18px !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  box-sizing: border-box !important;
  transform: none !important;
}

.compact-testimonials-list .compact-testimonial-row:hover,
.compact-testimonials-list .content-card:hover,
.compact-testimonial-row:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(245, 158, 11, 0.5) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 16px rgba(245, 158, 11, 0.12) !important;
}

body.light-theme .compact-testimonials-list .compact-testimonial-row,
html[data-theme="light"] .compact-testimonials-list .compact-testimonial-row,
body.light-theme .compact-testimonial-row,
html[data-theme="light"] .compact-testimonial-row {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

body.light-theme .compact-testimonials-list .compact-testimonial-row:hover,
html[data-theme="light"] .compact-testimonials-list .compact-testimonial-row:hover,
body.light-theme .compact-testimonial-row:hover,
html[data-theme="light"] .compact-testimonial-row:hover {
  border-color: #f59e0b !important;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.18) !important;
}

/* Compact Card Top Header */
.compact-card-header {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
}

.compact-avatar {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  border-radius: 13px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
  overflow: hidden !important;
}

.compact-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: inherit !important;
  display: block !important;
}

.compact-author-meta {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
}

.compact-name-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

.compact-name {
  font-size: 15.5px !important;
  font-weight: 700 !important;
  color: var(--font-color-1) !important;
  margin: 0 !important;
  line-height: 1.25 !important;
}

.compact-badge-chip {
  display: none !important;
}

.compact-role {
  font-size: 12.5px !important;
  color: var(--font-color-2) !important;
  font-weight: 500 !important;
  margin: 0 !important;
  line-height: 1.35 !important;
  white-space: normal !important;
}

.compact-org-inline {
  color: #f59e0b !important;
  font-weight: 600 !important;
}

/* Authentic 2-Line Testimonial Quote Box */
.compact-quote-box {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 10px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border-left: 3px solid #f59e0b !important;
  border-radius: 4px 10px 10px 4px !important;
  padding: 10px 14px !important;
  margin: 2px 0 !important;
  box-sizing: border-box !important;
}

body.light-theme .compact-quote-box,
html[data-theme="light"] .compact-quote-box {
  background: #f8fafc !important;
}

.quote-mark-icon {
  color: #f59e0b !important;
  font-size: 13px !important;
  margin-top: 2px !important;
  flex-shrink: 0 !important;
  opacity: 0.9 !important;
}

.compact-quote-text {
  font-size: 13px !important;
  font-style: italic !important;
  line-height: 1.55 !important;
  color: var(--font-color-1) !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Compact Country Pill with Flag */
.compact-country-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: var(--light-gray-70, #94a3b8) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 6px !important;
  padding: 2px 7px !important;
}

body.light-theme .compact-country-pill,
html[data-theme="light"] .compact-country-pill {
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  color: #475569 !important;
}

.country-flag {
  font-size: 13px !important;
  line-height: 1 !important;
}

/* Authentic 2-Line Review Excerpt */
.compact-review-excerpt {
  font-size: 12.5px !important;
  line-height: 1.6 !important;
  color: var(--font-color-2, #94a3b8) !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.light-theme .compact-review-excerpt,
html[data-theme="light"] .compact-review-excerpt {
  color: #475569 !important;
}

/* Compact Card Footer (Software Focus & Full Review Button) */
.compact-card-footer {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding-top: 4px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  flex-wrap: wrap !important;
}

body.light-theme .compact-card-footer,
html[data-theme="light"] .compact-card-footer {
  border-top-color: #f1f5f9 !important;
}

.compact-software-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.08) !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  border-radius: 8px !important;
  padding: 4px 10px !important;
}

body.light-theme .compact-software-tag,
html[data-theme="light"] .compact-software-tag {
  color: #0284c7 !important;
  background: rgba(2, 132, 199, 0.08) !important;
  border-color: rgba(2, 132, 199, 0.2) !important;
}

.compact-open-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-family: inherit !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #f59e0b !important;
  padding: 5px 12px !important;
  border-radius: 9999px !important;
  background: rgba(245, 158, 11, 0.1) !important;
  border: 1px solid rgba(245, 158, 11, 0.28) !important;
  cursor: pointer !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  margin-left: auto !important;
}

.compact-testimonial-row:hover .compact-open-pill {
  background: #f59e0b !important;
  color: #09090b !important;
  border-color: #f59e0b !important;
}

body.light-theme .compact-testimonial-row:hover .compact-open-pill,
html[data-theme="light"] .compact-testimonial-row:hover .compact-open-pill {
  color: #ffffff !important;
}

/* Pagination Bar */
.testimonials-pagination-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 0;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.test-page-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 10px;
  background: var(--input-bg, rgba(255, 255, 255, 0.05));
  border: 1px solid var(--main-border);
  color: var(--font-color-1);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.test-page-btn:hover:not(:disabled) {
  border-color: #f59e0b;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
}

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

body.light-theme .test-page-btn,
html[data-theme="light"] .test-page-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #334155;
}

.test-page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.test-page-pill {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--input-bg, rgba(255, 255, 255, 0.05));
  border: 1px solid var(--main-border);
  color: var(--font-color-1);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.test-page-pill:hover {
  border-color: #f59e0b;
  color: #f59e0b;
}

.test-page-pill.active {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #09090b;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

body.light-theme .test-page-pill,
html[data-theme="light"] .test-page-pill {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #334155;
}

body.light-theme .test-page-pill.active,
html[data-theme="light"] .test-page-pill.active {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #ffffff;
}

.test-page-counter {
  font-size: 12px;
  color: var(--light-gray-70);
  margin-left: 8px;
}

/* ==========================================================================
   DEDICATED TESTIMONIAL DETAIL MODAL POPUP
   ========================================================================== */

/* Testimonial Detailed Modal Backdrop */
.modal-container[data-modal-container] {
  display: none !important;
}

.testimonial-modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.78) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  z-index: 2500 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s !important;
}

/* Dedicated Testimonial Detail Page View (What People Are Saying > People Name) */
article.testimonial-detail {
  display: none;
}

article.testimonial-detail.active {
  display: block !important;
  animation: pageEnter 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-detail-content-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  margin-bottom: 24px !important;
}

.testimonial-detail-top-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

body.light-theme .testimonial-detail-top-nav,
html[data-theme="light"] .testimonial-detail-top-nav {
  border-bottom-color: #f1f5f9 !important;
}

.testimonial-modal-close-btn {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: var(--font-color-1, #f8fafc) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 15px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
}

.testimonial-modal-close-btn:hover {
  background: #ef4444 !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
  transform: scale(1.08) !important;
}

body.light-theme .testimonial-modal-close-btn,
html[data-theme="light"] .testimonial-modal-close-btn {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
}

body.light-theme .testimonial-modal-close-btn:hover,
html[data-theme="light"] .testimonial-modal-close-btn:hover {
  background: #ef4444 !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
}

.detail-index-badge {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #f59e0b !important;
  padding: 4px 12px !important;
  border-radius: 9999px !important;
  background: rgba(245, 158, 11, 0.1) !important;
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
}

/* Detail Profile Header Card */
.detail-profile-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  background: var(--article-bg);
  border: 1px solid var(--main-border);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  flex-wrap: wrap;
}

body.light-theme .detail-profile-card,
html[data-theme="light"] .detail-profile-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}

.detail-avatar {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.detail-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.detail-profile-info {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-title-line {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.detail-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--font-color-1);
  margin: 0;
}

.detail-badge-pill {
  display: none !important;
}

.detail-designation {
  font-size: 14px;
  color: #f59e0b;
  font-weight: 600;
  margin: 0;
}

.detail-org {
  font-size: 13px;
  color: var(--light-gray-70);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.detail-meta-box {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.detail-rating-box,
.detail-stars,
.detail-score {
  display: none !important;
}

.detail-timeline-tag {
  font-size: 12px;
  font-weight: 600;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 9999px;
  padding: 4px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.detail-context-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 18px;
  background: var(--article-bg);
  border: 1px solid var(--main-border);
  border-radius: 14px;
}

body.light-theme .detail-context-pills,
html[data-theme="light"] .detail-context-pills {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

.detail-context-pill {
  font-size: 12.5px;
  color: var(--light-gray-70);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.detail-context-pill i {
  color: #f59e0b;
  font-size: 13px;
}

/* Detail Content Blocks */
.detail-content-block {
  padding: 24px 28px;
  background: var(--article-bg);
  border: 1px solid var(--main-border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

body.light-theme .detail-content-block,
html[data-theme="light"] .detail-content-block {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
}

.block-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.light-theme .block-header,
html[data-theme="light"] .block-header {
  border-bottom-color: #f1f5f9;
}

.block-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.block-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--font-color-1);
  margin: 0;
}

.block-subtitle {
  font-size: 12px;
  color: var(--light-gray-70);
  margin: 2px 0 0 0;
}

.block-body {
  font-size: 14px;
  color: var(--light-gray-70);
  line-height: 1.75;
}

/* Dedicated Software & Work Collaboration Block */
.detail-content-block.software-block {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(245, 158, 11, 0.03)), var(--article-bg);
  border-color: rgba(56, 189, 248, 0.25);
}

body.light-theme .detail-content-block.software-block,
html[data-theme="light"] .detail-content-block.software-block {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.04), rgba(245, 158, 11, 0.02)), #ffffff !important;
  border-color: #cbd5e1 !important;
}

.software-header-meta {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.software-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.detail-software-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 9999px;
  padding: 3px 10px;
}

body.light-theme .detail-software-tag,
html[data-theme="light"] .detail-software-tag {
  color: #0284c7;
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.25);
}

.detail-work-done-body {
  font-size: 13.5px;
  color: var(--font-color-1);
  line-height: 1.75;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 14px 18px;
}

body.light-theme .detail-work-done-body,
html[data-theme="light"] .detail-work-done-body {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #334155;
}

.detail-pull-quote {
  font-size: 15px;
  font-weight: 600;
  font-style: italic;
  color: var(--font-color-1);
  line-height: 1.6;
  border-left: 3.5px solid #f59e0b;
  padding: 4px 0 4px 16px;
  margin: 0;
}

.detail-full-testimonial {
  font-size: 14px;
  color: var(--light-gray-70);
  line-height: 1.8;
}

/* Dedicated Technical Architecture & Implementation Block */
.detail-content-block.tech-block {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(14, 165, 233, 0.03)), var(--article-bg) !important;
  border-color: rgba(16, 185, 129, 0.28) !important;
}

body.light-theme .detail-content-block.tech-block,
html[data-theme="light"] .detail-content-block.tech-block {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.04), rgba(14, 165, 233, 0.02)), #ffffff !important;
  border-color: #cbd5e1 !important;
}

.detail-how-body {
  font-size: 13px !important;
  line-height: 1.7 !important;
  color: #a7f3d0 !important;
  background: rgba(6, 78, 59, 0.18) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  white-space: pre-wrap !important;
  word-break: break-word !important;
}

body.light-theme .detail-how-body,
html[data-theme="light"] .detail-how-body {
  color: #065f46 !important;
  background: #ecfdf5 !important;
  border-color: #a7f3d0 !important;
}

/* Context Grid: When, Where, How */
.context-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.context-item {
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

body.light-theme .context-item,
html[data-theme="light"] .context-item {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.context-item.context-full {
  grid-column: 1 / -1;
}

.context-label {
  font-size: 12px;
  font-weight: 700;
  color: #f59e0b;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.context-val {
  font-size: 13.5px;
  color: var(--light-gray-70);
  line-height: 1.6;
}

/* Sequential Next/Prev Testimonial Nav Row */
.testimonial-detail-nav-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 6px;
}

.testimonial-step-btn {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  background: var(--article-bg);
  border: 1px solid var(--main-border);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

.testimonial-step-btn.next-step {
  text-align: right;
  align-items: flex-end;
}

.testimonial-step-btn:hover {
  border-color: #f59e0b;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

body.light-theme .testimonial-step-btn,
html[data-theme="light"] .testimonial-step-btn {
  background: #ffffff;
  border-color: #cbd5e1;
}

body.light-theme .testimonial-step-btn:hover,
html[data-theme="light"] .testimonial-step-btn:hover {
  border-color: #f59e0b;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.15);
}

.step-dir {
  font-size: 11.5px;
  font-weight: 700;
  color: #f59e0b;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.step-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--font-color-1);
  margin-top: 4px;
}

@media (max-width: 768px) {
  /* ==========================================================================
     WHAT PEOPLE ARE SAYING (TESTIMONIALS) - ULTRA-POLISHED MOBILE ARCHITECTURE
     ========================================================================== */

  /* Search & Filter Header on Mobile */
  .testimonials-search-bar-wrap {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
  }

  .testimonials-search-input-box {
    flex: none !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  body.light-theme .testimonials-search-input-box,
  html[data-theme="light"] .testimonials-search-input-box {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  .testimonials-search-input {
    font-size: 13px !important;
    padding: 12px 36px 12px 38px !important;
    width: 100% !important;
    height: 46px !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
  }

  .testimonials-trust-pill {
    flex: none !important;
    width: 100% !important;
    height: 38px !important;
    justify-content: center !important;
    border-radius: 12px !important;
    font-size: 11.5px !important;
    margin-left: 0 !important;
    box-sizing: border-box !important;
  }

  /* Testimonials List Cards: Modern Testimonial Card with 2-Line Quote Preview */
  .compact-testimonials-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  .compact-testimonials-list .compact-testimonial-row,
  .compact-testimonials-list .content-card,
  .compact-testimonial-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    padding: 14px 14px !important;
    border-radius: 16px !important;
    background: rgba(18, 22, 34, 0.8) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.light-theme .compact-testimonials-list .compact-testimonial-row,
  html[data-theme="light"] .compact-testimonials-list .compact-testimonial-row,
  body.light-theme .compact-testimonial-row,
  html[data-theme="light"] .compact-testimonial-row {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
  }

  .compact-card-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .compact-avatar {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    flex-shrink: 0 !important;
  }

  .compact-author-meta {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
  }

  .compact-name-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .compact-name {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: var(--font-color-1) !important;
  }

  .compact-badge-chip {
    display: none !important;
  }

  .compact-role {
    font-size: 11.5px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    color: var(--font-color-2, #94a3b8) !important;
  }

  /* 2-Line Testimonial Quote Box */
  .compact-quote-box {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding: 8px 10px !important;
    margin: 1px 0 !important;
    border-left: 2.5px solid #f59e0b !important;
    border-radius: 3px 8px 8px 3px !important;
  }

  .compact-quote-text {
    font-size: 12px !important;
    line-height: 1.5 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Footer Action Bar */
  .compact-card-footer {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding-top: 4px !important;
    width: 100% !important;
  }

  .compact-software-tag {
    font-size: 10.5px !important;
    padding: 3px 8px !important;
    max-width: 58% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .compact-open-pill {
    font-size: 11px !important;
    padding: 4px 10px !important;
    border-radius: 9999px !important;
    margin-left: auto !important;
  }

  /* Testimonial Detail Page View (Mobile Optimization) */
  article.testimonial-detail .detail-profile-card {
    padding: 16px !important;
  }

  .testimonial-detail-top-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding-bottom: 8px !important;
  }

  .detail-index-badge {
    font-size: 11px !important;
    padding: 3px 10px !important;
  }

  .detail-profile-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 14px !important;
    border-radius: 16px !important;
    box-sizing: border-box !important;
  }

  .detail-avatar {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    flex-shrink: 0 !important;
  }

  .detail-profile-info {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
  }

  .detail-name {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
  }

  .detail-badge-pill {
    display: none !important;
  }

  .detail-designation {
    font-size: 11.5px !important;
    line-height: 1.35 !important;
    color: #f59e0b !important;
    font-weight: 500 !important;
  }

  .detail-org {
    font-size: 11px !important;
    color: var(--light-gray-70) !important;
  }

  .detail-meta-box {
    display: none !important;
  }

  body.light-theme .detail-meta-box,
  html[data-theme="light"] .detail-meta-box {
    border-top-color: #f1f5f9 !important;
  }

  .detail-content-block {
    padding: 16px 14px !important;
    border-radius: 18px !important;
    gap: 12px !important;
    box-sizing: border-box !important;
  }

  .detail-content-block.software-block {
    border-color: rgba(56, 189, 248, 0.3) !important;
  }

  .software-title-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  .detail-software-tag {
    font-size: 11px !important;
    padding: 3px 10px !important;
  }

  .detail-work-done-body {
    font-size: 12.5px !important;
    line-height: 1.65 !important;
    padding: 12px 14px !important;
  }

  .block-header {
    gap: 10px !important;
    padding-bottom: 10px !important;
  }

  .block-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
  }

  .block-title {
    font-size: 15px !important;
  }

  .block-subtitle {
    font-size: 11px !important;
  }

  .block-body {
    font-size: 13px !important;
    line-height: 1.65 !important;
  }

  .detail-pull-quote {
    font-size: 13px !important;
    line-height: 1.55 !important;
    padding: 6px 0 6px 12px !important;
    border-left-width: 3px !important;
  }

  .detail-full-testimonial {
    font-size: 12.5px !important;
    line-height: 1.7 !important;
  }

  .detail-how-body {
    font-size: 12px !important;
    line-height: 1.65 !important;
    padding: 10px 12px !important;
  }

  .compact-review-excerpt {
    font-size: 11.5px !important;
    line-height: 1.5 !important;
  }

  .context-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .context-item {
    padding: 12px 14px !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
  }

  .testimonial-detail-nav-row {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .testimonial-step-btn {
    padding: 12px 14px !important;
  }
}

/* ==========================================================================
   HIGH-PERFORMANCE 60FPS SMOOTH INTERACTIVE MICRO-PHYSICS & ANIMATIONS
   Hardware-Accelerated (transform3d, will-change, zero layout thrashing)
   ========================================================================== */

/* Mobile Bottom-Sheet Grab Handle */
.mobile-sheet-drag-handle {
  display: none;
}

@media (max-width: 768px) {
  .mobile-sheet-drag-handle {
    display: block !important;
    width: 42px !important;
    height: 4.5px !important;
    background: rgba(255, 255, 255, 0.28) !important;
    border-radius: 9999px !important;
    margin: 0 auto 10px !important;
    flex-shrink: 0 !important;
    transition: background 0.2s ease !important;
  }

  body.light-theme .mobile-sheet-drag-handle,
  html[data-theme="light"] .mobile-sheet-drag-handle {
    background: rgba(0, 0, 0, 0.24) !important;
  }
}

/* Tactile Haptic Touch Response (Smooth Scale Physics) */
.compact-testimonial-row,
.project-item,
.content-card,
.filter-item button,
.test-page-pill,
.test-page-btn,
.compact-open-pill,
.header-theme-btn,
.info_more-btn,
.testimonial-step-btn {
  -webkit-tap-highlight-color: transparent !important;
}

.compact-testimonial-row:active,
.project-item:active,
.filter-item button:active,
.compact-open-pill:active,
.test-page-pill:active,
.test-page-btn:active,
.testimonial-step-btn:active {
  transform: scale(0.982) !important;
  transition: transform 0.12s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Smooth Staggered Card Entrance Animation */
@keyframes cardEntrance {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.compact-testimonials-list .testimonials-item {
  animation: cardEntrance 0.38s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.compact-testimonials-list .testimonials-item:nth-child(1) { animation-delay: 0.03s; }
.compact-testimonials-list .testimonials-item:nth-child(2) { animation-delay: 0.07s; }
.compact-testimonials-list .testimonials-item:nth-child(3) { animation-delay: 0.11s; }
.compact-testimonials-list .testimonials-item:nth-child(4) { animation-delay: 0.15s; }
.compact-testimonials-list .testimonials-item:nth-child(5) { animation-delay: 0.19s; }
.compact-testimonials-list .testimonials-item:nth-child(6) { animation-delay: 0.23s; }
.compact-testimonials-list .testimonials-item:nth-child(7) { animation-delay: 0.27s; }
.compact-testimonials-list .testimonials-item:nth-child(8) { animation-delay: 0.31s; }

/* Smooth Ambient Breathing Glow on Accents */
@keyframes cyberAmbientGlow {
  0%, 100% {
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.12);
  }
  50% {
    box-shadow: 0 0 22px rgba(245, 158, 11, 0.28);
  }
}

.compact-testimonial-row:hover {
  animation: cyberAmbientGlow 2.4s infinite ease-in-out;
}

/* Reduced Motion Accessibility Contract */
@media (prefers-reduced-motion: reduce) {
  .compact-testimonials-list .testimonials-item,
  .compact-testimonial-row,
  article.active {
    animation: none !important;
    transition: none !important;
  }
}

/* Bulletproof Zero-FOUC Modal Protection */
.modal-container:not(.active),
.nickname-modal:not(.active),
.gallery-timeline-modal:not(.active),
.fullscreen-photo-lightbox:not(.active),
.project-modal:not(.active),
.cert-modal:not(.active) {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ==========================================================================
   4D SENSOR EXPERIENCE ENGINE STYLING
   Hardware-accelerated perspective tilt, dynamic specular sheen, and panda reactivity
   Designed by Mahendra Mali (Max) | License UPI: 9824584454@ybl
   ========================================================================== */

/* 4D Cyber Panda Mascot Tilt & Ear Physics */
body.four-d-active .maxhive-robot-head {
  transform: perspective(400px) rotateX(var(--sensor-panda-rx, 0deg)) rotateY(var(--sensor-panda-ry, 0deg)) rotateZ(var(--sensor-panda-rz, 0deg)) translateY(var(--sensor-panda-ty, 0px));
  transition: transform 0.1s cubic-bezier(0.2, 0.8, 0.2, 1);
  animation: none;
}

body.four-d-active .maxhive-robot-head .maxhive-ear.left {
  transform: rotate(calc(-18deg + var(--sensor-ear-left-rot, 0deg))) translateY(var(--sensor-ear-left-ty, 0px));
  transition: transform 0.12s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body.four-d-active .maxhive-robot-head .maxhive-ear.right {
  transform: rotate(calc(18deg + var(--sensor-ear-right-rot, 0deg))) translateY(var(--sensor-ear-right-ty, 0px));
  transition: transform 0.12s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body.four-d-active .maxhive-robot-head .maxhive-pupil {
  transform: translate(var(--sensor-pupil-x, 0px), var(--sensor-pupil-y, 0px)) !important;
  transition: transform 0.08s ease-out;
}

/* Jolt bounce animation on sudden shake or physical bump */
.maxhive-robot-head.panda-jolt-react {
  animation: pandaJoltBounce 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

@keyframes pandaJoltBounce {
  0% { transform: scale(1) translateY(0); }
  25% { transform: scale(1.18, 0.82) translateY(6px); }
  50% { transform: scale(0.9, 1.15) translateY(-8px) rotate(-4deg); }
  75% { transform: scale(1.05, 0.95) translateY(2px) rotate(2deg); }
  100% { transform: scale(1) translateY(0) rotate(0deg); }
}





/* Compact Card Top-Right Arrow */
.compact-header-arrow {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  border-radius: 50% !important;
  background: rgba(245, 158, 11, 0.08) !important;
  border: 1px solid rgba(245, 158, 11, 0.22) !important;
  color: #f59e0b !important;
  font-size: 13px !important;
  margin-left: auto !important;
  flex-shrink: 0 !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.compact-testimonial-row:hover .compact-header-arrow {
  background: #f59e0b !important;
  color: #09090b !important;
  border-color: #f59e0b !important;
  transform: translateX(3px) !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35) !important;
}

body.light-theme .compact-header-arrow,
html[data-theme="light"] .compact-header-arrow {
  background: rgba(245, 158, 11, 0.08) !important;
  border-color: rgba(245, 158, 11, 0.25) !important;
  color: #d97706 !important;
}

body.light-theme .compact-testimonial-row:hover .compact-header-arrow,
html[data-theme="light"] .compact-testimonial-row:hover .compact-header-arrow {
  background: #f59e0b !important;
  color: #ffffff !important;
}

@media (max-width: 640px) {
  .compact-header-arrow {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    font-size: 11px !important;
  }
}
