/* ========================================
   Media City Group - Shared Styles
   ======================================== */

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

:root {
  --brand: #06b6d4;
  --brand-dark: #0891b2;
  --brand-light: #22d3ee;
  --brand-glow: rgba(6, 182, 212, 0.15);
  --bg-primary: #030712;
  --bg-secondary: #0a0f1e;
  --bg-card: #0f1629;
  --bg-card-hover: #151d35;
  --border-color: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
  --carousel-speed: 40s;
  --carousel-gap: 16px;
  --carousel-height: 220px;
}

[data-theme="light"] {
  --brand: #0891b2;
  --brand-dark: #06b6d4;
  --brand-light: #22d3ee;
  --brand-glow: rgba(6, 182, 212, 0.12);
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --border-color: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.16);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .hero h1 {
  color: #f8fafc;
}

[data-theme="light"] .hero p {
  color: #94a3b8;
}

[data-theme="light"] .company-desc {
  color: #94a3b8;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-secondary);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition);
}

.nav-menu {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-menu .nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.nav-menu .nav-link:hover,
.nav-menu .nav-link.active {
  color: var(--text-primary);
  background: var(--brand-glow);
}

.nav-cta .btn {
  padding: 10px 24px;
  font-size: 14px;
}

.header.scrolled {
  background: var(--bg-secondary);
  box-shadow: var(--shadow);
}

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

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

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  letter-spacing: -0.5px;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--brand-glow);
}

.nav-cta {
  padding: 10px 24px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
}

.nav-cta:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.sister-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.sister-links a {
  font-size: 12px;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  transition: all var(--transition);
}

.sister-links a:hover {
  color: var(--brand);
  border-color: var(--brand);
}

.header-social {
  display: flex;
  gap: 8px;
  align-items: center;
}

.header-social .social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.header-social .social-link:hover {
  background: var(--brand-glow);
  border-color: var(--brand);
  color: var(--brand);
}

.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--brand-glow);
  border-color: var(--brand);
  color: var(--brand);
}

.theme-toggle svg {
  transition: transform 0.4s ease, opacity 0.4s ease;
}

[data-theme="dark"] .theme-toggle .sun-icon,
.theme-toggle .sun-icon {
  display: block;
}

[data-theme="dark"] .theme-toggle .moon-icon,
.theme-toggle .moon-icon {
  display: none;
}

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

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  position: relative;
  overflow: hidden;
  background-color: #030712;
  background-image: linear-gradient(rgba(3, 7, 18, 0.85), rgba(3, 7, 18, 0.7)), url("../images/hero-bg.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--brand);
  border-radius: 50%;
  opacity: 0.3;
  animation: float-particle 8s infinite ease-in-out;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 60%; left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { top: 40%; left: 80%; animation-delay: 2s; }
.particle:nth-child(4) { top: 80%; left: 60%; animation-delay: 3s; }
.particle:nth-child(5) { top: 30%; left: 50%; animation-delay: 4s; }
.particle:nth-child(6) { top: 70%; left: 30%; animation-delay: 5s; }
.particle:nth-child(7) { top: 50%; left: 70%; animation-delay: 6s; }
.particle:nth-child(8) { top: 10%; left: 90%; animation-delay: 7s; }

@keyframes float-particle {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-30px) scale(1.5); opacity: 0.6; }
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-glow-1 {
  width: 400px;
  height: 400px;
  background: rgba(6, 182, 212, 0.15);
  top: 10%;
  left: 10%;
  animation: glow-move-1 10s infinite ease-in-out;
}

.hero-glow-2 {
  width: 300px;
  height: 300px;
  background: rgba(59, 130, 246, 0.1);
  bottom: 10%;
  right: 10%;
  animation: glow-move-2 12s infinite ease-in-out;
}

@keyframes glow-move-1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(50px, 30px); }
}

@keyframes glow-move-2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-40px, -30px); }
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.floating-element {
  position: absolute;
  animation: float 6s ease-in-out infinite;
  opacity: 0.4;
}

.fe-1 { top: 15%; left: 8%; animation-delay: 0s; }
.fe-2 { top: 25%; right: 10%; animation-delay: 2s; }
.fe-3 { bottom: 20%; left: 15%; animation-delay: 4s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-orbits {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  pointer-events: none;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(6, 182, 212, 0.1);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.orbit-1 { width: 300px; height: 300px; animation: spin 20s linear infinite; }
.orbit-2 { width: 450px; height: 450px; animation: spin 30s linear infinite reverse; }
.orbit-3 { width: 550px; height: 550px; animation: spin 40s linear infinite; }

@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.orbit-icon {
  position: absolute;
  color: var(--brand);
  opacity: 0.3;
}

.orbit-icon:nth-of-type(4) { top: 5%; left: 50%; transform: translateX(-50%); }
.orbit-icon:nth-of-type(5) { top: 50%; right: 5%; transform: translateY(-50%); }
.orbit-icon:nth-of-type(6) { bottom: 5%; left: 50%; transform: translateX(-50%); }
.orbit-icon:nth-of-type(7) { top: 50%; left: 5%; transform: translateY(-50%); }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  position: relative;
  z-index: 2;
}

.hero-stats .stat-item h3 {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-stats .stat-item p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: auto;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--brand-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--brand-glow);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-light);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}

.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-glow);
}

/* --- Section Styles --- */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--brand-glow);
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-light);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

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

/* --- Companies Section --- */
.companies-section {
  background: var(--bg-primary);
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.company-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all var(--transition);
  text-align: center;
}

.company-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.company-logo-wrapper {
  margin-bottom: 24px;
}

.company-logo-svg {
  display: inline-block;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition);
}

.company-card:hover .company-logo-svg {
  transform: scale(1.05);
}

.company-logo-svg.blue { filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.3)); }
.company-logo-svg.cyan { filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.3)); }
.company-logo-svg.amber { filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.3)); }

.company-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.company-tagline {
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.company-desc {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
  text-align: left;
}

.company-services {
  text-align: left;
  margin-bottom: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.company-services h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.company-services ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.company-services li {
  color: var(--text-secondary);
  font-size: 14px;
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

.company-services li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.company-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
}

.company-link.blue { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.company-link.cyan { background: rgba(6, 182, 212, 0.15); color: #06b6d4; }
.company-link.amber { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }

.company-link:hover {
  gap: 12px;
  transform: translateX(4px);
}

.company-link.blue:hover { background: rgba(59, 130, 246, 0.25); }
.company-link.cyan:hover { background: rgba(6, 182, 212, 0.25); }
.company-link.amber:hover { background: rgba(245, 158, 11, 0.25); }

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}

.service-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--brand-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  margin-bottom: 20px;
}

.service-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* --- Digital Services Grid --- */
.digital-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.digital-service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}

.digital-service-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.digital-service-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.digital-service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.digital-service-icon.blue { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.digital-service-icon.green { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.digital-service-icon.amber { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.digital-service-icon.purple { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }
.digital-service-icon.pink { background: rgba(236, 72, 153, 0.15); color: #ec4899; }
.digital-service-icon.cyan { background: rgba(6, 182, 212, 0.15); color: #06b6d4; }

.digital-service-header h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.service-status {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

.service-status.active {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.service-status.coming-soon {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.digital-service-card > p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-details {
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.service-details h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-details ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-details li {
  color: var(--text-secondary);
  font-size: 14px;
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

.service-details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

/* --- Stats Section --- */
.stats {
  padding: 80px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: center;
  padding: 24px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* --- CTA Section --- */


/* --- Footer --- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 16px;
  line-height: 1.7;
}

.footer h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: all var(--transition);
}

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

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact li {
  color: var(--text-secondary);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 13px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 14px;
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--brand-glow);
  border-color: var(--brand);
  color: var(--brand);
}

/* --- Page Hero --- */
.page-hero {
  padding: 140px 0 60px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, var(--brand-glow) 0%, transparent 60%),
              var(--bg-primary);
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

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

.breadcrumb a:hover {
  color: var(--brand);
}

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

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.page-hero h1 span {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* --- About Grid --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-content h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.about-content p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-visual {
  background: linear-gradient(135deg, var(--brand-glow), var(--bg-card));
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.team-card .role {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.team-bio {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

/* --- Contact Info Bar (Team Section) --- */
.contact-info-bar {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
  padding: 20px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.contact-item svg {
  color: var(--brand);
  flex-shrink: 0;
}

/* --- Team Photo Interface --- */
.team-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  position: relative;
  background: var(--bg-card-hover);
  border: 3px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: all var(--transition);
}

.team-card:hover .team-photo {
  border-color: var(--brand);
  box-shadow: 0 0 20px var(--brand-glow);
}

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

.photo-placeholder-text {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Company Premises Section --- */
.company-premises {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 32px;
  transition: all var(--transition);
}

.company-premises:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* --- Photo Gallery for Realization Images --- */
.photo-gallery {
  width: 100%;
  height: 250px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}

.premises-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform var(--transition);
}

.company-premises:hover .premises-img {
  transform: scale(1.05);
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all var(--transition);
  padding: 20px;
  text-align: center;
}

.gallery-placeholder:hover {
  border-color: var(--brand);
  background: var(--brand-glow);
}

.gallery-placeholder p {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

.gallery-note {
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 12px;
  border-radius: 100px;
}

/* --- Empty Staff Cards (Vacant positions) --- */
.empty-staff {
  opacity: 0.6;
  border-style: dashed;
  border-color: var(--border-hover);
}

.empty-staff .staff-photo {
  opacity: 0.5;
}

.empty-staff h5 {
  color: var(--text-muted);
  font-weight: 500;
}

.empty-staff p {
  color: var(--text-muted);
  font-style: italic;
}

.sub-section {
  margin-top: 48px;
}

.section-subtitle {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.carousel-seamless {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 95%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 95%,
    transparent 100%
  );
}

.carousel-seamless-track {
  display: flex;
  gap: var(--carousel-gap);
  width: max-content;
  will-change: transform;
  animation: scroll-seamless var(--carousel-speed) linear infinite;
}

.carousel-seamless:hover .carousel-seamless-track {
  animation-play-state: paused;
}

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

.carousel-seamless-item {
  flex-shrink: 0;
  height: var(--carousel-height);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.3s ease;
}

.carousel-seamless-item:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.carousel-seamless-item img {
  height: var(--carousel-height);
  width: auto;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.team-groups {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.team-image-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.team-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.team-group {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
}

.team-group-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

.team-group .staff-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.premises-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.premises-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.premises-logo.blue { filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3)); }
.premises-logo.cyan { filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.3)); }
.premises-logo.amber { filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.3)); }

.premises-header h3 {
  font-size: 20px;
  font-weight: 800;
}

.premises-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.premises-image {
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.image-placeholder {
  width: 100%;
  height: 250px;
  background: var(--bg-primary);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all var(--transition);
}

.image-placeholder:hover {
  border-color: var(--brand);
  background: var(--brand-glow);
}

.image-placeholder p {
  font-size: 13px;
  color: var(--text-muted);
}

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

.premises-staff h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.staff-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.staff-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition);
}

.staff-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.staff-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

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

.staff-card h5 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.staff-card p {
  font-size: 12px;
  color: var(--text-muted);
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.team-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
}

.team-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-card .role {
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.team-card p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

/* --- Portfolio Grid --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.portfolio-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.portfolio-image {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
}

.portfolio-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, var(--bg-card));
}

.portfolio-content {
  padding: 24px;
}

.portfolio-content .tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--brand-glow);
  color: var(--brand-light);
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 12px;
}

.portfolio-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.portfolio-content p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* --- News Grid --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.news-card {
  background: var(--bg-card);
  border:1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.news-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.news-image {
  height: 180px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 16px;
  position: relative;
}

.news-category {
  padding: 4px 12px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-content {
  padding: 24px;
}

.news-date {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

.news-content h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-content p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
}

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

/* --- Coverage Section --- */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.coverage-card {
  background: var(--bg-card);
  border:1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.coverage-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.coverage-icon {
  margin-bottom: 16px;
}

.coverage-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.coverage-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

/* --- CTA Section --- */
.cta-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at center, var(--brand-glow) 0%, transparent 70%),
              var(--bg-secondary);
}

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

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}

.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

.btn-outline-service {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--brand);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  margin-top: 16px;
  transition: all var(--transition);
  text-align: center;
}

.btn-outline-service:hover {
  background: var(--brand-glow);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.2);
  gap: 12px;
}

.btn-outline-service svg {
  transition: transform var(--transition);
}

.btn-outline-service:hover svg {
  transform: translateX(4px);
}

/* --- Contact Grid --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
}

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

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--brand-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-card p {
  color: var(--text-secondary);
  font-size: 14px;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* --- Process Section --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.process-step {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  position: relative;
  transition: all var(--transition);
}

.process-step:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.process-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  margin: 0 auto 20px;
}

.process-step h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links,
  .sister-links,
  .nav-cta,
  .header-social {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav.mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 24px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .cards-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
  }
}
