/* ==========================================================================
   ARTER THEME - Modern CV / Resume & Portfolio App Stylesheet
   Color Palette: Deep Slate (#191923, #20202A), Warm Amber (#FFC107), Off-White (#FAFAFC)
   Layout: Sharp Corners (0 Radius), Flat Minimalist (0 Border, No Shadows)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  --bg-body: #191923;
  --bg-surface: #20202A;
  --bg-card: #24242F;
  --bg-surface-elevated: #282835;
  --bg-darker: #16161F;
  
  --accent: #FFC107;
  --accent-hover: #FFB300;
  --accent-glow: transparent;
  --accent-subtle: rgba(255, 193, 7, 0.12);
  
  --text-primary: #FAFAFC;
  --text-secondary: #CACACE;
  --text-muted: #8C8C8E;
  
  --border-color: transparent;
  --border-active: transparent;
  
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
  --radius-full: 0px;
  
  --shadow-card: none;
  --shadow-glow: none;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
  background-color: var(--bg-darker);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
}

body {
  background-color: var(--bg-darker);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: #333342;
  border-radius: 0;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Links & Typography */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

code, .code-accent {
  font-family: var(--font-mono);
  color: var(--accent);
}

/* ==========================================================================
   APP SHELL LAYOUT (3-COLUMN ARTER STYLE)
   ========================================================================== */

.arter-app {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 24px;
  background: radial-gradient(circle at 50% 0%, #20202e 0%, var(--bg-darker) 70%);
}

.arter-container {
  display: grid;
  grid-template-columns: 290px 1fr 80px;
  width: 100%;
  max-width: 1440px;
  height: calc(100vh - 48px);
  max-height: 960px;
  background-color: var(--bg-body);
  border-radius: 0;
  border: 0;
  overflow: hidden;
  position: relative;
}

/* ==========================================================================
   LEFT COLUMN: PROFILE SIDEBAR
   ========================================================================== */

.arter-left-bar {
  background-color: var(--bg-surface);
  border-right: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  z-index: 20;
}

.arter-left-header {
  padding: 30px 24px 20px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 193, 7, 0.05) 0%, transparent 100%);
  border-bottom: 0;
}

.avatar-wrapper {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 16px;
  border-radius: 50% !important;
  overflow: hidden;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50% !important;
  border: 0;
  display: block;
}

.status-badge-dot {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 12px;
  height: 12px;
  background-color: #10B981;
  border: 0;
  border-radius: 0;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.profile-name {
  font-size: 1.15rem;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.profile-role {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-sans);
  line-height: 1.4;
}

.profile-status-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--accent);
  background: var(--accent-subtle);
  padding: 3px 10px;
  border-radius: 0;
  margin-top: 10px;
  border: 0;
}

.arter-left-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.info-table {
  width: 100%;
  margin-bottom: 24px;
  font-size: 0.85rem;
}

.info-table tr {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}

.info-table th {
  color: var(--text-primary);
  font-weight: 500;
  text-align: left;
}

.info-table td {
  color: var(--text-muted);
  text-align: right;
  font-family: var(--font-mono);
}

.sidebar-divider {
  height: 0;
  background: transparent;
  margin: 18px 0;
}

.section-mini-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

/* Circular Language Skills */
.lang-skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.lang-skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.progress-circle-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
}

.progress-circle-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.progress-circle-bg {
  fill: none;
  stroke: #16161F;
  stroke-width: 3.5;
}

.progress-circle-bar {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3.5;
  stroke-linecap: square;
  transition: stroke-dashoffset 1s ease-out;
}

.progress-circle-val {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.68rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-primary);
}

.lang-skill-name {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.25;
  word-break: break-word;
}

/* Linear Hard Skills */
.linear-skill-item {
  margin-bottom: 14px;
}

.linear-skill-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.linear-skill-name {
  color: var(--text-secondary);
}

.linear-skill-val {
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.linear-skill-track {
  width: 100%;
  height: 4px;
  background-color: var(--bg-darker);
  border-radius: 0;
  overflow: hidden;
}

.linear-skill-fill {
  height: 100%;
  background-color: var(--accent);
  border-radius: 0;
  transition: width 1s ease-in-out;
}

/* Checklist Skills */
.check-skills-list {
  list-style: none;
}

.check-skills-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.arter-left-footer {
  padding: 16px 24px;
  background-color: var(--bg-surface);
  border-top: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-cv-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  background-color: var(--accent);
  color: #12121A;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0;
  transition: all var(--transition-fast);
  border: 0;
  cursor: pointer;
}

.btn-cv-download:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.social-link {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background-color: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.85rem;
  border: 0;
  transition: all var(--transition-fast);
}

.social-link:hover {
  color: var(--accent);
  background-color: var(--bg-surface-elevated);
  transform: translateY(-2px);
}

/* ==========================================================================
   CENTER COLUMN: MAIN STAGE (SCROLLABLE)
   ========================================================================== */

.arter-main-stage {
  height: 100%;
  overflow-y: auto;
  position: relative;
  background-color: var(--bg-body);
}

.main-stage-content {
  padding: 30px;
}

/* Hero Banner Section (Arter Template Standard) */
.art-a.art-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  box-shadow: 0 3px 8px 0 rgba(15, 15, 20, 0.2);
  margin-bottom: 30px;
  background-color: #242432;
}

.art-banner-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(90deg, rgba(30, 30, 40, 0.95) 15%, rgba(30, 30, 40, 0.75) 60%, rgba(30, 30, 40, 0.6) 100%);
  z-index: 1;
}

.art-banner-dec {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 50%;
  background-image: radial-gradient(circle at top right, rgba(255, 193, 7, 0.15), transparent 70%);
  z-index: 2;
  pointer-events: none;
}

.art-banner-overlay {
  position: relative;
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 320px;
  z-index: 3;
}

.art-banner-title {
  width: 100%;
  max-width: 580px;
  position: relative;
  z-index: 4;
}

.art-banner-title h1 {
  font-size: var(--fs-h1, 2.4rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.art-banner-photo {
  position: absolute;
  right: 40px;
  bottom: 0;
  height: 100%;
  max-height: 380px;
  object-fit: contain;
  z-index: 3;
  pointer-events: none;
}

@media (max-width: 991px) {
  .art-banner-overlay {
    padding: 40px 30px;
    min-height: 300px;
  }
  .art-banner-photo {
    display: none;
  }
}

@media (max-width: 767px) {
  .art-banner-overlay {
    padding: 30px 20px;
  }
  .art-banner-title h1 {
    font-size: 1.85rem;
  }
}

.p-60-0 {
  padding-top: 60px;
  padding-bottom: 0;
}

@media (max-width: 991px) {
  .p-lg-30-0 {
    padding-top: 30px !important;
    padding-bottom: 0 !important;
  }
}

@media (max-width: 767px) {
  .p-md-15-0 {
    padding-top: 15px !important;
    padding-bottom: 0 !important;
  }
}

.mb-15 {
  margin-bottom: 15px !important;
}

.mb-25 {
  margin-bottom: 25px !important;
}

.art-lg-text {
  font-size: 1.05rem;
  line-height: 1.6;
}

.art-code {
  font-family: var(--font-mono, monospace);
  color: var(--text-secondary);
}

.art-code i {
  font-style: normal;
  color: var(--accent);
}

.txt-rotate {
  color: var(--text-primary);
  font-weight: 600;
}

.txt-rotate > .wrap {
  border-right: 0.12em solid var(--accent);
  padding-right: 3px;
  animation: txt-cursor-blink 0.8s infinite;
}

@keyframes txt-cursor-blink {
  0%, 49% { border-color: var(--accent); }
  50%, 100% { border-color: transparent; }
}

.art-buttons-frame {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.art-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #1e1e28;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  height: 44px;
  padding: 0 32px;
  border-radius: 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.art-btn:hover {
  background: #ffca28;
  color: #191923;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 193, 7, 0.28);
}

.hero-code-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  background: var(--accent-subtle);
  padding: 4px 12px;
  border-radius: 0;
  margin-bottom: 16px;
  border: 0;
}

.hero-title {
  font-size: 2.1rem;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.hero-typed-wrapper {
  font-size: 1.15rem;
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.hero-typed-wrapper span.typed-text {
  color: var(--accent);
  font-weight: 600;
}

.hero-cursor {
  display: inline-block;
  background-color: var(--accent);
  width: 3px;
  margin-left: 3px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 24px;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent);
  color: #12121A;
  padding: 12px 24px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 0;
  border: 0;
  transition: all var(--transition-fast);
}

.hero-cta-btn:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

/* Stats Counter Grid */
.arter-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.stat-card {
  background: transparent;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat-card:hover {
  transform: none;
  background: transparent;
  background-color: transparent;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--accent);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

/* Section Headings */
.section-title-wrap {
  margin-bottom: 24px;
}

.section-title {
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title::after {
  content: '';
  flex: 1;
  height: 0;
}

/* About Section */
.about-section {
  margin-bottom: 36px;
}

.about-card {
  background-color: var(--bg-surface);
  border: 0;
  border-radius: 0;
  padding: 28px;
  position: relative;
  transition: all var(--transition-normal);
  border-left: 3px solid var(--accent);
}

.about-quote-icon {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.about-bio-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.about-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 16px 0;
  margin-bottom: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.about-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-meta-label {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-meta-val {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.about-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.service-card {
  background-color: var(--bg-surface);
  border: 0;
  border-radius: 0;
  padding: 24px;
  position: relative;
  transition: all var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-4px);
  background-color: var(--bg-surface-elevated);
}

.service-title {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.service-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Timeline History (2 Columns) */
.history-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.history-col-title {
  font-size: 1.05rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-family: var(--font-mono);
}

.timeline-items {
  position: relative;
  padding-left: 20px;
}

.timeline-items::before {
  content: '';
  position: absolute;
  top: 0;
  left: 4px;
  width: 2px;
  height: 100%;
  background: var(--bg-card);
}

.timeline-item {
  position: relative;
  margin-bottom: 24px;
  padding-left: 12px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 6px;
  left: -20px;
  width: 10px;
  height: 10px;
  background-color: var(--accent);
  border: 0;
  border-radius: 0;
}

.timeline-card {
  background-color: var(--bg-surface);
  border: 0;
  border-radius: 0;
  padding: 18px 20px;
  transition: all var(--transition-normal);
}

.timeline-card:hover {
  transform: translateX(4px);
  background-color: var(--bg-surface-elevated);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}

.timeline-title {
  font-size: 0.95rem;
}

.timeline-period {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--accent);
  background: var(--accent-subtle);
  padding: 2px 8px;
  border-radius: 0;
}

.timeline-inst {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.timeline-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Portfolio Gallery */
.portfolio-section {
  margin-bottom: 36px;
}

.portfolio-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-tab-btn {
  background-color: var(--bg-surface);
  color: var(--text-secondary);
  border: 0;
  padding: 6px 14px;
  border-radius: 0;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab-btn:hover, .filter-tab-btn.active {
  background-color: var(--accent);
  color: #12121A;
  font-weight: 700;
}

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

.project-card {
  background-color: var(--bg-surface);
  border: 0;
  border-radius: 0;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-4px);
  background-color: var(--bg-surface-elevated);
}

.project-thumb-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
  background-color: var(--bg-darker);
}

.project-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 0;
}

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

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 22, 31, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.btn-project-preview {
  background-color: var(--accent);
  color: #12121A;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 8px 16px;
  border: 0;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.btn-project-preview:hover {
  transform: scale(1.05);
}

.project-info {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-cat {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.project-title {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.project-short-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.tech-tag {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  background: var(--bg-card);
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: 0;
  border: 0;
}

.project-actions {
  display: flex;
  gap: 10px;
}

.btn-link-action {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-link-action:hover {
  text-decoration: underline;
}

/* Blog Section & Grid */
.blog-section {
  margin-bottom: 36px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.blog-card {
  background-color: var(--bg-surface);
  border: 0;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-4px);
  background-color: var(--bg-surface-elevated);
}

.blog-thumb-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
  background-color: var(--bg-darker);
}

.blog-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 0;
}

.blog-card:hover .blog-thumb {
  transform: scale(1.05);
}

.blog-badge-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.blog-cat-badge {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  font-weight: 700;
  background: var(--bg-card);
  color: var(--accent);
  padding: 4px 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 0;
}

.blog-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.blog-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 10px;
}

.blog-meta-top i {
  color: var(--accent);
  margin-right: 4px;
}

.blog-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}

.blog-card-title a {
  color: var(--text-primary);
  transition: color var(--transition-fast);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-title a:hover {
  color: var(--accent);
}

.blog-card-summary {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.btn-read-more {
  background: transparent;
  border: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 0;
  transition: gap 0.2s ease;
}

.btn-read-more:hover {
  gap: 10px;
}

/* Blog Modal Specifics */
.blog-modal-container {
  max-width: 840px;
  max-height: 90vh;
  overflow-y: auto;
}

.blog-modal-img-wrap {
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.blog-modal-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.blog-modal-content h4 {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 20px 0 10px 0;
}

/* Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.testimonial-card {
  background-color: var(--bg-surface);
  border: 0;
  border-radius: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  background-color: var(--bg-surface-elevated);
}

.testimonial-content {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  object-fit: cover;
  border: 0;
}

.author-name {
  font-size: 0.88rem;
  font-weight: 700;
}

.author-role {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.star-rating {
  color: var(--accent);
  font-size: 0.75rem;
  margin-top: 2px;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 24px;
  margin-bottom: 36px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-card-item {
  background-color: var(--bg-surface);
  border: 0;
  border-radius: 0;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-card-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.contact-card-val {
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 600;
}

.contact-form-card {
  background-color: var(--bg-surface);
  border: 0;
  border-radius: 0;
  padding: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  margin-bottom: 6px;
}

.form-input, .form-textarea {
  width: 100%;
  background-color: var(--bg-card);
  border: 0;
  border-radius: 0;
  padding: 10px 14px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  background-color: var(--bg-darker);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.btn-send-message {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--accent);
  color: #12121A;
  border: 0;
  padding: 12px 24px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-send-message:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-send-message:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Footer */
.arter-footer {
  padding: 20px 0 0;
  border-top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   RIGHT COLUMN: SLIM ACTION & NAVIGATION BAR
   ========================================================================== */

.arter-right-bar {
  background-color: var(--bg-surface);
  border-left: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  z-index: 20;
}

.menu-toggle-btn {
  width: 44px;
  height: 44px;
  border-radius: 0;
  background-color: var(--bg-card);
  border: 0;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.menu-toggle-btn:hover, .menu-toggle-btn.active {
  background-color: var(--accent);
  color: #12121A;
}

/* Vertical Active Section Indicator (Arter Style) */
.current-page-title-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  pointer-events: none;
  user-select: none;
}

.current-page-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

.right-bar-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.admin-portal-link {
  width: 36px;
  height: 36px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  background-color: var(--bg-card);
  border: 0;
  transition: all var(--transition-fast);
}

.admin-portal-link:hover {
  color: var(--accent);
  background-color: var(--bg-surface-elevated);
}

/* ==========================================================================
   SIDE NAVIGATION DRAWER (ARTER APP STYLE)
   ========================================================================== */

.arter-drawer-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(10, 10, 15, 0.75);
  backdrop-filter: blur(4px);
  z-index: 85;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.arter-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.arter-nav-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background-color: #1e1e28;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 24px;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  border: 0;
  border-radius: 0;
}

.arter-nav-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 20px;
}

.drawer-header-title {
  font-size: 0.85rem;
  font-family: var(--font-mono);
  color: var(--accent);
  letter-spacing: 0.1em;
  font-weight: 700;
}

.drawer-close-btn {
  width: 32px;
  height: 32px;
  background: var(--bg-card);
  border: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.drawer-close-btn:hover {
  color: #12121A;
  background-color: var(--accent);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
}

.drawer-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-nav-item {
  opacity: 0;
  transform: translateX(30px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.arter-nav-drawer.open .drawer-nav-item:nth-child(1) { transition-delay: 0.08s; opacity: 1; transform: translateX(0); }
.arter-nav-drawer.open .drawer-nav-item:nth-child(2) { transition-delay: 0.12s; opacity: 1; transform: translateX(0); }
.arter-nav-drawer.open .drawer-nav-item:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: translateX(0); }
.arter-nav-drawer.open .drawer-nav-item:nth-child(4) { transition-delay: 0.20s; opacity: 1; transform: translateX(0); }
.arter-nav-drawer.open .drawer-nav-item:nth-child(5) { transition-delay: 0.24s; opacity: 1; transform: translateX(0); }
.arter-nav-drawer.open .drawer-nav-item:nth-child(6) { transition-delay: 0.28s; opacity: 1; transform: translateX(0); }

.drawer-nav-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: transparent;
  transition: all 0.25s ease;
  border: 0;
  border-radius: 0;
}

.drawer-nav-link:hover, .drawer-nav-link.active {
  background-color: var(--bg-card);
  color: var(--accent);
  transform: translateX(6px);
}

.drawer-nav-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 700;
  transition: color var(--transition-fast);
}

.drawer-nav-link:hover .drawer-nav-num, .drawer-nav-link.active .drawer-nav-num {
  color: var(--accent);
}

.drawer-footer {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-admin-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 16px;
  background-color: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all var(--transition-fast);
  border: 0;
}

.drawer-admin-btn:hover {
  background-color: var(--accent);
  color: #12121A;
}

/* ==========================================================================
   MODAL / LIGHTBOX FOR PROJECTS
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background-color: var(--bg-surface);
  border: 0;
  border-radius: 0;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-normal);
  position: relative;
}

.modal-backdrop.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 0;
  background-color: var(--bg-darker);
  border: 0;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background-color: var(--accent);
  color: #12121A;
}

.modal-img-wrap {
  width: 100%;
  height: 340px;
  background-color: var(--bg-darker);
  overflow: hidden;
  border-radius: 0;
}

.modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.modal-body {
  padding: 28px;
}

.modal-category {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.modal-title {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.modal-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background-color: var(--bg-card);
  padding: 14px 18px;
  border-radius: 0;
  border: 0;
  margin-bottom: 20px;
  font-size: 0.82rem;
}

.modal-meta-item strong {
  color: var(--accent);
  font-family: var(--font-mono);
  margin-right: 6px;
}

.modal-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.modal-actions {
  display: flex;
  gap: 14px;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */

.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--bg-surface-elevated);
  border: 0;
  padding: 14px 20px;
  border-radius: 0;
  font-size: 0.85rem;
  color: var(--text-primary);
  min-width: 280px;
  transform: translateX(100%);
  opacity: 0;
  transition: all var(--transition-normal);
}

.toast-item.show {
  transform: translateX(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

/* Mobile Backdrop */
.mobile-sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 15;
  display: none;
}
.mobile-sidebar-backdrop.active {
  display: block;
}

/* Tablet & Mobile Nav Bar */
.mobile-top-bar {
  display: none;
  background-color: var(--bg-surface);
  border-bottom: 0;
  padding: 14px 20px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

@media (max-width: 1200px) {
  .arter-app {
    padding: 12px;
  }
  .arter-container {
    grid-template-columns: 260px 1fr 70px;
    height: calc(100vh - 24px);
  }
  .arter-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .arter-app {
    padding: 0;
    align-items: stretch;
  }
  .arter-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    border: none;
  }
  .mobile-top-bar {
    display: flex;
  }
  
  .arter-left-bar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    z-index: 100;
  }
  .arter-left-bar.open {
    transform: translateX(0);
  }

  .arter-right-bar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 70px;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    z-index: 100;
  }
  .arter-right-bar.open {
    transform: translateX(0);
  }

  .arter-main-stage {
    flex: 1;
  }
  .main-stage-content {
    padding: 20px;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-typed-wrapper {
    font-size: 1rem;
  }
  .services-grid, .history-grid, .projects-grid, .blog-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-meta-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .arter-stats-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 1.4rem;
  }
  .hero-typed-wrapper {
    font-size: 0.9rem;
  }
  .modal-img-wrap {
    height: 220px;
  }
  .modal-meta-grid {
    grid-template-columns: 1fr;
  }
  .modal-actions {
    flex-direction: column;
  }
}
