/* ==========================================================================
   S4i TECHNOLOGIES - Modern Agency Design System
   Next Level Loft Ankara | Smart Solutions for Industry
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Brand Color Palette (Bright Agency Tech Theme) */
  --primary: #0A192F;            /* Deep Space Navy Slate for text & heavy accents */
  --primary-light: #1E293B;      /* Slate 800 */
  --accent: #0052FF;             /* Electric Tech Blue */
  --accent-hover: #003ECC;       /* Deepened Action Blue */
  --accent-light: #EBF2FF;       /* Soft Blue Tint */
  --accent-glow: rgba(0, 82, 255, 0.25);
  
  --cyan: #00D2FF;               /* Cyber Cyan / Sensor Glow */
  --cyan-light: #E6FAFF;
  --cyan-glow: rgba(0, 210, 255, 0.35);

  --emerald: #10B981;            /* Status OK / Telemetry Active */
  --emerald-light: #ECFDF5;
  --amber: #F59E0B;              /* Warning / Caution */
  --rose: #EF4444;               /* Anomaly / Defect */

  /* Neutral Spectrum (Pristine Light Theme) */
  --bg-body: #FFFFFF;            /* Pure Crisp White */
  --bg-surface: #F8FAFC;         /* Soft Cloud White (Slate 50) */
  --bg-card: #FFFFFF;
  --bg-elevated: #F1F5F9;        /* Slate 100 */
  --bg-glass: rgba(255, 255, 255, 0.82);
  --bg-glass-heavy: rgba(255, 255, 255, 0.94);
  
  --text-main: #0F172A;          /* Slate 900 */
  --text-body: #334155;          /* Slate 700 */
  --text-muted: #64748B;         /* Slate 500 */
  --text-subtle: #94A3B8;        /* Slate 400 */
  
  --border-light: #E2E8F0;       /* Slate 200 */
  --border-focus: #0052FF;
  --border-glass: rgba(226, 232, 240, 0.8);

  /* Shadows (Silky Modern Depth) */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 4px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 20px -4px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -8px rgba(15, 23, 42, 0.09), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 30px 60px -15px rgba(15, 23, 42, 0.12), 0 8px 20px -4px rgba(15, 23, 42, 0.06);
  --shadow-accent: 0 12px 30px -6px rgba(0, 82, 255, 0.3);
  --shadow-cyan: 0 12px 30px -6px rgba(0, 210, 255, 0.35);

  /* Geometry & Radius */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Typography Stacks */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 180ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Subtle Blueprint/Dot Grid Pattern */
.bg-grid-pattern {
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(148, 163, 184, 0.18) 1px, transparent 0);
  background-size: 32px 32px;
}

.bg-circuit-overlay {
  background-image: 
    linear-gradient(to right, rgba(0, 82, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 82, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  color: var(--text-body);
  font-size: 1.05rem;
}

.text-gradient {
  background: linear-gradient(135deg, #0A192F 15%, #0052FF 70%, #00D2FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-accent-gradient {
  background: linear-gradient(135deg, #0052FF 0%, #00C6FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-muted {
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-smooth);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-wide {
  max-width: 1400px;
}

.section {
  padding: 6.5rem 0;
  position: relative;
}

.section-tight {
  padding: 4rem 0;
}

/* Flex & Grid Helpers */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

.grid {
  display: grid;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 4.5rem 0; }
}

/* Modern Badges & Chips */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid rgba(0, 82, 255, 0.16);
  box-shadow: 0 2px 8px rgba(0, 82, 255, 0.08);
}

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

.badge-dark {
  background: var(--primary);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.badge-cyan {
  background: var(--cyan-light);
  color: #007799;
  border-color: rgba(0, 210, 255, 0.25);
}

.badge-subtle {
  background: #F1F5F9;
  color: #334155;
  border: 1px solid #CBD5E1;
  font-size: 0.775rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.975rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0052FF 0%, #0045DC 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0045DC 0%, #0033AA 100%);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -6px rgba(0, 82, 255, 0.42);
  color: #FFFFFF;
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--primary);
  border-color: var(--border-light);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: #FFFFFF;
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.btn-white {
  background: #FFFFFF;
  color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.btn-white:hover {
  background: #F8FAFC;
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.05rem 2.25rem;
  font-size: 1.05rem;
}

/* Glassmorphism Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(0, 82, 255, 0.25);
}

.card-glass {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
}

.card-tech {
  position: relative;
}

.card-tech::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.card-tech:hover::before {
  opacity: 1;
}

.card-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: all var(--duration-normal) var(--ease-spring);
}

.card:hover .card-icon {
  background: var(--accent);
  color: #FFFFFF;
  transform: scale(1.08) rotate(-2deg);
  box-shadow: var(--shadow-accent);
}

/* Header & Glass Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  border-bottom-color: rgba(226, 232, 240, 0.9);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-body);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--duration-fast) var(--ease-smooth);
  border-radius: var(--radius-full);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Switcher */
.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--duration-fast);
}

.lang-toggle-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: #FFFFFF;
}

/* Mobile Hamburger Menu */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.75rem;
  color: var(--primary);
  cursor: pointer;
  padding: 0.4rem;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-xl);
  padding: 1.5rem;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 999;
}

.mobile-drawer.active {
  display: flex;
}

.mobile-drawer .nav-link {
  font-size: 1.1rem;
  padding: 0.5rem 0;
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .mobile-nav-toggle { display: block; }
}

/* Hero Section */
.hero-section {
  padding-top: 10.5rem;
  padding-bottom: 7rem;
  background: radial-gradient(100% 70% at 50% 0%, rgba(0, 82, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
  position: relative;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: 5%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 82, 255, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-2 {
  position: absolute;
  top: 20%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.14) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-stats-banner {
  margin-top: 4.5rem;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2.5rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.stat-box {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 1rem;
  border-right: 1px solid var(--border-light);
}

.stat-box:last-child {
  border-right: none;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-value span {
  color: var(--accent);
}

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

@media (max-width: 860px) {
  .hero-stats-banner {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.5rem;
  }
  .stat-box:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 500px) {
  .hero-stats-banner {
    grid-template-columns: 1fr;
  }
  .stat-box {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.75rem;
  }
  .stat-box:last-child {
    border-bottom: none;
  }
}

/* Interactive Demos Styling */
.demo-window {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  position: relative;
}

.demo-header {
  background: #F8FAFC;
  border-bottom: 1px solid var(--border-light);
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.demo-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.demo-body {
  padding: 1.5rem;
  position: relative;
}

/* Vision Canvas Simulator Container */
.vision-canvas-wrapper {
  position: relative;
  width: 100%;
  height: 380px;
  background: #0A111E;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5);
}

.vision-canvas-wrapper canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.vision-hud-overlay {
  position: absolute;
  top: 12px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #00F0FF;
}

.vision-hud-badge {
  background: rgba(10, 25, 47, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.4);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.vision-controls-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  align-items: center;
  justify-content: space-between;
}

.control-pill {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--duration-fast);
}

.control-pill.active,
.control-pill:hover {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}

/* IoT Telemetry Streamer */
.iot-telemetry-panel {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .iot-telemetry-panel { grid-template-columns: 1fr; }
}

.telemetry-chart-card {
  background: #0A111E;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  color: #F8FAFC;
  position: relative;
}

.telemetry-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.telemetry-live-dot {
  width: 8px;
  height: 8px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--emerald);
  animation: pulseDot 1.5s infinite;
}

.mqtt-packet-box {
  background: #040914;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: #38BDF8;
  height: 220px;
  overflow-y: auto;
  line-height: 1.5;
}

/* Interactive Tabs Component */
.tab-nav {
  display: flex;
  gap: 0.75rem;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 2.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  transition: all var(--duration-fast);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--primary);
}

.tab-btn.active {
  color: var(--accent);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -0.6rem;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
  box-shadow: 0 2px 8px var(--accent-glow);
}

.tab-pane {
  display: none;
  animation: fadeIn var(--duration-normal) var(--ease-spring);
}

.tab-pane.active {
  display: block;
}

/* Case Study / Project Cards */
.project-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-spring);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(0, 82, 255, 0.3);
}

.project-media {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #F1F5F9;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-spring);
}

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

.project-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.project-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.project-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.project-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.meta-pill {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-surface);
  color: var(--text-muted);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-light);
}

/* Ankara Next Level Office Banner */
.office-hero-box {
  background: linear-gradient(135deg, #0A192F 0%, #0F2A4A 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  color: #FFFFFF;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.office-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

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

.office-info-content {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.office-media-box {
  position: relative;
  min-height: 380px;
}

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

.office-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 210, 255, 0.15);
  border: 1px solid rgba(0, 210, 255, 0.4);
  color: var(--cyan);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.address-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.5rem;
}

.address-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--cyan);
  flex-shrink: 0;
}

/* Contact Form Section */
.contact-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  background: var(--bg-surface);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: all var(--duration-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px var(--accent-glow);
}

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

/* Modal for Case Study Details */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.65);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  position: relative;
  animation: modalPop 0.3s var(--ease-spring);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all var(--duration-fast);
}

.modal-close-btn:hover {
  background: var(--rose);
  color: #FFFFFF;
  border-color: var(--rose);
}

.modal-body {
  padding: 2.5rem;
}

/* Footer */
.footer {
  background: #F8FAFC;
  border-top: 1px solid var(--border-light);
  padding: 5rem 0 2.5rem 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

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

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

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.925rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Floating Action / Back to top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--duration-fast);
  z-index: 900;
}

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

.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-accent);
}
