/* ============================================
   IRONSOFT - Premium Dark Mode Design System
   ============================================ */

:root {
  /* Midnight Executive Palette */
  --bg-primary: #0B1120;
  --bg-secondary: #020617;
  --surface: rgba(15, 23, 42, 0.6);
  --surface-elevated: rgba(30, 41, 59, 0.8);
  --border: rgba(148, 163, 184, 0.2);
  --border-light: rgba(148, 163, 184, 0.3);
  
  /* Deep Navy Accent */
  --navy-primary: #1e3a8a;
  --navy-dark: #172554;
  --navy-glow: 30, 58, 138;
  
  /* Metallic Silver Accent */
  --silver: #94a3b8;
  --silver-light: #cbd5e1;
  --silver-bright: #e2e8f0;
  --silver-glow: 148, 163, 184;
  
  /* Hybrid Theme Light Palette */
  --light-bg: #f8fafc;
  --card-light: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --accent-blue: #2563eb;
  
  /* Text Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #cbd5e1;
  --text-tertiary: #94a3b8;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.8);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.8);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.8);
  --shadow-steel: 0 0 10px rgba(148, 163, 184, 0.3);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

/* Custom Scrollbar - Premium Dark Navy */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--silver), var(--surface-elevated));
  border-radius: 10px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, var(--silver-light), var(--silver));
}

/* Firefox Scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--silver) transparent;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  background: linear-gradient(to bottom, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  overflow-x: hidden;
  position: relative;
}

/* Noise Texture Overlay - Matte Metal Feel */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
}

/* Background Grid Pattern - Executive Blueprint */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Container - Max Width Structure */
.project-card-listing {
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 12px;
}

.project-card-listing:hover {
  transform: translateY(-12px);
  border-color: #2563eb;
  box-shadow: 0 35px 80px rgba(37, 99, 235, 0.18);
}

.project-card-listing__media {
  position: relative;
  padding-bottom: 60%;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}

.project-card-listing__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card-listing:hover .project-card-listing__media img {
  transform: scale(1.03);
}

.project-card-listing__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(14, 165, 233, 0.15));
}

.project-card-listing__body {
  padding: 1.75rem 1.5rem;
  flex: 1;
}

/* Header - Hybrid Glassmorphism */
.ironsoft-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 15, 30, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.ironsoft-header.scrolled {
  background: rgba(248, 250, 252, 0.95);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.ironsoft-header.scrolled .ironsoft-logo {
  color: var(--text-dark);
}

.ironsoft-header.scrolled .ironsoft-nav a {
  color: var(--text-dark);
}

.ironsoft-header.scrolled .ironsoft-nav a:hover {
  color: var(--accent-blue);
}

.ironsoft-header.scrolled .btn-outline-header {
  color: var(--text-dark) !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.12);
  background: rgba(15, 23, 42, 0.05) !important;
}

.ironsoft-header.scrolled .btn-outline-header:hover {
  background: var(--text-dark) !important;
  color: var(--card-light) !important;
}

/* Header Container - Fixed Flexbox Layout */
.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ironsoft-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
}

.ironsoft-logo:hover {
  opacity: 0.8;
  color: var(--text-primary);
  text-decoration: none;
}

/* Navigation - Right Aligned */
.ironsoft-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-left: auto;
}

.ironsoft-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.ironsoft-nav a:hover {
  color: var(--silver-bright);
  text-decoration: none;
}

/* Contact Link Special Style */
.ironsoft-nav .nav-link-contact {
  color: var(--text-secondary);
  position: relative;
}

.ironsoft-nav .nav-link-contact:hover {
  color: var(--silver-bright);
}

/* Outline Button - Client Login (Glass Style) */
.btn-outline-header {
  background: transparent !important;
  color: var(--silver-light) !important;
  padding: 0.625rem 1.5rem !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-decoration: none !important;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn-outline-header:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--text-primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2), 0 4px 12px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Hero Section */
.ironsoft-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(37, 99, 235, 0.25) 0%, rgba(15, 23, 42, 0) 60%),
    linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(var(--border-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 50%, black 40%, transparent 100%);
}

/* Hero Spotlight Effect */
.hero-spotlight {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(30, 30, 40, 0.4) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-headline {
  margin-bottom: 1.5rem;
  font-size: clamp(2.75rem, 6vw, 4rem);
  color: var(--text-primary);
}

.hero-highlight {
  background: linear-gradient(90deg, #60a5fa 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subheadline {
  font-size: 1.25rem;
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: inline-block;
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  color: var(--text-primary);
  padding: 1rem 3rem;
  border-radius: 8px;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-cta:hover::before {
  opacity: 1;
}

.hero-cta:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.6), 0 0 30px rgba(148, 163, 184, 0.25);
  color: var(--text-primary);
}

.hero-tech-strip {
  margin-top: 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tech-caption {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.7);
}

.tech-logos {
  display: flex;
  justify-content: center;
  gap: 2rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
}

/* ============================================
   TECH MARQUEE - Trust Strip
   ============================================ */
.tech-marquee {
  padding: 2rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: rgba(22, 22, 22, 0.3);
  overflow: hidden;
  position: relative;
}

.marquee-content {
  display: flex;
  gap: 4rem;
  animation: marquee 30s linear infinite;
  width: fit-content;
}

.marquee-item {
  color: var(--text-tertiary);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.tech-marquee:hover .marquee-item {
  animation-play-state: paused;
  opacity: 0.8;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Services Highlights Grid */
.ironsoft-services {
  position: relative;
  padding: 5rem 0;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  overflow: hidden;
}

.ironsoft-services::before,
.ironsoft-services::after {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  background: rgba(59, 130, 246, 0.12);
  filter: blur(50px);
  border-radius: 50%;
  z-index: 0;
}

.ironsoft-services::before {
  top: -40px;
  left: -80px;
}

.ironsoft-services::after {
  bottom: -60px;
  right: -80px;
}

.services-header {
  position: relative;
  z-index: 1;
}

.services-lede {
  max-width: 620px;
  margin: 1rem auto 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.service-highlights-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 1199px) {
  .service-highlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.service-spotlight-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 2.4rem 2.2rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.7rem;
  min-height: 100%;
  min-width: 0;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-body {
  flex: 1;
  min-width: 0;
}

.service-spotlight-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 65px rgba(15, 23, 42, 0.12);
}

.service-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.service-card-icon svg {
  width: 28px;
  height: 28px;
  max-width: 100%;
  max-height: 100%;
}

.service-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #475569;
  margin-bottom: 0.75rem;
}

.service-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.service-card-subtitle {
  color: #64748b;
  line-height: 1.6;
  font-size: 0.98rem;
  margin-bottom: 1rem;
  overflow-wrap: break-word;
  word-break: normal;
}

.service-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-points li {
  position: relative;
  padding-left: 1.5rem;
  color: #1e293b;
  font-weight: 600;
  font-size: 0.95rem;
}

.service-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f172a, #2563eb);
}

.service-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0f172a;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.service-card-link i {
  transition: transform 0.3s ease;
}

.service-card-link:hover {
  color: #2563eb;
  transform: translateX(4px);
}

.service-card-link:hover i {
  transform: translateX(6px);
}

.service-card-icon.bg-blue {
  background: rgba(59, 130, 246, 0.15);
}

.service-card-icon.bg-purple {
  background: rgba(167, 139, 250, 0.18);
}

.service-card-icon.bg-orange {
  background: rgba(251, 146, 60, 0.18);
}

.service-visual-token-wrapper {
  position: relative;
  flex-shrink: 0;
  width: 62px;
  height: 62px;
}

.service-visual-token {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0f172a;
  background: #e2e8f0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 35px -22px rgba(15, 23, 42, 0.65);
  isolation: isolate;
}

.visual-token-letter {
  font-size: 1.2rem;
  z-index: 1;
}

.service-visual-token::before {
  content: "";
  position: absolute;
  width: 160%;
  height: 160%;
  background: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.65), transparent 58%);
  animation: serviceTokenSheen 6s ease-in-out infinite;
  mix-blend-mode: screen;
}

.service-visual-token::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  opacity: 0.9;
  z-index: 1;
}

.service-visual-orbit {
  position: absolute;
  inset: -6px;
  border-radius: 22px;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  animation: serviceOrbitPulse 10s linear infinite;
  pointer-events: none;
}

@keyframes serviceTokenSheen {
  0% {
    transform: translate(-20%, -20%);
    opacity: 0.2;
  }
  40% {
    opacity: 0.8;
  }
  100% {
    transform: translate(20%, 20%);
    opacity: 0.2;
  }
}

@keyframes serviceOrbitPulse {
  0% {
    opacity: 0.45;
    transform: scale(0.98) rotate(0deg);
  }
  50% {
    opacity: 0.8;
  }
  100% {
    opacity: 0.45;
    transform: scale(1.05) rotate(360deg);
  }
}

.service-visual-token.bg-blue {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #e0f2fe;
}

.service-visual-token.bg-purple {
  background: linear-gradient(135deg, #7c3aed, #c084fc);
  color: #f5f3ff;
}

.service-visual-token.bg-orange {
  background: linear-gradient(135deg, #f97316, #facc15);
  color: #fff7ed;
}

.service-visual-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.meta-chip.subtle {
  background: rgba(59, 130, 246, 0.08);
  color: #1d4ed8;
  border-color: rgba(59, 130, 246, 0.25);
}

.meta-chip.outline {
  background: transparent;
  border-style: dashed;
  color: #0f172a;
}

@media (max-width: 576px) {
  .service-visual-token-wrapper {
    width: 54px;
    height: 54px;
  }

  .service-visual-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 576px) {
  .service-spotlight-card {
    padding: 2rem 1.6rem;
  }
}

.feature-item:hover .feature-check {
  color: #1d4ed8;
  filter: drop-shadow(0 0 8px rgba(37, 99, 235, 0.4));
}

.feature-item span {
  transition: color 0.3s ease;
}

.feature-item:hover span {
  color: var(--text-dark);
}

.flagship-badge {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.625rem 1.25rem;
  border: 1px solid #cbd5e1;
  border-radius: 24px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dark);
  background: #e2e8f0;
  transition: all 0.3s ease;
}

.flagship-badge:hover {
  background: var(--text-dark);
  color: var(--card-light);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
  transform: translateY(-2px);
}

.feature-card.secondary {
  display: flex;
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 40px -15px rgba(30, 58, 138, 0.12);
  background: none;
}

.feature-card.secondary::before {
  display: none;
}

.feature-card-sidebar {
  width: 110px;
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card-icon {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.4s ease;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.feature-card-icon svg {
  color: var(--accent-blue);
  filter: drop-shadow(0 0 8px rgba(37, 99, 235, 0.2));
  transition: all 0.4s ease;
}

.feature-card.secondary:hover .feature-card-icon {
  background: #dbeafe;
  border-color: #bfdbfe;
  transform: scale(1.08);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.35);
}

.feature-card.secondary:hover .feature-card-icon svg {
  color: #1d4ed8;
  filter: drop-shadow(0 0 12px rgba(37, 99, 235, 0.3));
}


.project-dynamic-content {
  font-family: "Inter", "SF Pro Display", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.75;
  color: #334155;
}

.project-dynamic-content p {
  margin-bottom: 1.5rem;
}

.project-dynamic-content h2,
.project-dynamic-content h3,
.project-dynamic-content h4 {
  color: #0f172a;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
}

.project-dynamic-content h2 {
  font-size: 2rem;
  margin-top: 2.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}

.project-dynamic-content h3 {
  font-size: 1.5rem;
  margin-top: 1.875rem;
}

.project-dynamic-content img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 2.5rem 0;
  display: block;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.project-dynamic-content ul,
.project-dynamic-content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

/* Footer Container */
.footer-section {
    background-color: #020617; /* Dark Navy */
    color: #94a3b8; /* Slate Text */
    padding: 60px 0 40px;
    border-top: 1px solid #1e293b;
    margin-top: auto; /* Pushes footer to bottom */
}

/* Flexbox Layout */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

/* Columns */
.footer-col {
    flex: 1;
    min-width: 200px;
}

.brand-col {
    flex: 2; /* Brand column takes more space */
}

/* Typography */
.footer-logo {
    color: #fff;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    max-width: 300px;
}

.links-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
}

.links-col nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.links-col a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.links-col a:hover {
    color: #3b82f6; /* Brand Blue */
    padding-left: 5px; /* Slight movement effect */
}

.legal-col {
    text-align: right;
}

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

    .footer-col {
        min-width: unset;
        width: 100%;
        text-align: center;
    }

    .footer-desc {
        margin: 0 auto; /* Center text */
    }

    .links-col nav {
        align-items: center;
    }

    .legal-col {
        text-align: center;
        margin-top: 20px;
        border-top: 1px solid #1e293b;
        padding-top: 20px;
        width: 100%;
    }
}

.scroll-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.95);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.24);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 9999;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: #2563eb;
}

@media (max-width: 768px) {
    .scroll-to-top {
        right: 16px;
        bottom: 16px;
    }
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: opacity 0.3s ease;
}

.mobile-nav-toggle:hover {
  opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .feature-card.flagship {
    flex-direction: column;
    padding: 0;
  }
  
  .feature-card-panel {
    flex-basis: 100%;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  
  .ironsoft-header .container {
    padding: 1rem;
  }
  
  .feature-list {
    grid-template-columns: 1fr;
    gap: 0.625rem;
    margin: var(--spacing-md) 0;
  }
  
  .feature-item {
    font-size: 0.875rem;
  }

  .feature-card.secondary {
    flex-direction: column;
  }
  
  .feature-card-sidebar {
    width: 100%;
    padding: 1.5rem 0;
  }
  
  .feature-card-icon {
    width: 72px;
    height: 72px;
  }
  
  .tech-marquee {
    padding: 1.5rem 0;
  }
  
  .marquee-content {
    gap: 2rem;
  }
  
  .marquee-item {
    font-size: 0.875rem;
  }
  
  .ironsoft-nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background: var(--bg-secondary);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    transition: left 0.3s ease;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }
  
  .ironsoft-nav.active {
    left: 0;
  }
  
  .ironsoft-nav a {
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .hero-headline {
    font-size: 2.5rem;
  }
  
  .hero-subheadline {
    font-size: 1.125rem;
  }
  
  .hero-cta {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
  
  .services-stack {
    gap: 1.5rem;
  }
  
  .feature-card {
    padding: 2rem;
  }
  
  .feature-card.flagship {
    padding: 2rem;
  }
  
  .feature-card.secondary {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  
  .feature-card-icon {
    width: 72px;
    height: 72px;
  }
  
  .feature-card-title {
    font-size: 1.5rem;
  }
  
  .feature-card-description {
    font-size: 1rem;
  }
  
  .services-title {
    font-size: 2rem;
  }
  
  .ironsoft-services {
    padding: var(--spacing-2xl) 0;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .ironsoft-logo {
    font-size: 1.25rem;
  }
  
  .hero-headline {
    font-size: 2rem;
  }
  
  .hero-subheadline {
    font-size: 1rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .feature-card-icon {
    width: 64px;
    height: 64px;
  }
  
  .feature-card-title {
    font-size: 1.35rem;
  }
  
  .feature-card-description {
    font-size: 0.95rem;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Utility Classes */
.container-custom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================
   PROJECTS / PORTFOLIO SECTION - Zig-Zag Showcase
   ============================================ */

.ironsoft-projects {
  padding: var(--spacing-3xl) 0;
  background: var(--light-bg);
  position: relative;
}

.ironsoft-projects .section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: var(--spacing-sm);
  background: linear-gradient(to right, #0f172a, #1e3a8a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ironsoft-projects .section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: var(--spacing-3xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Project Showcase Row - Zig-Zag Layout */
.project-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, var(--spacing-xl));
  align-items: center;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto var(--spacing-3xl);
  padding: clamp(1.5rem, 3vw, var(--spacing-xl));
  background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 100%);
  border: 1px solid #e2e8f0;
  border-left: 8px solid #1e3a8a;
  border-radius: 20px;
  box-shadow: 0 20px 40px -15px rgba(30, 58, 138, 0.12);
  transition: all 0.35s ease;
  overflow: hidden;
}

.project-showcase:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px -20px rgba(30, 58, 138, 0.18);
  border-color: #cbd5e1;
}

/* Reverse layout for alternating rows */
.project-showcase.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.project-showcase.reverse .project-visual {
  order: 2;
}

.project-showcase.reverse .project-content {
  order: 1;
}

/* Project Visual - Mockup Display */
.project-visual {
  position: relative;
  min-width: 0;
}

.project-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}


.project-mockup {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: var(--spacing-xl);
  box-shadow: 0 15px 35px -20px rgba(15, 23, 42, 0.35);
  transform: perspective(1000px) rotateY(-5deg);
  transition: all 0.4s ease;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-showcase:hover .project-mockup {
  transform: perspective(1000px) rotateY(0deg);
  box-shadow: 0 18px 45px -18px rgba(15, 23, 42, 0.4);
}


.project-mockup.mobile {
  max-width: 280px;
  min-height: 450px;
  transform: perspective(1000px) rotateY(5deg);
}

.project-showcase.reverse:hover .project-mockup.mobile {
  transform: perspective(1000px) rotateY(0deg);
}

.mockup-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  color: var(--text-muted);
  text-align: center;
}

.mockup-placeholder i {
  font-size: 4rem;
  opacity: 0.3;
}

.mockup-placeholder span {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
}


/* Project Content */
.project-content {
  padding: 0;
  min-width: 0;
}

.project-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 40px -15px rgba(30, 58, 138, 0.12);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card-header {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  padding: var(--spacing-md) var(--spacing-lg);
  color: var(--text-primary);
}

.project-card-body {
  background: #ffffff;
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  flex: 1;
}

.project-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1e3a8a;
  background: rgba(37, 99, 235, 0.12);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-md);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.project-card-header .project-tag {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.15);
  border-color: transparent;
  margin-bottom: 0.75rem;
}

.project-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--text-dark);
  margin-bottom: var(--spacing-md);
  font-weight: 700;
}

.project-card-header .project-title {
  color: var(--text-primary);
  margin-bottom: 0;
}

.project-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-card-body .project-description,
.project-card-body .project-tech,
.project-card-body .project-stat {
  margin-bottom: 0;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-lg);
}

.tech-pill {
  display: inline-block;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.tech-pill:hover {
  border-color: #cbd5f5;
  color: #0f172a;
  background: #e2e8f0;
}


/* Project Stats */
.project-stat {
  display: flex;
  align-items: baseline;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-md);
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-left-width: 8px;
  border-left-color: var(--accent-blue);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.15);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


/* Project Link */
.project-link {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 0.75rem 1.5rem;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-sm);
  background: #eff6ff;
}

.project-link:hover {
  background: #2563eb;
  color: var(--text-primary);
  border-color: #1d4ed8;
  transform: translateX(5px);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.35);
}

.project-card-body .project-link {
  margin-top: auto;
}


.project-link i {
  transition: transform 0.3s ease;
}

.project-link:hover i {
  transform: translateX(5px);
}

/* Responsive - Projects Section */
@media (max-width: 968px) {
  .project-showcase,
  .project-showcase.reverse {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .project-showcase.reverse .project-visual,
  .project-showcase.reverse .project-content {
    order: initial;
  }
  
  .project-mockup {
    transform: perspective(1000px) rotateY(0deg);
    min-height: 280px;
  }
  
  .project-mockup.mobile {
    max-width: 100%;
    min-height: 320px;
  }
  
  .project-title {
    font-size: 1.75rem;
  }
  
  .stat-value {
    font-size: 2rem;
  }
}

/* ============================================
   TECHNICAL PILLARS - Core Standards & Technology
   ============================================ */

.technical-pillars {
  padding: var(--spacing-3xl) 0;
  background: linear-gradient(180deg, rgba(var(--navy-glow), 0.03) 0%, transparent 50%, rgba(var(--navy-glow), 0.03) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-xl);
  position: relative;
  z-index: 1;
}

.pillar-item {
  text-align: center;
  padding: var(--spacing-xl);
  background: var(--surface);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.pillar-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(var(--silver-glow), 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pillar-item:hover {
  border-color: var(--silver-light);
  box-shadow: 0 0 30px rgba(var(--silver-glow), 0.2), 0 8px 32px rgba(0, 0, 0, 0.4);
  transform: translateY(-8px);
}

.pillar-item:hover::before {
  opacity: 1;
}

.pillar-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--navy-glow), 0.1);
  border-radius: 50%;
  border: 2px solid var(--border);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.pillar-icon svg {
  color: var(--silver-light);
  transition: all 0.4s ease;
  filter: drop-shadow(0 0 8px rgba(var(--silver-glow), 0.3));
}

.pillar-item:hover .pillar-icon {
  background: rgba(var(--navy-glow), 0.2);
  border-color: var(--silver-light);
  box-shadow: 0 0 20px rgba(var(--silver-glow), 0.3);
  transform: scale(1.1);
}

.pillar-item:hover .pillar-icon svg {
  color: var(--silver-bright);
  filter: drop-shadow(0 0 15px rgba(var(--silver-glow), 0.6));
}

.pillar-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.pillar-subtitle {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

@media (max-width: 968px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }
}

@media (max-width: 576px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .pillar-item {
    padding: var(--spacing-lg);
  }
  
  .pillar-icon {
    width: 60px;
    height: 60px;
  }
  
  .pillar-icon svg {
    width: 36px;
    height: 36px;
  }
}

/* ============================================
   CONTACT SECTION - Premium Minimal Design
   ============================================ */

.ironsoft-contact {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Contact Info - Left Column */
.contact-info {
  padding-top: 2rem;
}

.section-title {
  font-size: 3rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, var(--silver), var(--text-primary), var(--silver));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  font-size: 1.5rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-secondary);
}

.contact-details h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-tertiary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-details p,
.contact-details a {
  font-size: 1.125rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--text-secondary);
}

/* Contact Form - Right Column */
.contact-form-wrapper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-group {
  position: relative;
}

.form-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  font-size: 1rem;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  outline: none;
}

.form-input::placeholder {
  color: var(--text-tertiary);
  opacity: 0.6;
}

.form-input:focus {
  border-bottom-color: var(--silver-light);
  background: rgba(var(--navy-glow), 0.05);
  box-shadow: 0 1px 0 0 var(--silver-light), 0 4px 20px rgba(var(--silver-glow), 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  padding-top: 1rem;
}

.contact-form .hero-cta {
  width: 100%;
  text-align: center;
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
}

.contact-alert {
  margin-bottom: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hp-field {
  position: absolute;
  left: -5000px;
  opacity: 0;
  pointer-events: none;
}

/* Responsive Design for Contact */
@media (max-width: 968px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-form-wrapper {
    padding: 2rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
}

/* ============================================
   SCROLL ANIMATIONS - Fade In Up
   ============================================ */

/* Fade In Up Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

/* Stagger animation delays for multiple elements */
.fade-in-up:nth-child(1) {
  animation-delay: 0.1s;
}

.fade-in-up:nth-child(2) {
  animation-delay: 0.2s;
}

.fade-in-up:nth-child(3) {
  animation-delay: 0.3s;
}

.fade-in-up:nth-child(4) {
  animation-delay: 0.4s;
}

/* Apply to sections */
.ironsoft-services,
.ironsoft-projects,
.ironsoft-contact {
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
  animation-delay: 0.2s;
}

/* Smooth scroll behavior */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Projects listing page */
.projects-hero {
  position: relative;
  background: #0B1120;
  padding: 6rem 0 5rem;
  overflow: hidden;
}

.projects-hero__spotlight {
  position: absolute;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.45), rgba(15, 23, 42, 0));
  top: -120px;
  right: -80px;
  filter: blur(20px);
  pointer-events: none;
}

.projects-hero__content {
  position: relative;
  max-width: 720px;
}

.projects-hero__eyebrow {
  letter-spacing: 0.3rem;
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.8);
  margin-bottom: 1rem;
}

.projects-hero__title {
  font-size: clamp(2.8rem, 4vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #E2E8F0;
}

.projects-hero__subtitle {
  font-size: 1.25rem;
  color: rgba(226, 232, 240, 0.8);
}

.projects-filter {
  background: linear-gradient(180deg, #0B1120 0%, #0F172A 50%, #F8FAFC 100%);
  padding-bottom: 4rem;
}

.filter-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  background: #fff;
  padding: 1.25rem;
  border-radius: 999px;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.12);
  transform: translateY(50%);
}

.filter-pill {
  border: none;
  background: transparent;
  color: #475569;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.filter-pill.active,
.filter-pill:hover {
  background: #1D4ED8;
  color: #fff;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.3);
}

.projects-listing {
  background: #F8FAFC;
  padding: 6rem 0;
}

.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.project-card-listing {
  border-radius: 28px;
  background: #0F172A;
  box-shadow: 0 25px 80px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(148, 163, 184, 0.15);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card-listing:hover {
  transform: translateY(-10px);
  border-color: #3B82F6;
  box-shadow: 0 30px 90px rgba(59, 130, 246, 0.25);
}

.project-card-listing__image {
  position: relative;
  padding-bottom: 56.25%;
  background: #020617;
}

.project-card-listing__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card-listing__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: rgba(226, 232, 240, 0.6);
  background: linear-gradient(135deg, #1E3A8A, #3B82F6);
}

.project-card-listing__body {
  background: #fff;
  padding: 2rem;
  flex: 1;
}

.project-card-listing__tag {
  display: inline-flex;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.15);
  color: #1D4ED8;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.project-card-listing__title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: #0F172A;
}

.project-card-listing__excerpt {
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.project-card-listing__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.stack-pill {
  font-size: 0.7rem;
  text-transform: none;
  letter-spacing: 0.02em;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #e2e8f0;
}

.project-card-listing__footer {
  border-top: 1px solid #e2e8f0;
  padding: 1.2rem 1.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.project-card-listing__status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: #0f172a;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.project-card-listing__cta {
  padding: 0.45rem 1.35rem;
  border-radius: 999px;
  border: 1px solid #cbd5f5;
  color: #1d4ed8;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.project-card-listing__cta:hover {
  background: #1d4ed8;
  color: #fff;
  border-color: #1d4ed8;
}

.project-card-listing__link {
  font-weight: 600;
  color: #1D4ED8;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.project-card-listing__link i {
  transition: transform 0.2s ease;
}

.project-card-listing__link:hover i {
  transform: translateX(4px);
}

/* --- ADMIN LAYOUT STYLES (Top Bar) --- */
.admin-body {
  background-color: #f3f4f6;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Top Bar */
.admin-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  height: 60px;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.admin-topbar__left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-topbar__logo {
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  letter-spacing: 0.5px;
}
.admin-topbar__logo:hover { color: #93c5fd; }

.admin-topbar__badge {
  background: #3b82f6;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.admin-topbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-topbar__user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-topbar__name {
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 600;
}

.admin-menu-toggle {
  display: inline-block;
  background: none;
  border: none;
  color: #ffffff !important;
  font-size: 1.6rem !important;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.2s;
  line-height: 1;
}

.admin-menu-toggle i {
  color: #ffffff !important;
  font-size: 1.6rem !important;
}
.admin-menu-toggle:hover {
  background: rgba(255,255,255,0.1);
}

/* Dropdown Navigation */
.admin-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1150;
}
.admin-nav-overlay.show { display: block; }

.admin-dropdown-nav {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: #0f172a;
  z-index: 1200;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 20px rgba(0,0,0,0.3);
}
.admin-dropdown-nav.open {
  right: 0;
}

.admin-dropdown-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #1e293b;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.admin-nav-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s;
}
.admin-nav-close:hover { color: #fff; }

.admin-dropdown-nav__body {
  padding: 12px 16px;
  overflow-y: auto;
  flex: 1;
}

.admin-nav-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: #475569;
  margin: 16px 0 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  color: #cbd5e1;
  text-decoration: none;
  border-radius: 8px;
  margin-bottom: 3px;
  transition: all 0.2s;
  font-size: 0.88rem;
  border: none;
  background: none;
  width: 100%;
  cursor: pointer;
  text-align: left;
}
.admin-nav-item:hover,
.admin-nav-item.active {
  background: #3b82f6;
  color: #fff;
}
.admin-nav-item i {
  width: 20px;
  text-align: center;
  margin-right: 10px;
  font-size: 0.9rem;
}

.admin-nav-divider {
  border-top: 1px solid #1e293b;
  margin: 12px 0;
}

.admin-nav-logout {
  color: #ef4444 !important;
}
.admin-nav-logout:hover {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #f87171 !important;
}

/* Main Content */
.admin-content {
  margin-top: 60px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.admin-page-header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 16px 24px;
}

.admin-page-title {
  margin: 0;
  font-weight: 700;
  color: #1e293b;
  font-size: 1.15rem;
}

.admin-content-body {
  padding: 24px;
  flex: 1;
}

/* Avatar */
.avatar-circle {
  width: 34px;
  height: 34px;
  background: #334155;
  color: #94a3b8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Dashboard Cards (For Index) */
.stat-card {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 24px 28px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 25px 45px -30px rgba(15, 23, 42, 0.75);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card::after {
  content: "";
  position: absolute;
  inset: auto -30px -60px auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18), transparent 65%);
  filter: blur(12px);
  opacity: 0.7;
  pointer-events: none;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 50px -25px rgba(15, 23, 42, 0.35);
}

.stat-card__info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-card__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  font-weight: 700;
}

.stat-card__info h3 {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a;
}

.stat-card__info p {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
}

.stat-card__icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
}

.stat-card__icon i {
  display: inline-block;
  line-height: 1;
}

.stat-card--projects .stat-card__icon,
.stat-card--members .stat-card__icon,
.stat-card--support .stat-card__icon,
.stat-card--contact .stat-card__icon {
  background: none;
  box-shadow: none;
}

.stat-card--projects::after {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25), transparent 70%);
}

.stat-card--members::after {
  background: radial-gradient(circle, rgba(20, 184, 166, 0.25), transparent 70%);
}

.stat-card--support::after {
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25), transparent 70%);
}

.stat-card--contact::after {
  background: radial-gradient(circle, rgba(249, 115, 22, 0.25), transparent 70%);
}

/* Dashboard stat rows — equal box sizes */
.dashboard-stats-row > [class*="col-"] {
  display: flex;
}

.dashboard-stats-row .stat-card {
  width: 100%;
  flex: 1 1 auto;
  height: 100%;
  min-height: 7.5rem;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}

.dashboard-stats-row .stat-card__icon {
  display: none !important;
}

.dashboard-stats-row .stat-card__info {
  flex: 1;
  width: 100%;
  min-width: 0;
  text-align: center;
  align-items: center;
}

.dashboard-stats-row .stat-card__label,
.dashboard-stats-row .stat-card__info > span,
.dashboard-stats-row .stat-card__info h3,
.dashboard-stats-row .stat-card__info p {
  width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Contact Messages Panel */
.contact-messages-panel {
  background: #fff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
  padding: 2.5rem;
  width: 100%;
  overflow: hidden;
}

.contact-messages-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-messages-header .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #94a3b8;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}

.contact-messages-header h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: #0f172a;
}

.contact-messages-header p {
  margin: 0.5rem 0 0;
  color: #475569;
  max-width: 460px;
}

.contact-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.contact-stat {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1rem 1.25rem;
  background: #f8fafc;
}

.contact-stat span {
  display: block;
  font-size: 0.85rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
}

.contact-stat.pending strong { color: #f97316; }
.contact-stat.processed strong { color: #10b981; }
.contact-stat.spam strong { color: #ef4444; }

.contact-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-filter {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  color: #475569;
  background: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.filter-chip.active,
.filter-chip:hover {
  border-color: #2563eb;
  color: #2563eb;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.18);
}

.contact-toolbar__hint {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
}

.contact-table thead {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.sender-bio {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sender-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #475569;
}

.contact-link {
  color: #2563eb;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

.subject-preview p {
  margin: 0.35rem 0 0;
  color: #94a3b8;
  font-size: 0.9rem;
  word-break: break-word;
}

.subject-preview strong {
  display: block;
  word-break: break-word;
}

.contact-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.contact-status--pending {
  background: rgba(249, 115, 22, 0.12);
  color: #c2410c;
}

.contact-status--processed {
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
}

.contact-status--spam {
  background: rgba(239, 68, 68, 0.15);
  color: #b91c1c;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}

.contact-actions form {
  margin: 0;
}

.chip-btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.35rem 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.chip-btn--secondary {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #0f172a;
}

.chip-btn--success {
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
}

.chip-btn--warning {
  background: rgba(234, 179, 8, 0.16);
  color: #92400e;
}

.chip-btn--danger {
  background: rgba(239, 68, 68, 0.15);
  color: #b91c1c;
}

.chip-btn--neutral {
  background: #f1f5f9;
  color: #475569;
  border-color: #e2e8f0;
}

.empty-contact-state {
  padding: 4rem 2rem;
  border: 1px dashed #cbd5e1;
  border-radius: 20px;
}

.empty-contact-state i {
  font-size: 3rem;
  color: #cbd5e1;
  margin-bottom: 1rem;
}

@media (max-width: 992px) {
  .contact-messages-panel {
    padding: 1.75rem;
  }

  .contact-messages-header {
    flex-direction: column;
  }

  .contact-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-toolbar__hint {
    width: 100%;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 576px) {
  .contact-filter {
    grid-template-columns: repeat(2, 1fr);
  }

  .filter-chip span {
    font-size: 0.62rem;
  }
}

/* Admin Table Styles */
.admin-card {
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.avatar-circle-sm {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.bg-success-subtle { background-color: #dcfce7 !important; }
.text-success { color: #0f5132 !important; }

.bg-warning-subtle { background-color: #fff8e1 !important; }
.text-warning-emphasis { color: #a16207 !important; }

.bg-primary-subtle { background-color: #e0f2fe !important; }

.table th {
  font-weight: 600;
  letter-spacing: 0.5px;
  border-bottom-width: 1px;
}

.btn-light:hover {
  background-color: #e2e6ea;
  color: #0b5ed7 !important;
}

/* Ticket Dashboard Styles */
.chat-bubble {
  border-radius: 14px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.chat-bubble.user-bubble {
  background: #fff;
}

.chat-bubble.admin-bubble {
  background: #e9f7ef;
  border-color: #c9ebd7;
}

.ticket-stat-card {
  transition: transform 0.2s ease;
}

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

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ticket-row {
  transition: all 0.2s ease-in-out;
}

.ticket-row:hover {
  transform: translateX(5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08) !important;
}

.fw-mono {
  font-family: 'Consolas', 'SFMono-Regular', Menlo, Monaco, monospace;
}

.ticket-list .avatar-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.projects-empty {
  background: #fff;
  border-radius: 32px;
  padding: 4rem 2rem;
  text-align: center;
  color: #475569;
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.1);
}

.projects-empty i {
  font-size: 3rem;
  color: #94A3B8;
  margin-bottom: 1rem;
}

/* Project card hybrid - three-pane layout with image */
.project-card-hybrid {
  width: 100%;
  display: flex;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 340px;
}

.project-card-hybrid:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.15);
}

/* LEFT PANE - Image (40%) */
.project-card-hybrid__image {
  flex: 0 0 40%;
  position: relative;
  background: #0f172a;
}

.project-card-hybrid__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-card-hybrid__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(135deg, #1e3a8a, #0f172a);
}

/* RIGHT PANE - Content Container (60%) */
.project-card-hybrid__content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Top Half - Navy Header */
.project-card-hybrid__header {
  background: #0f172a;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.project-card-hybrid__badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-card-hybrid__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.02em;
}

/* Bottom Half - White Body */
.project-card-hybrid__body {
  background: #fff;
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.project-card-hybrid__description {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.project-card-hybrid__tech-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.project-card-hybrid__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  margin: 0;
}

.project-card-hybrid__tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.project-card-hybrid__tech-pill {
  padding: 0.4rem 1rem;
  border-radius: 6px;
  background: #f1f5f9;
  color: #334155;
  font-size: 0.85rem;
  font-weight: 500;
}

.project-card-hybrid__action {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
}

.project-card-hybrid__button {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 2rem;
  border-radius: 8px;
  background: #0f172a;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.project-card-hybrid__button:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}

@media (max-width: 968px) {
  .project-card-hybrid {
    flex-direction: column;
  }

  .project-card-hybrid__image {
    flex: 0 0 auto;
    min-height: 240px;
  }

  .project-card-hybrid__header,
  .project-card-hybrid__body {
    padding: 24px;
  }

  .project-card-hybrid__title {
    font-size: 1.5rem;
  }

  .project-card-hybrid__action {
    justify-content: stretch;
  }

  .project-card-hybrid__button {
    width: 100%;
    justify-content: center;
  }
}

.project-card-hybrid {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card-hybrid:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15) !important;
}

@media (max-width: 768px) {
  .card-image-pane {
    height: 250px;
    flex: none !important;
  }
}

@media (max-width: 768px) {
  .projects-hero {
    padding: 4rem 0 3rem;
  }

  .filter-bar {
    border-radius: 20px;
    transform: translateY(35%);
  }

  .project-card-listing__body {
    padding: 1.75rem;
  }
}

@media (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* Blog page styles */
.blog-hero {
  position: relative;
  background: #0B1120;
  padding: 6rem 0 5rem;
  overflow: hidden;
}

.blog-hero__spotlight {
  position: absolute;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.45), rgba(15, 23, 42, 0));
  top: -120px;
  right: -80px;
  filter: blur(20px);
  pointer-events: none;
}

.blog-hero__content {
  position: relative;
  max-width: 720px;
}

.blog-hero__eyebrow {
  letter-spacing: 0.3rem;
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.8);
  margin-bottom: 1rem;
}

.blog-hero__title {
  font-size: clamp(2.8rem, 4vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #E2E8F0;
}

.blog-hero__subtitle {
  font-size: 1.25rem;
  color: rgba(226, 232, 240, 0.8);
}

.blog-filter {
  background: linear-gradient(180deg, #0B1120 0%, #0F172A 50%, #F8FAFC 100%);
  padding-bottom: 4rem;
}

.filter-bar-blog {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  background: #fff;
  padding: 1.25rem;
  border-radius: 999px;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.12);
  transform: translateY(50%);
}

.filter-pill-blog {
  border: none;
  background: transparent;
  color: #475569;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.filter-pill-blog.active,
.filter-pill-blog:hover {
  background: #1D4ED8;
  color: #fff;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.3);
}

.blog-content {
  background: #F8FAFC;
  padding: 6rem 0;
}

/* Featured Post - Horizontal Split */
.blog-featured {
  display: flex;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.1);
  margin-bottom: 4rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.15);
}

.blog-featured__image {
  flex: 0 0 50%;
  position: relative;
  background: #0f172a;
  overflow: hidden;
}

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

.blog-featured:hover .blog-featured__image img {
  transform: scale(1.05);
}

.blog-featured__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(226, 232, 240, 0.6);
  background: linear-gradient(135deg, #1e3a8a, #0f172a);
}

.blog-featured__content {
  flex: 1;
  padding: 3rem;
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.blog-featured__badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.blog-featured__title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.02em;
}

.blog-featured__excerpt {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.blog-featured__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.blog-featured__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #64748b;
  font-size: 0.9rem;
}

.blog-featured__author {
  font-weight: 600;
  color: #0f172a;
}

.blog-featured__divider {
  color: #cbd5e1;
}

.blog-featured__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.8rem;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.blog-featured__link:hover {
  background: #1e293b;
  transform: translateX(4px);
}

/* Blog Grid - Strict CSS Grid */
.blog-grid-container {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px;
  align-items: start;
}

.blog-card {
  width: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
  transition: all 0.3s ease;
  border-bottom: 4px solid transparent;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  border-bottom-color: #1e3a8a;
}

.blog-card__image {
  position: relative;
  width: 100%;
  height: 220px;
  background: #f1f5f9;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.blog-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef2ff;
  color: #94a3b8;
  font-size: 2.5rem;
}

.blog-card__category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.blog-card__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-card__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.blog-card__title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card__title a:hover {
  color: #2563eb;
}

.blog-card__excerpt {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #94a3b8;
  font-size: 0.9rem;
  margin-top: auto;
}

.blog-empty {
  background: #fff;
  border-radius: 32px;
  padding: 4rem 2rem;
  text-align: center;
  color: #475569;
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.1);
}

.blog-empty i {
  font-size: 3rem;
  color: #94A3B8;
  margin-bottom: 1rem;
}

/* Tech Magazine Blog Layout */
.tech-blog {
  padding: 5rem 0 6rem;
  background: linear-gradient(180deg, #020617 0%, #0b1222 100%);
}

.tech-blog .container {
  color: #e2e8f0;
}

.tech-blog__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2rem;
}

.tech-blog__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.tech-blog__title {
  font-size: 2.75rem;
  font-weight: 800;
  color: #1e40af;
  margin: 0;
}

.tech-blog__subtitle {
  max-width: 640px;
  font-size: 1.05rem;
  color: #94a3b8;
  margin-top: 1rem;
}

.tech-blog__filters {
  margin-bottom: 2.5rem;
}

.tech-filter-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.tech-filter-track::-webkit-scrollbar {
  display: none;
}

.tech-filter-pill {
  border: none;
  border-radius: 50px;
  padding: 0.625rem 1.5rem;
  background: #e2e8f0;
  color: #1f2937;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.tech-filter-pill:hover {
  background: #cbd5f5;
  color: #0f172a;
}

.tech-filter-pill.active,
.tech-filter-pill.active-filter {
  background: #1e40af;
  color: #fff;
  box-shadow: 0 10px 25px rgba(30, 64, 175, 0.35);
}

.tech-blog__grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.overlay-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 540px;
  background: #0f172a;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
}

.overlay-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0) 0%, rgba(2, 6, 23, 0.85) 100%);
  z-index: 1;
}

.overlay-card__media {
  position: absolute;
  inset: 0;
}

.overlay-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.overlay-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.5);
}

.overlay-card__content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem;
  color: #fff;
  z-index: 2;
}

.overlay-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.overlay-card__title {
  margin: 1rem 0 0.75rem;
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 700;
}

.overlay-card__excerpt {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.overlay-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.overlay-card__meta-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.overlay-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
}

.overlay-card__link:hover {
  background: rgba(255, 255, 255, 0.15);
}

.tech-blog__column {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.standard-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
}

.standard-card__media {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.standard-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.standard-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef2ff;
  color: #94a3b8;
  font-size: 2.5rem;
}

.standard-card__body {
  padding: 1.75rem;
}

.standard-card__category {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.standard-card__title {
  margin: 0 0 0.75rem;
  font-size: 1.3rem;
  color: #1e3a8a;
}

.standard-card__title a {
  color: inherit;
  text-decoration: none;
}

.standard-card__title a:hover {
  color: #2563eb;
}

.standard-card__excerpt {
  color: #475569;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.standard-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #94a3b8;
  font-size: 0.9rem;
}

.standard-card__meta i {
  color: #6366f1;
}

.standard-card--empty {
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(148, 163, 184, 0.4);
  color: #cbd5f5;
}

.tech-blog__empty {
  background: rgba(15, 23, 42, 0.35);
  border: 1px dashed rgba(148, 163, 184, 0.4);
  border-radius: 24px;
  padding: 4rem 2rem;
  text-align: center;
  color: #cbd5f5;
  margin-top: 3rem;
  backdrop-filter: blur(6px);
}

.tech-blog__empty i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #94a3b8;
}

/* Article Detail Experience */
.article-shell {
  background: linear-gradient(180deg, #010813 0%, #060c1b 100%);
  padding: 5rem 0 6rem;
}

.article-container {
  max-width: 1200px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 32px;
  padding: 4rem;
  box-shadow: 0 40px 80px rgba(15, 23, 42, 0.18);
}

.article-hero {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
}

.article-breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.article-breadcrumb a {
  color: #64748b;
  text-decoration: none;
}

.article-breadcrumb span {
  color: #cbd5f5;
  font-size: 0.8rem;
}

.article-category {
  display: inline-flex;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  background: #eef2ff;
  color: #1d4ed8;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.article-title {
  font-size: 3rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 1.5rem;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: #475569;
}

.article-meta__author {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.article-avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #1e3a8a;
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05em;
}

.article-avatar--lg {
  width: 64px;
  height: 64px;
  font-size: 1.25rem;
}

.article-author__name {
  font-weight: 700;
  margin: 0;
  color: #0f172a;
}

.article-author__role {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
}

.article-meta__info {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  color: #64748b;
  font-size: 0.95rem;
}

.article-cover {
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 3rem;
}

.article-cover img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  display: block;
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 780px) 1fr;
  gap: 3.75rem;
}

.article-body {
  font-family: "Inter", "SF Pro Display", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #334155;
}

#article-content,
.article-body {
  width: 100%;
  max-width: 100%;
}

#article-content {
  overflow-wrap: anywhere;
  word-break: break-word;
}

#article-content * {
  max-width: 100%;
}

#article-content img,
#article-content video,
#article-content iframe {
  display: block;
  max-width: 100%;
  height: auto;
}

.article-body p {
  margin-bottom: 1.75rem;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  color: #0f172a;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
}

.article-body h2 {
  font-size: 2rem;
}

.article-body h3 {
  font-size: 1.5rem;
}

.article-body blockquote {
  border-left: 4px solid #2563eb;
  background: #f1f5f9;
  padding: 1.5rem 2rem;
  border-radius: 18px;
  font-style: italic;
  color: #1e293b;
  margin: 2rem 0;
}

.article-body code {
  background: #0f172a;
  color: #f8fafc;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  font-size: 0.95rem;
}

.article-body pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 1.5rem;
  border-radius: 18px;
  overflow-x: auto;
  font-size: 0.95rem;
  margin: 2rem 0;
}

.article-body ul,
.article-body ol {
  margin: 1.5rem 0;
  padding-left: 1.25rem;
}

.article-body ul li {
  list-style: none;
  position: relative;
  margin-left: 1rem;
  padding-left: 0.75rem;
  margin-bottom: 0.8rem;
}

.article-body ul li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2563eb;
  position: absolute;
  left: -0.75rem;
  top: 0.65rem;
}

.article-sidebar {
  position: sticky;
  top: 110px;
  height: fit-content;
  display: block;
}

.toc-card {
  background: #f8fafc;
  border-radius: 24px;
  padding: 1.75rem;
  border: 1px solid #e2e8f0;
  position: relative;
}

.toc-title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.toc-guide {
  position: absolute;
  left: 1.25rem;
  top: 3.5rem;
  bottom: 1.5rem;
  width: 2px;
  background: linear-gradient(180deg, #93c5fd, #1d4ed8);
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toc-item {
  font-size: 0.95rem;
}

.toc-item--nested {
  padding-left: 0.75rem;
  font-size: 0.9rem;
}

.toc-link {
  color: #475569;
  text-decoration: none;
  transition: color 0.2s ease;
}

.toc-link:hover {
  color: #1e40af;
}

.toc-placeholder {
  color: #94a3b8;
  font-size: 0.9rem;
}

.tag-card {
  margin-top: 1.5rem;
  padding: 1.75rem;
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: linear-gradient(180deg, rgba(191, 219, 254, 0.45) 0%, #fff 65%);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
}

.tag-card__header {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.tag-card__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  font-weight: 600;
  color: #475569;
  margin: 0;
}

.tag-card__header h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #0f172a;
}

.tag-card__description {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
}

.tag-card__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.tag-chip {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.45rem 1.25rem;
  background: rgba(37, 99, 235, 0.08);
  color: #1e40af;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(37, 99, 235, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tag-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.15);
}

.tag-card__empty {
  margin: 1.25rem 0 0;
  color: #94a3b8;
  font-size: 0.9rem;
}

.article-footer {
  border-top: 1px solid #e2e8f0;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.article-tag {
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #1e40af;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(148, 163, 184, 0.4);
  transition: background 0.2s ease, transform 0.2s ease;
}

.article-tag:hover {
  background: #dbeafe;
  transform: translateY(-1px);
}

.article-tags--empty {
  color: #94a3b8;
  font-style: italic;
}

.article-author-card {
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 1.75rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.article-author-card__info {
  display: flex;
  gap: 1rem;
  align-items: center;
  max-width: 650px;
}

.article-author-card__info h3 {
  margin: 0 0 0.5rem;
}

.article-author-card__info p {
  margin: 0;
  color: #475569;
}

.article-author-card__socials {
  display: inline-flex;
  gap: 0.75rem;
}

.article-author-card__socials a {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1d4ed8;
  text-decoration: none;
}

.article-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.article-share__actions {
  display: inline-flex;
  gap: 0.75rem;
}

.article-share__actions a {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #0f172a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* ============================================
   PROJECT DETAIL - Split Hero & Case Study Layout
   ============================================ */

/* 1. Split Hero Section */
.split-hero-container {
    display: flex;
    flex-wrap: wrap;
    min-height: 600px;
    width: 100%;
    background: #0f172a;
    position: relative;
    overflow: hidden;
}

.split-hero-left {
    flex: 0 0 40%;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    position: relative;
    z-index: 2;
}

.split-hero-right {
    flex: 0 0 60%;
    position: relative;
    background: #fff;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.5) 0%, transparent 100%);
    pointer-events: none;
}

/* Hero Content Styling */
.hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-breadcrumb a {
    color: #cbd5e1;
    text-decoration: none;
}

.hero-breadcrumb span {
    color: #475569;
}

.hero-breadcrumb .current {
    color: #fff;
    font-weight: 600;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto;
}

/* Overlapping Stats Bar */
.pd-stats-bar {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    padding: 30px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: -70px; /* Negative margin for overlap */
    position: relative;
    z-index: 10;
    border: 1px solid #e2e8f0;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: #e2e8f0;
}

.pd-cover {
    display: none;
}

.pd-inline-image {
    margin: 1.5rem 0 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.pd-inline-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
}

/* Main Content Area */
.pd-main-container {
    padding-top: 60px;
    padding-bottom: 100px;
}

.pd-content-wrapper {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
}

.pd-content-wrapper h2 {
    font-size: 2rem;
    color: #0f172a;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.pd-content-wrapper p {
    margin-bottom: 20px;
}

/* Sidebar */
.pd-sidebar {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    position: sticky;
    top: 100px;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: #1e3a8a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.sidebar-section {
    margin-bottom: 25px;
}

.sidebar-section h6 {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
    font-weight: 500;
}

.service-list li:last-child {
    border-bottom: none;
}

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

.tech-tags span {
    background: #fff;
    border: 1px solid #cbd5e1;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #475569;
    font-weight: 600;
}

/* ============================================
   PROJECT DETAIL - Case Study Layout
   ============================================ */

.pd-hero {
    background: linear-gradient(135deg, #020617 0%, #1e3a8a 100%);
    padding: 120px 0 160px; /* Extra padding bottom for overlap */
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pd-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
}

.pd-badges {
    margin-bottom: 20px;
}

.pd-badges .badge-pill {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: #cbd5e1;
    margin: 0 5px;
}

.pd-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.pd-subtitle {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto;
}

/* Overlapping Stats Bar */
.pd-stats-bar {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    padding: 30px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: -70px; /* Negative margin for overlap */
    position: relative;
    z-index: 10;
    border: 1px solid #e2e8f0;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: #e2e8f0;
}

.pd-cover {
    display: none;
}

.pd-inline-image {
    margin: 1.5rem 0 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.pd-inline-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
}

/* Main Content Area */
.pd-main-container {
    padding-top: 60px;
    padding-bottom: 100px;
}

.pd-content-wrapper {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
}

.pd-content-wrapper h2 {
    font-size: 2rem;
    color: #0f172a;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.pd-content-wrapper p {
    margin-bottom: 20px;
}

/* Sidebar */
.pd-sidebar {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    position: sticky;
    top: 100px;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: #1e3a8a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.sidebar-section {
    margin-bottom: 25px;
}

.sidebar-section h6 {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
    font-weight: 500;
}

.service-list li:last-child {
    border-bottom: none;
}

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

.tech-tags span {
    background: #fff;
    border: 1px solid #cbd5e1;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #475569;
    font-weight: 600;
}

/* Project Detail Content Card */
.pd-content-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 40px; /* Generous internal spacing */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Soft shadow to lift it up */
    border: 1px solid #f1f5f9; /* Subtle border definition */
    margin-bottom: 40px;
}

/* ============================================
   PROJECTS PAGE - Hybrid Split-Card Design
   ============================================ */

/* Projects Page Specifics */
.projects-hero {
    background: linear-gradient(135deg, #020617 0%, #1e3a8a 100%);
    padding: 80px 0 60px;
    margin-bottom: 60px;
}

/* Filter Buttons */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.filter-btn {
    background: rgba(255,255,255,0.1);
    color: #cbd5e1;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.filter-btn:hover, .filter-btn.active {
    background: #3b82f6; /* Brand Blue */
    color: #fff;
    border-color: #3b82f6;
    transform: translateY(-2px);
}

/* Projects Stack Container */
.projects-stack {
    display: flex;
    flex-direction: column;
    gap: 50px; /* Space between cards */
    max-width: 1100px;
    margin: 0 auto;
}

/* Project Detail Rich Text Guardrails */
.project-detail-page {
  position: relative;
  overflow: hidden;
}

.project-detail-page .pd-content-card,
.project-detail-page .pd-content-wrapper {
  width: 100%;
  max-width: 100%;
}

#force-styled-content {
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

#force-styled-content * {
  max-width: 100%;
}

#force-styled-content img,
#force-styled-content video,
#force-styled-content iframe {
  display: block;
  max-width: 100%;
  height: auto;
}

.message-body {
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: pre-wrap;
}

.message-body * {
  max-width: 100%;
}

/* The Hybrid Card */
.project-card-hybrid {
    display: flex;
    flex-direction: row;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    min-height: 340px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card-hybrid:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

/* Left Image Pane (45%) */
.card-image-pane {
    flex: 0 0 45%;
    position: relative;
    background: #f1f5f9;
}

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

.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #94a3b8;
    font-weight: 700;
    font-size: 1.5rem;
}

/* Right Content Pane (55%) */
.card-content-pane {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Pane Header */
.pane-header {
    background: #0f172a; /* Dark Navy */
    padding: 30px;
    color: #fff;
}

.badge-category {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #60a5fa;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.project-title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
}

/* Pane Body */
.pane-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-desc {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-inspect {
    align-self: flex-start;
    color: #2563EB;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    transition: padding 0.2s;
    display: inline-flex;
    align-items: center;
}

.btn-inspect:hover {
    color: #1e3a8a;
    padding-left: 5px;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .project-card-hybrid {
        flex-direction: column;
        min-height: auto;
    }
    
    .card-image-pane {
        height: 250px; /* Fixed height for mobile image */
        flex: none;
        width: 100%;
    }
}

/* ============================================
   SUPPORT PAGE STYLES
   ============================================ */

.support-hero {
  background: linear-gradient(135deg, rgba(2, 6, 23, 0.95) 0%, rgba(30, 58, 138, 0.9) 100%);
  padding: 100px 0 80px;
  margin-bottom: 40px;
  color: #fff;
  text-align: center;
}

.support-hero__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

.support-hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
}

.support-hero__title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.support-hero__subtitle {
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.support-hero__user-info {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 0.5rem 1.5rem;
  color: #e2e8f0;
  font-size: 0.95rem;
}

.support-section {
  padding: 0 20px 80px;
}

.support-card {
  max-width: 900px;
  margin: -50px auto 0;
  background-color: #ffffff !important;
  opacity: 1 !important;
  border-radius: 16px;
  padding: 40px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
}

.support-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.support-card label {
  color: #1e293b !important;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.form-field label {
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 8px;
  display: block;
}

.support-form .form-control,
.support-form textarea,
.support-form select {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  border-radius: 12px;
  padding: 0.95rem 1.1rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.support-form .form-control:focus,
.support-form textarea:focus,
.support-form select:focus {
  background-color: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  outline: none;
}

.form-field--file .file-input {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 1rem;
}

.file-input__hint {
  display: block;
  margin-top: 0.5rem;
  color: #94a3b8;
  font-size: 0.9rem;
}

.support-submit {
  align-self: flex-start;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border: none;
  color: #fff;
  font-weight: 700;
  padding: 0.9rem 2.4rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.support-submit:hover {
  transform: translateY(-2px);
}

.support-success {
  text-align: center;
  color: #e2e8f0;
}

.support-success__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #34d399;
}

.support-success__link {
  display: inline-flex;
  margin-top: 20px;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
}

.honeypot {
  position: absolute;
  left: -9999px;
  visibility: hidden;
}

@media (max-width: 768px) {
  .support-card {
    padding: 30px;
  }
  .support-grid {
    grid-template-columns: 1fr;
  }
  .support-submit {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   PROJECTS LIST - Vertical Hybrid Split Cards
   ============================================ */

.projects-hero .btn.active {
  color: #fff;
}

.projects-list {
  background: #f8fafc;
}

.projects-list .project-card-hybrid {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projects-list .project-card-hybrid:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 3rem rgba(0,0,0,0.15) !important;
}

.card-image-pane {
  min-height: 100%;
}

.card-image-pane .hybrid-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pane-header {
  background: #0f172a;
}

.pane-header .badge {
  font-size: 0.8rem;
  font-weight: 600;
}

.pane-body p {
  font-size: 1rem;
  color: #475569;
}

.tech-tags {
  font-weight: 600;
}

@media (max-width: 768px) {
  .projects-list .project-card-hybrid {
    min-height: auto;
  }

  .card-image-pane {
    height: 250px;
    flex: none !important;
  }

  .pane-header {
    text-align: center;
  }
}

/* ============================================
   HOMEPAGE PROJECT SHOWCASE
   ============================================ */

.project-showcase-section {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

.project-showcase-section::before,
.project-showcase-section::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  background: rgba(59, 130, 246, 0.12);
  filter: blur(40px);
  border-radius: 50%;
  z-index: 0;
}

.project-showcase-section::before {
  top: 0;
  left: -60px;
}

.project-showcase-section::after {
  bottom: -40px;
  right: -80px;
}

.project-section-header {
  position: relative;
  z-index: 1;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #3b82f6;
  letter-spacing: 0.2em;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
  opacity: 0.4;
}

.text-navy {
  color: #0f172a !important;
}

.fw-800 {
  font-weight: 800 !important;
}

.ls-2 {
  letter-spacing: 2px;
}

.section-lede {
  max-width: 620px;
  margin-top: 1rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.vision-gif-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.vision-tagline {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.panelgym-gif-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.panelgym-gif-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.panelgym-gif-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.12);
}

.panelgym-gif-media {
  aspect-ratio: 4 / 3;
  background: #0f172a;
  overflow: hidden;
}

.panelgym-gif-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modern-project-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: stretch;
}

/* Tek proje: kart ekranın yarısı genişliğinde, ortada */
.modern-project-grid .project-showcase-card:only-child {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: calc(50% - 1.25rem);
}

.project-showcase-card {
  background: #ffffff;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 25px 45px rgba(15, 23, 42, 0.09);
}

.project-showcase-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 35px 60px rgba(15, 23, 42, 0.15);
}

.card-img-holder {
  position: relative;
  width: 100%;
  height: 340px;
  min-height: 280px;
  overflow: hidden;
  background: #0f172a;
}

.project-image-link {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.card-img-holder img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.project-showcase-card:hover .card-img-holder img {
  transform: scale(1.08);
}

.card-info {
  padding: 32px;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.project-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.1);
  color: #1d4ed8;
  font-weight: 600;
  text-transform: capitalize;
}

.project-year {
  color: #94a3b8;
  font-weight: 600;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.card-desc {
  color: #64748b;
  line-height: 1.7;
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
}

.project-showcase-card .project-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0.85rem 1.65rem 0.85rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  overflow: hidden;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.project-showcase-card .project-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f172a, #2563eb);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.project-showcase-card .project-link__label,
.project-showcase-card .project-link__icon {
  position: relative;
  z-index: 1;
}

.project-showcase-card .project-link__label {
  font-size: 0.85rem;
}

.project-showcase-card .project-link__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.project-showcase-card .project-link__icon i {
  font-size: 0.95rem;
  transition: transform 0.3s ease;
}

.project-showcase-card .project-link:hover {
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-3px);
}

.project-showcase-card .project-link:hover::before {
  opacity: 1;
}

.project-showcase-card .project-link:hover .project-link__icon {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(4px);
}

.project-showcase-card .project-link:hover .project-link__icon i {
  transform: translateX(2px) translateY(-2px);
}

.btn-view-all {
  border-width: 2px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-view-all:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.2);
}

@media (max-width: 576px) {
  .card-img-holder {
    height: 200px;
  }

  .card-info {
    padding: 26px;
  }

  .project-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ============================================
   COMPREHENSIVE MOBILE RESPONSIVE OVERRIDES
   ============================================ */

/* ------------------------------------------
   MOBILE NAV - Full screen overlay menu
   ------------------------------------------ */
@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    z-index: 1100;
    font-size: 1.6rem;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
  }

  .ironsoft-header.scrolled .mobile-nav-toggle {
    color: var(--text-dark);
  }

  .ironsoft-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(2, 6, 23, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 5rem 2rem 3rem;
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
    overflow-y: auto;
  }

  .ironsoft-nav.active {
    left: 0;
  }

  .ironsoft-nav a {
    width: 100%;
    max-width: 320px;
    text-align: center;
    padding: 1rem 0;
    font-size: 1.15rem;
    color: #e2e8f0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .ironsoft-nav a:last-child {
    border-bottom: none;
  }

  .ironsoft-nav .btn-outline-header {
    margin-top: 1rem;
    width: 100%;
    max-width: 320px;
    text-align: center;
    display: block !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.05) !important;
  }

  .ironsoft-nav .btn.btn-outline-light {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    margin: 0.5rem 0 !important;
  }

  .ironsoft-nav .nav-support-btn {
    width: 100%;
    max-width: 320px;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
  }

  .ironsoft-nav form {
    width: 100%;
    max-width: 320px;
    display: flex;
    justify-content: center;
  }

  .ironsoft-nav form .btn-outline-header {
    width: 100%;
  }

  .header-container {
    padding: 0.85rem 1rem;
  }
}

/* ------------------------------------------
   HERO SECTION - Mobile
   ------------------------------------------ */
@media (max-width: 768px) {
  .ironsoft-hero {
    min-height: 80vh;
    padding: 2rem 0;
  }

  .hero-content {
    padding: 0 1.25rem;
  }

  .hero-headline {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-subheadline {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-cta {
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .hero-tech-strip {
    margin-top: 2rem;
  }

  .tech-logos {
    gap: 1rem;
    font-size: 0.85rem;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.75rem;
  }

  .hero-subheadline {
    font-size: 0.95rem;
  }

  .hero-spotlight {
    width: 400px;
    height: 400px;
  }
}

/* ------------------------------------------
   SERVICES SECTION - Mobile
   ------------------------------------------ */
@media (max-width: 768px) {
  .ironsoft-services {
    padding: 3rem 0;
  }

  .service-highlights-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .service-spotlight-card {
    padding: 1.75rem 1.5rem;
    border-radius: 20px;
  }

  .services-title,
  .ironsoft-services .section-title {
    font-size: 1.75rem !important;
  }
}

/* ------------------------------------------
   BLOG GRID - Mobile (fixes !important issue)
   ------------------------------------------ */
@media (max-width: 992px) {
  .blog-grid-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .blog-grid-container {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .blog-card__image {
    height: 200px;
  }

  .blog-card__body {
    padding: 1.25rem;
  }

  .blog-card__title {
    font-size: 1.1rem;
  }
}

/* ------------------------------------------
   BLOG FEATURED - Mobile
   ------------------------------------------ */
@media (max-width: 768px) {
  .blog-featured {
    flex-direction: column;
    border-radius: 16px;
  }

  .blog-featured__image {
    flex: none;
    height: 240px;
  }

  .blog-featured__content {
    padding: 1.75rem;
    gap: 1rem;
  }

  .blog-featured__title {
    font-size: 1.5rem;
  }

  .blog-featured__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .blog-featured__link {
    width: 100%;
    justify-content: center;
  }
}

/* ------------------------------------------
   BLOG HERO & FILTER - Mobile
   ------------------------------------------ */
@media (max-width: 768px) {
  .blog-hero,
  .projects-hero {
    padding: 4rem 0 3rem;
  }

  .blog-hero__title,
  .projects-hero__title {
    font-size: 2rem;
  }

  .blog-hero__subtitle,
  .projects-hero__subtitle {
    font-size: 1rem;
  }

  .blog-content,
  .projects-listing {
    padding: 4rem 0;
  }

  .filter-bar,
  .filter-bar-blog {
    border-radius: 16px;
    padding: 1rem;
    transform: translateY(30%);
    gap: 0.5rem;
  }

  .filter-pill,
  .filter-pill-blog {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

/* ------------------------------------------
   TECH BLOG GRID - Mobile
   ------------------------------------------ */
@media (max-width: 992px) {
  .tech-blog__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .overlay-card {
    min-height: 380px;
  }

  .overlay-card__title {
    font-size: 1.75rem;
  }

  .overlay-card__content {
    padding: 1.75rem;
  }
}

@media (max-width: 640px) {
  .tech-blog__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .tech-blog__title {
    font-size: 2rem;
  }

  .overlay-card {
    min-height: 320px;
  }

  .overlay-card__title {
    font-size: 1.4rem;
  }

  .overlay-card__excerpt {
    font-size: 0.95rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .overlay-card__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .standard-card__media {
    height: 180px;
  }

  .standard-card__body {
    padding: 1.25rem;
  }

  .standard-card__title {
    font-size: 1.1rem;
  }
}

/* ------------------------------------------
   ARTICLE DETAIL - Mobile
   ------------------------------------------ */
@media (max-width: 992px) {
  .article-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .article-sidebar {
    position: relative;
    top: 0;
    order: -1;
  }

  .article-container {
    padding: 2rem;
    border-radius: 20px;
  }

  .article-title {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .article-shell {
    padding: 2rem 0 3rem;
  }

  .article-container {
    padding: 1.25rem;
    border-radius: 16px;
    margin: 0 0.5rem;
  }

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

  .article-meta {
    flex-direction: column;
    gap: 0.75rem;
  }

  .article-cover {
    border-radius: 16px;
    margin-bottom: 2rem;
  }

  .article-body {
    font-size: 1rem;
  }

  .article-body h2 {
    font-size: 1.5rem;
  }

  .article-body h3 {
    font-size: 1.25rem;
  }

  .article-body blockquote {
    padding: 1rem 1.25rem;
    border-radius: 12px;
  }

  .article-author-card {
    flex-direction: column;
    padding: 1.25rem;
  }

  .article-author-card__info {
    flex-direction: column;
    text-align: center;
  }

  .article-share {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
}

/* ------------------------------------------
   SPLIT HERO (Project Detail) - Mobile
   ------------------------------------------ */
@media (max-width: 992px) {
  .split-hero-container {
    flex-direction: column;
    min-height: auto;
  }

  .split-hero-left {
    flex: none;
    padding: 3rem 2rem;
  }

  .split-hero-right {
    flex: none;
    min-height: 300px;
  }

  .hero-title {
    font-size: 2.25rem;
  }
}

@media (max-width: 640px) {
  .split-hero-left {
    padding: 2rem 1.25rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-breadcrumb {
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
  }

  .split-hero-right {
    min-height: 220px;
  }
}

/* ------------------------------------------
   PROJECT DETAIL (Case Study) - Mobile
   ------------------------------------------ */
@media (max-width: 768px) {
  .pd-hero {
    padding: 80px 0 120px;
  }

  .pd-title {
    font-size: 2.25rem;
  }

  .pd-stats-bar {
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem;
    margin-top: -50px;
  }

  .stat-divider {
    width: 60%;
    height: 1px;
  }

  .pd-main-container {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .pd-content-card {
    padding: 1.5rem;
    border-radius: 12px;
  }

  .pd-sidebar {
    position: relative;
    top: 0;
    margin-top: 2rem;
  }
}

@media (max-width: 480px) {
  .pd-title {
    font-size: 1.75rem;
  }

  .pd-subtitle {
    font-size: 1rem;
  }

  .stat-value {
    font-size: 1.5rem;
  }
}

/* ------------------------------------------
   CONTACT SECTION - Mobile
   ------------------------------------------ */
@media (max-width: 640px) {
  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .contact-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .contact-item {
    gap: 1rem;
    margin-bottom: 1.75rem;
  }

  .contact-icon {
    width: 42px;
    height: 42px;
    font-size: 1.25rem;
  }
}

/* ------------------------------------------
   ADMIN PANEL - Mobile Responsive
   ------------------------------------------ */
@media (max-width: 768px) {
  .admin-topbar {
    padding: 0 0.75rem;
    height: 54px;
  }

  .admin-topbar__name {
    display: none;
  }

  .admin-topbar__logo {
    font-size: 1rem;
  }

  .admin-page-header {
    padding: 12px 16px;
  }

  .admin-page-title {
    font-size: 1rem;
  }

  .admin-content-body {
    padding: 12px;
  }

  .admin-content {
    margin-top: 54px;
  }

  /* Dashboard stat cards — compact 4-column row on phone */
  .dashboard-stats-row {
    --bs-gutter-x: 0.4rem;
    --bs-gutter-y: 0.4rem;
  }

  .dashboard-stats-row .stat-card {
    padding: 0.5rem 0.35rem;
    border-radius: 10px;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    min-height: 4.75rem !important;
    height: 100%;
  }

  .admin-content-body .dashboard-stats-row {
    margin-bottom: 1rem !important;
  }

  .admin-content-body h4.fw-bold.mb-3 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem !important;
  }

  .admin-content-body h4.fw-bold.mb-3 .fas {
    font-size: 0.85rem;
  }

  .dashboard-stats-row .stat-card:hover {
    transform: none;
  }

  .dashboard-stats-row .stat-card__info {
    gap: 0.15rem;
    width: 100%;
  }

  .dashboard-stats-row .stat-card__label,
  .dashboard-stats-row .stat-card__info > span {
    font-size: 0.5rem !important;
    letter-spacing: 0.02em;
    line-height: 1.15;
  }

  .dashboard-stats-row .stat-card__info h3 {
    font-size: 1.15rem !important;
    margin: 0.1rem 0 !important;
    line-height: 1.1;
  }

  .dashboard-stats-row .stat-card__info p {
    font-size: 0.48rem !important;
    line-height: 1.15;
    margin: 0 !important;
  }

  .dashboard-stats-row .mb-4 > h4,
  .dashboard-stats-row + .mb-4 h4 {
    font-size: 1rem;
  }

  /* Hızlı işlemler — mobil */
  .dashboard-quick-actions .card-body {
    padding: 0.75rem 0.85rem !important;
  }

  .dashboard-quick-actions__inner {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
    gap: 0.65rem !important;
  }

  .dashboard-quick-actions__text {
    width: 100%;
  }

  .dashboard-quick-actions h5,
  .dashboard-quick-actions__title {
    font-size: 0.9rem !important;
    margin-bottom: 0.25rem !important;
  }

  .dashboard-quick-actions h5 .fas,
  .dashboard-quick-actions__title .fas {
    font-size: 0.8rem;
  }

  .dashboard-quick-actions p.text-muted {
    font-size: 0.7rem !important;
    line-height: 1.35;
    margin-bottom: 0 !important;
  }

  .dashboard-quick-actions__buttons {
    justify-content: center !important;
    width: 100%;
    gap: 0.4rem !important;
  }

  .dashboard-quick-actions .btn-lg,
  .dashboard-quick-actions .btn {
    font-size: 0.75rem !important;
    padding: 0.35rem 0.7rem !important;
    border-radius: 8px;
    line-height: 1.3;
  }

  .dashboard-quick-actions .btn .fas {
    font-size: 0.7rem;
    margin-right: 0.25rem !important;
  }

  .dashboard-quick-actions__title {
    text-align: center;
    margin-bottom: 0.5rem !important;
  }

  /* Panel kartları (iletişim, blog) — sadece üst başlık mobil */
  .dashboard-panel-card .dashboard-panel-card__header {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
    padding: 0.75rem 0.85rem !important;
    gap: 0.5rem;
  }

  .dashboard-panel-card .dashboard-panel-card__text {
    width: 100%;
  }

  .dashboard-panel-card .dashboard-panel-card__header h5 {
    font-size: 0.9rem !important;
    margin-bottom: 0.2rem !important;
  }

  .dashboard-panel-card .dashboard-panel-card__header h5 .fas {
    font-size: 0.8rem;
  }

  .dashboard-panel-card .dashboard-panel-card__subtitle {
    font-size: 0.7rem !important;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.85) !important;
  }

  .dashboard-panel-card .dashboard-panel-card__action {
    font-size: 0.68rem !important;
    padding: 0.28rem 0.55rem !important;
    align-self: center;
    margin-inline: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .dashboard-panel-card .dashboard-panel-card__action .fas {
    font-size: 0.65rem;
    margin-right: 0.2rem !important;
  }

  /* Panel kartları — tablo içi işlem butonları (mobil) */
  .dashboard-panel-card .card-body th.text-end,
  .dashboard-panel-card .card-body td.text-end {
    text-align: center !important;
  }

  .dashboard-panel-card .card-body td.text-end {
    padding: 0.4rem 0.3rem !important;
  }

  .dashboard-panel-card .card-body td.text-end .btn {
    font-size: 0.65rem !important;
    padding: 0.22rem 0.45rem !important;
    line-height: 1.25;
    margin: 0.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .dashboard-panel-card .card-body td.text-end .btn .fas {
    font-size: 0.6rem;
    margin-right: 0.15rem !important;
  }

  /* Admin tables responsive */
  .admin-card,
  .card {
    border-radius: 12px;
    overflow-x: auto;
  }

  .table {
    font-size: 0.82rem;
  }

  .table th,
  .table td {
    padding: 0.5rem 0.4rem;
    white-space: nowrap;
  }

  /* Buttons in admin */
  .d-flex.justify-content-between {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start !important;
  }

  .btn-group {
    flex-wrap: wrap;
    gap: 4px;
  }

  .btn-group .btn {
    font-size: 0.78rem;
    padding: 4px 8px;
  }

  /* İletişim mesajları — mobil */
  .contact-messages-panel {
    padding: 0.85rem;
    border-radius: 12px;
  }

  .contact-messages-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
  }

  .contact-messages-header > div:first-child {
    width: 100%;
  }

  .contact-messages-header .eyebrow {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.15rem;
  }

  .contact-messages-header h2 {
    font-size: 1rem !important;
  }

  .contact-messages-header > div:first-child > p {
    font-size: 0.7rem;
    max-width: none;
    line-height: 1.35;
    margin-top: 0.25rem;
  }

  .contact-stats-grid {
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.35rem;
  }

  .contact-stat {
    padding: 0.45rem 0.2rem;
    border-radius: 8px;
    text-align: center;
  }

  .contact-stat span {
    font-size: 0.45rem;
    letter-spacing: 0.03em;
  }

  .contact-stat strong {
    font-size: 1.05rem;
    line-height: 1.1;
  }

  .contact-toolbar {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
  }

  .contact-filter {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.35rem;
  }

  .filter-chip {
    width: 100%;
    justify-content: center;
    padding: 0.32rem 0.4rem;
    font-size: 0.68rem;
    gap: 0.25rem;
  }

  .filter-chip .fas {
    font-size: 0.62rem;
  }

  .contact-toolbar__hint {
    font-size: 0.65rem;
    text-align: center;
    width: 100%;
    line-height: 1.35;
  }

  .contact-table {
    border-radius: 10px;
  }

  .contact-table .table {
    font-size: 0.75rem;
  }

  .contact-actions {
    justify-content: center;
  }

  .chip-btn {
    font-size: 0.62rem;
    padding: 0.22rem 0.45rem;
    gap: 0.2rem;
  }

  .chip-btn .fa-solid,
  .chip-btn .fas {
    font-size: 0.58rem;
  }

  .sender-avatar {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
    border-radius: 8px;
  }

  .empty-contact-state {
    padding: 2rem 1rem;
  }

  .empty-contact-state i {
    font-size: 2rem;
  }

  .empty-contact-state h4 {
    font-size: 0.95rem;
  }

  .empty-contact-state p {
    font-size: 0.75rem;
  }

  /* Admin liste sayfaları — mobil (Projeler, Blog, Hizmet) */
  .admin-list-toolbar {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
    gap: 0.65rem;
  }

  .admin-list-toolbar__desc {
    font-size: 0.75rem;
    line-height: 1.35;
    width: 100%;
    text-align: center;
  }

  .admin-list-toolbar__action {
    font-size: 0.88rem !important;
    padding: 0.5rem 1.1rem !important;
    align-self: center;
    width: auto;
    max-width: 100%;
  }

  .admin-list-card {
    border-radius: 12px;
    overflow: visible;
  }

  .admin-content-body {
    overflow-x: hidden;
  }

  .admin-list-card .card-body {
    padding: 0.65rem !important;
  }

  .admin-list-card .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    max-width: 100%;
  }

  .admin-list-card .table {
    font-size: 0.78rem;
    margin-bottom: 0;
    min-width: 520px;
  }

  .admin-list-card .admin-list-table--wide {
    min-width: 680px;
  }

  .admin-list-card .table th,
  .admin-list-card .table td {
    padding: 0.45rem 0.4rem;
    vertical-align: middle;
  }

  .admin-list-card .table img,
  .admin-list-card .table .bg-light.rounded {
    width: 40px !important;
    height: 40px !important;
  }

  .admin-list-card .btn-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    width: 100%;
    min-width: 4.5rem;
  }

  .admin-list-card .btn-group .btn {
    font-size: 0.68rem !important;
    padding: 0.32rem 0.45rem !important;
    justify-content: center;
  }

  .admin-list-card .btn-group .btn span {
    font-size: 0.68rem;
  }

  /* Hizmet kartları — mobil kart listesi */
  .service-highlights-list .table-responsive {
    overflow-x: visible;
  }

  .service-highlights-table {
    min-width: 0 !important;
  }

  .service-highlights-table thead {
    display: none;
  }

  .service-highlights-table,
  .service-highlights-table tbody {
    display: block;
    width: 100%;
  }

  .service-highlights-table tbody tr {
    display: block;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 0.65rem;
    padding: 0.65rem;
    background: #fff;
  }

  .service-highlights-table tbody tr:last-child {
    margin-bottom: 0;
  }

  .service-highlights-table tbody td {
    display: block;
    width: 100% !important;
    border: none;
    padding: 0.35rem 0 !important;
    text-align: left !important;
  }

  .service-highlights-table tbody td:first-child {
    padding-bottom: 0.15rem !important;
  }

  .service-highlights-table tbody td:last-child {
    padding-top: 0.5rem !important;
    border-top: 1px solid #f1f5f9;
    margin-top: 0.35rem;
  }

  .service-highlights-table .d-flex.align-items-start {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.5rem;
  }

  .service-highlights-table .service-visual-token-wrapper {
    width: 44px;
    height: 44px;
  }

  .service-highlights-table .service-visual-orbit {
    display: none;
  }

  .service-highlights-table .visual-token-letter {
    font-size: 1rem;
  }

  .service-highlights-table .service-visual-meta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.3rem;
  }

  .service-highlights-table .meta-chip {
    font-size: 0.62rem;
    padding: 0.2rem 0.45rem;
  }

  .service-highlights-table td a {
    word-break: break-all;
    font-size: 0.72rem;
    display: inline-block;
    max-width: 100%;
  }

  .service-highlights-table .btn-group {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .service-highlights-table .btn-group .btn {
    flex: 1 1 auto;
    min-width: 0;
  }

  /* Görevler listesi — mobil */
  .tasks-page-header {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
    gap: 0.6rem;
  }

  .tasks-page-header h2 {
    font-size: 1.2rem;
    width: 100%;
  }

  .tasks-page-header h2 .fas {
    font-size: 1rem;
  }

  .tasks-page-header__action {
    font-size: 0.88rem !important;
    padding: 0.5rem 1.1rem !important;
    line-height: 1.35;
    align-self: center;
    width: auto;
    max-width: 100%;
  }

  .tasks-page-header__action .fas {
    font-size: 0.82rem;
    margin-right: 0.3rem !important;
  }

  .container-fluid.px-4.py-4 {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    padding-top: 0.75rem !important;
  }

  /* Görev ekle/düzenle — alt butonlar mobil */
  .task-form-actions {
    flex-direction: row !important;
    justify-content: center !important;
    align-items: stretch;
    gap: 0.45rem;
    flex-wrap: nowrap;
  }

  .task-form-actions__btn {
    font-size: 0.82rem !important;
    padding: 0.48rem 0.7rem !important;
    line-height: 1.3;
    flex: 1 1 0;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .task-form-actions__btn .fas {
    font-size: 0.75rem;
    margin-right: 0.25rem !important;
  }

  .task-form-actions__submit {
    padding-left: 0.7rem !important;
    padding-right: 0.7rem !important;
  }

  /* Görev ekle/düzenle form — mobil metin oranı */
  .task-form-page .card-header {
    padding: 0.65rem 0.85rem !important;
  }

  .task-form-page .card-header h4 {
    font-size: 1.05rem;
  }

  .task-form-page .card-header .fas {
    font-size: 0.95rem;
  }

  .task-form-page .card-body {
    padding: 1rem !important;
  }

  .task-form-page .form-label {
    font-size: 0.84rem;
    margin-bottom: 0.35rem;
  }

  .task-form-page .form-label .fas {
    font-size: 0.78rem;
  }

  .task-form-page .form-control,
  .task-form-page .form-select,
  .task-form-page textarea.form-control {
    font-size: 0.88rem;
    padding: 0.5rem 0.7rem;
    line-height: 1.4;
  }

  .task-form-page .form-control-lg,
  .task-form-page .form-select-lg {
    font-size: 0.88rem;
    padding: 0.5rem 0.7rem;
    min-height: calc(1.4em + 1rem);
  }

  .task-form-page small.text-muted {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .task-form-page .mb-4 {
    margin-bottom: 0.9rem !important;
  }

  .task-form-page .alert {
    font-size: 0.8rem;
    padding: 0.6rem 0.75rem;
  }

  /* Admin forms */
  .admin-content-body .form-control,
  .admin-content-body .form-select {
    font-size: 0.9rem;
  }

  .admin-content-body .card-body {
    padding: 1rem;
  }

  /* Admin alert */
  .admin-content-body .alert {
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
  }

  /* Destek talepleri — mobil */
  .admin-content-body .support-tickets-page {
    padding-top: 0.25rem !important;
    padding-bottom: 0.5rem !important;
  }

  .support-stats-row {
    --bs-gutter-x: 0.35rem;
    --bs-gutter-y: 0.35rem;
    margin-bottom: 1rem !important;
  }

  .support-stats-row > [class*="col-"] {
    display: flex;
  }

  .support-stats-row .ticket-stat-card {
    width: 100%;
    flex: 1 1 auto;
    height: 100%;
    margin-bottom: 0;
    padding: 0.45rem 0.35rem !important;
    border-radius: 10px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
    gap: 0.15rem;
    border-left: none !important;
    border-top-width: 3px !important;
    border-top-style: solid !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06) !important;
  }

  .support-stats-row > div:nth-child(1) .ticket-stat-card {
    border-top-color: var(--bs-warning) !important;
  }

  .support-stats-row > div:nth-child(2) .ticket-stat-card {
    border-top-color: var(--bs-success) !important;
  }

  .support-stats-row > div:nth-child(3) .ticket-stat-card {
    border-top-color: var(--bs-primary) !important;
  }

  .support-stats-row .ticket-stat-card:hover {
    transform: none;
  }

  .support-stats-row .ticket-stat-card .icon-box {
    display: none !important;
  }

  .support-stats-row .ticket-stat-card > div:first-child {
    width: 100%;
    min-width: 0;
  }

  .support-stats-row .ticket-stat-card span.small {
    font-size: 0.48rem !important;
    line-height: 1.15;
    letter-spacing: 0.02em;
    display: block;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .support-stats-row .ticket-stat-card h2 {
    font-size: 1.1rem !important;
    margin: 0.1rem 0 0 !important;
    line-height: 1.1;
  }

  .support-tickets-section-header {
    padding: 0 0.15rem;
    margin-bottom: 0.75rem !important;
  }

  .support-tickets-section-header h5 {
    font-size: 0.95rem;
  }

  .support-tickets-section-header .text-muted.small {
    font-size: 0.72rem;
  }

  .support-tickets-page .ticket-list {
    gap: 0.65rem !important;
  }

  .support-tickets-page .ticket-row {
    padding: 0.85rem 0.9rem !important;
    gap: 0.65rem !important;
  }

  .support-tickets-page .ticket-row:hover {
    transform: none;
  }

  .support-tickets-page .ticket-row > .d-flex:first-child {
    min-width: 0 !important;
    width: 100%;
  }

  .support-tickets-page .ticket-row .avatar-circle {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.85rem;
    flex-shrink: 0;
  }

  .support-tickets-page .ticket-row h6 {
    font-size: 0.88rem;
    max-width: 100% !important;
  }

  .support-tickets-page .ticket-row .badge.rounded-pill {
    font-size: 0.72rem;
    padding: 0.35rem 0.65rem !important;
  }

  .support-tickets-page .ticket-row .btn-outline-primary {
    font-size: 0.78rem;
    padding: 0.35rem 0.75rem !important;
  }

  .support-tickets-page .ticket-row > .d-flex:last-child {
    min-width: 0 !important;
    width: 100%;
    flex-wrap: wrap;
    gap: 0.5rem !important;
  }

  /* Destek talebi detay — mobil */
  .admin-content-body .support-ticket-detail-page {
    padding-top: 0.25rem !important;
    padding-bottom: 0.5rem !important;
  }

  .support-ticket-detail-toolbar {
    width: 100%;
  }

  .support-ticket-detail-toolbar__back {
    font-size: 0.82rem !important;
    padding: 0.4rem 0.85rem !important;
    line-height: 1.3;
    white-space: nowrap;
  }

  .support-ticket-detail-toolbar__back .fas {
    font-size: 0.75rem;
  }

  .support-ticket-detail-toolbar__meta .badge {
    font-size: 0.72rem;
    padding: 0.35rem 0.65rem !important;
  }

  .support-ticket-detail-toolbar__meta .small {
    font-size: 0.72rem;
  }

  .support-ticket-message-card .card-body,
  .support-ticket-reply-card .card-body {
    padding: 0.85rem !important;
  }

  .support-ticket-message-card__subject {
    font-size: 1.05rem !important;
    line-height: 1.3;
    word-break: break-word;
  }

  .support-ticket-message-card__header .badge {
    font-size: 0.72rem;
  }

  .support-ticket-reply-card__title {
    font-size: 0.95rem;
  }

  .support-ticket-detail-page .chat-bubble {
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    font-size: 0.88rem;
  }

  .support-ticket-detail-page .chat-bubble p {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .support-ticket-reply-form-card .card-header h6 {
    font-size: 0.88rem;
  }

  .support-ticket-reply-form-card .card-body {
    padding: 0.85rem !important;
  }

  .support-ticket-reply-form-card .form-label {
    font-size: 0.84rem;
  }

  .support-ticket-reply-form-card textarea.form-control {
    font-size: 0.88rem;
    min-height: 6.5rem;
  }

  .support-ticket-reply-form-card .form-text {
    font-size: 0.72rem;
  }

  .support-ticket-reply-form-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0.75rem !important;
    gap: 0.65rem !important;
  }

  .support-ticket-reply-form-actions .form-check-label {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .support-ticket-reply-form-actions__submit {
    width: 100%;
    font-size: 0.85rem !important;
    padding: 0.5rem 0.75rem !important;
  }

  .support-ticket-detail-sidebar .card-body {
    padding: 0.85rem !important;
  }

  .support-ticket-detail-sidebar h6 {
    font-size: 0.72rem;
    margin-bottom: 0.65rem !important;
  }

  .support-ticket-detail-sidebar .list-group-item {
    font-size: 0.8rem;
    padding: 0.5rem 0 !important;
  }

  .support-ticket-detail-sidebar .bg-light.rounded-circle {
    width: 40px !important;
    height: 40px !important;
    font-size: 0.9rem;
  }

  .support-ticket-detail-sidebar .fw-bold {
    font-size: 0.9rem;
  }

  .support-ticket-detail-sidebar .input-group .form-select,
  .support-ticket-detail-sidebar .input-group .btn {
    font-size: 0.78rem;
  }

  .support-ticket-detail-sidebar .d-flex.justify-content-between.align-items-center.mb-2 {
    padding: 0.5rem !important;
    font-size: 0.82rem;
  }
}

/* ------------------------------------------
   SUPPORT PAGE - Mobile
   ------------------------------------------ */
@media (max-width: 640px) {
  .support-hero {
    padding: 80px 0 60px;
    margin-bottom: 20px;
  }

  .support-hero__title {
    font-size: 1.75rem;
  }

  .support-card {
    margin: -30px 0.5rem 0;
    padding: 1.5rem;
    border-radius: 12px;
  }

  .support-section {
    padding: 0 0.5rem 3rem;
  }
}

/* ------------------------------------------
   PROJECT SHOWCASE CARDS (Homepage) - Mobile
   ------------------------------------------ */
@media (max-width: 992px) {
  .panelgym-gif-grid {
    gap: 1rem;
  }

  .modern-project-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .modern-project-grid .project-showcase-card:only-child {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .panelgym-gif-grid {
    grid-template-columns: 1fr;
  }

  .modern-project-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .project-showcase-section {
    padding: 3rem 0;
  }

  .project-showcase-card .project-link {
    width: 100%;
    justify-content: center;
  }

  .card-img-holder {
    height: 260px;
    min-height: 220px;
  }

  .card-info {
    padding: 1.5rem;
  }

  .card-title {
    font-size: 1.2rem;
  }

  .card-desc {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
}

/* ------------------------------------------
   TECHNICAL PILLARS - Mobile override
   ------------------------------------------ */
@media (max-width: 768px) {
  .technical-pillars {
    padding: 3rem 0;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pillar-item {
    padding: 1.25rem;
    text-align: left;
    display: flex;
    gap: 1rem;
    align-items: center;
  }

  .pillar-icon {
    margin: 0;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
  }

  .pillar-title {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }

  .pillar-subtitle {
    font-size: 0.8rem;
  }
}

/* ------------------------------------------
   GENERAL MOBILE UTILITIES
   ------------------------------------------ */
@media (max-width: 768px) {
  .container-custom {
    padding: 0 1rem;
  }

  /* Fix horizontal overflow on all pages */
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  /* Tables responsive wrapper */
  .table-responsive {
    border-radius: 12px;
  }

  /* General spacing reductions */
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .mb-5 {
    margin-bottom: 2rem !important;
  }

  /* Ticket dashboard adjustments (non-admin pages) */
  .ticket-stat-card:not(.support-stats-row .ticket-stat-card) {
    margin-bottom: 0.75rem;
  }

  /* Project showcase (zigzag) */
  .project-showcase {
    padding: 1.25rem;
    border-radius: 14px;
    border-left-width: 4px;
  }

  .project-mockup {
    min-height: 220px;
    padding: 1rem;
  }

  /* Fix marquee */
  .marquee-content {
    gap: 2rem;
  }

  .marquee-item {
    font-size: 0.8rem;
  }
}

/* Very small screens */
@media (max-width: 360px) {
  .header-container {
    padding: 0.75rem;
  }

  .ironsoft-logo {
    font-size: 1.1rem;
  }

  .hero-headline {
    font-size: 1.5rem;
  }

  .hero-cta {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

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

  .contact-form-wrapper {
    padding: 1rem;
  }

  .service-spotlight-card {
    padding: 1.25rem;
  }
}

/* ------------------------------------------
   MEMBER PANEL LAYOUT STYLES
   ------------------------------------------ */
.member-body {
  background: #f3f4f6;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  padding-top: 60px;
}

.member-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  height: 60px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.member-topbar__logo {
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  font-size: 1.1rem;
}
.member-topbar__logo:hover { color: #1d4ed8; }

.member-topbar__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.member-topbar__link {
  color: #475569;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.member-topbar__link:hover { background: #f1f5f9; color: #1e293b; }

.member-topbar__logout {
  color: #ef4444;
}
.member-topbar__logout:hover {
  background: #fef2f2;
  color: #dc2626;
}

.member-content-area {
  padding: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .member-body {
    padding-top: 54px;
  }

  .member-topbar {
    height: 54px;
    padding: 0 0.75rem;
  }

  .member-topbar__logo {
    font-size: 0.95rem;
  }

  .member-topbar__link span {
    display: none;
  }

  .member-topbar__link {
    padding: 8px 10px;
    font-size: 1rem;
  }

  .member-content-area {
    padding: 0.75rem;
  }

  .member-content-area .card-body {
    padding: 1rem;
  }

  .member-content-area .col-md-4 {
    margin-bottom: 0.5rem;
  }

  .member-content-area h1,
  .member-content-area .h3 {
    font-size: 1.25rem;
  }

  .member-content-area .table {
    font-size: 0.82rem;
  }

  .member-content-area .table th,
  .member-content-area .table td {
    padding: 0.5rem 0.4rem;
    white-space: nowrap;
  }
}

/* ------------------------------------------
   ADMIN SUPPORT TICKETS - Mobile (scoped)
   ------------------------------------------ */
@media (max-width: 768px) {
  .support-tickets-page .ticket-row > .flex-grow-1 {
    width: 100%;
    min-width: 0;
  }
}

/* ------------------------------------------
   LOGIN PAGE - Mobile
   ------------------------------------------ */
@media (max-width: 640px) {
  .card {
    border-radius: 12px !important;
  }

  .card-body {
    padding: 1.5rem !important;
  }
}

