/* ============================================================
   Expert DBA — Main Stylesheet
   Color: #215197 (navy) | Accent: #2E86DE | BG: #F7F9FC
   Font: Inter | Style: Premium IT, clean, spacious
   ============================================================ */

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

:root {
  --color-primary: #215197;
  --color-primary-dark: #1a3f7a;
  --color-primary-light: #2E86DE;
  --color-accent: #3498db;
  --color-text: #1a1a2e;
  --color-text-light: #555e6d;
  --color-text-muted: #8892a4;
  --color-bg: #ffffff;
  --color-bg-alt: #F7F9FC;
  --color-bg-dark: #0c1a33;
  --color-bg-darker: #081428;
  --color-border: #e2e8f0;
  --color-white: #ffffff;
  --color-success: #27ae60;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-primary-light); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -0.01em; }
h4 { font-size: 1.125rem; letter-spacing: -0.01em; }

p { color: var(--color-text-light); line-height: 1.8; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

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

.section-desc {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 640px;
}

.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-main);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(33,81,151,0.3);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(33,81,151,0.4);
}

.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
  border: 1.5px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  color: var(--color-white);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 20px; font-size: 0.875rem; }

.btn-arrow::after {
  content: '\2192';
  transition: transform 0.3s;
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(242,244,247,0.96);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

/* Transparent navbar state (over dark hero) */
.navbar.nav-transparent {
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}
.navbar.nav-transparent .nav-link {
  color: rgba(255,255,255,0.82) !important;
}
.navbar.nav-transparent .nav-link:hover {
  color: #ffffff !important;
  background: rgba(255,255,255,0.08) !important;
}
.navbar.nav-transparent .nav-link.active {
  color: #ffffff !important;
}
.navbar.nav-transparent .navbar-logo img {
  filter: brightness(0) invert(1) !important;
}
.navbar.nav-transparent .nav-toggle span {
  background: rgba(255,255,255,0.85) !important;
}

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

.navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 0;
  gap: 0;
}

.navbar-tagline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #4a5568;
  line-height: 1;
  white-space: nowrap;
}

.navbar-sep {
  color: #cbd5e0;
  font-weight: 300;
  font-size: 1.1rem;
  margin-left: 12px;
}

/* Transparent state — white tagline on dark hero */
.navbar.nav-transparent .navbar-tagline {
  color: rgba(255,255,255,0.55) !important;
}
.navbar.nav-transparent .navbar-sep {
  color: rgba(255,255,255,0.25) !important;
}

.navbar-logo img {
  height: 24px;
  width: auto;
  display: block;
  vertical-align: middle;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
  flex-shrink: 0;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 11px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--color-primary);
  background: var(--color-bg-alt);
}

.nav-link.active {
  color: var(--color-primary);
}

/* Dropdown arrow */
.nav-link .arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

/* Dropdown — pure CSS */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 280px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nav-item:hover .nav-link .arrow {
  transform: rotate(180deg);
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.dropdown a:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

.dropdown-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.dropdown-icon svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, #112240 50%, var(--color-primary-dark) 100%);
  overflow: hidden;
  padding-top: 72px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 20% 50%, rgba(33,81,151,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 600px 400px at 80% 30%, rgba(46,134,222,0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* Grid pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-content { max-width: 580px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(46,134,222,0.15);
  border: 1px solid rgba(46,134,222,0.25);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--color-success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero h1 {
  color: var(--color-white);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #3498db, #2E86DE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-graphic {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  position: relative;
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 300px;
  height: 300px;
  background: rgba(33,81,151,0.4);
  top: 10%;
  left: 10%;
}

.hero-orb-2 {
  width: 200px;
  height: 200px;
  background: rgba(46,134,222,0.3);
  bottom: 20%;
  right: 10%;
  animation-delay: -4s;
}

.hero-orb-3 {
  width: 150px;
  height: 150px;
  background: rgba(52,152,219,0.2);
  top: 40%;
  right: 30%;
  animation-delay: -2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

/* Database icon in hero */
.hero-db-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.hero-db-icon svg {
  width: 120px;
  height: 120px;
  color: rgba(255,255,255,0.15);
}

/* --- Stats --- */
.stats {
  position: relative;
  z-index: 3;
  margin-top: -60px;
  padding-bottom: 80px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.stat-item {
  padding: 40px 32px;
  text-align: center;
  background: var(--color-white);
  transition: var(--transition);
}

.stat-item:hover {
  background: var(--color-bg-alt);
}

.stat-number {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* --- Sections --- */
section {
  padding: 72px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

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

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--color-white);
}

.section-dark p {
  color: rgba(255,255,255,0.65);
}

.section-header {
  margin-bottom: 40px;
}

/* --- Services --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Services section — full viewport */
#uslugi {
  min-height: 100vh;
  display: flex;
  align-items: center;
}
#uslugi .container {
  width: 100%;
}

.service-card {
  position: relative;
  padding: 36px 28px;
  background: var(--color-white);
  border-radius: 10px;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  transition: var(--transition);
}

/* Per-card accent colors */
.service-card:nth-child(1)::before { background: #215197; }
.service-card:nth-child(2)::before { background: #7c3aed; }
.service-card:nth-child(3)::before { background: #059669; }
.service-card:nth-child(4)::before { background: #ea580c; }

.service-card:hover {
  border-color: rgba(33,81,151,0.15);
  box-shadow: 0 4px 24px rgba(33,81,151,0.08);
}

.service-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(33,81,151,0.07);
  border-radius: 8px;
  margin-bottom: 16px;
}

.service-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
}

.service-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.875rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: auto;
}

.service-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s;
}

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

/* --- Training --- */
.training-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.training-card {
  padding: 36px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.training-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-md);
  margin: 0 auto 20px;
}

.training-icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-white);
}

.training-card h3 { margin-bottom: 12px; }

.training-card p {
  font-size: 0.875rem;
  margin-bottom: 20px;
}

.training-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: var(--color-bg-alt);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.testimonial-card {
  padding: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

.testimonial-quote {
  position: relative;
  font-size: 0.775rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
  font-style: italic;
  flex: 1;
}

.testimonial-quote::before {
  content: '\201E';
  font-size: 1.4rem;
  color: var(--color-primary-light);
  line-height: 1;
  display: block;
  margin-bottom: 4px;
  font-style: normal;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-white);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-white);
}

.testimonial-company {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
}

/* --- Client Logos --- */
.logos-section { padding: 42px 0; background: #F2F4F7; }

.logos-track {
  display: flex;
  gap: 60px;
  align-items: center;
  animation: scroll 30s linear infinite;
}

.logos-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.logo-item {
  flex-shrink: 0;
  font-size: 1.88rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-muted);
  opacity: 0.5;
  transition: opacity 0.3s;
  white-space: nowrap;
  letter-spacing: 0.06em;
}

.logo-item:hover { opacity: 1; }

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

/* --- CTA --- */
/* ============================================================
   Ujednolicona sekcja CTA — używana na wszystkich stronach
   ============================================================ */
.site-cta {
  background: linear-gradient(135deg, #0d1b35 0%, #1a2f5e 100%);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.site-cta::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33,81,151,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.site-cta .container { position: relative; z-index: 2; }
.site-cta h2 {
  font-size: clamp(1.75rem, 3vw, 2.625rem);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  line-height: 1.15;
}
.site-cta p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.site-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.site-cta-buttons .btn,
.site-cta-phone {
  min-width: 220px;
  height: 52px;
  padding-top: 0;
  padding-bottom: 0;
  justify-content: center;
  box-sizing: border-box;
}
.site-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  line-height: 1;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding-left: 32px;
  padding-right: 32px;
  transition: color 0.3s, background 0.3s, border-color 0.3s;
}
.site-cta-phone:hover {
  color: white;
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
}
.site-cta-phone svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Stare klasy — zachowane dla kompatybilności */
.cta-section { padding: 100px 0; background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-primary-dark) 100%); }
.cta-content { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-content h2 { color: var(--color-white); margin-bottom: 16px; }
.cta-content p { color: rgba(255,255,255,0.65); font-size: 1.125rem; margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }

.cta-info a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
  transition: color 0.3s;
}

.cta-info a:hover { color: var(--color-white); }

.cta-info svg { width: 20px; height: 20px; }

/* --- Footer --- */
.footer {
  background: var(--color-bg-darker);
  padding: 80px 0 0;
  color: rgba(255,255,255,0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.5);
  margin-top: 16px;
  max-width: 300px;
  line-height: 1.7;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-white);
}

.footer-logo-img {
  height: 24px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

.footer-brand address {
  font-style: normal;
}

.footer-brand address p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-brand address a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
}

.footer-brand address a:hover {
  color: rgba(255,255,255,0.9);
}

.footer h4 {
  color: var(--color-white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

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

.footer-links li a {
  display: block;
  line-height: 1.8;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  border-top: 1px solid rgba(255,255,255,0.08);
}

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

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.45);
  transition: background 0.25s, color 0.25s;
}

.footer-social a:hover {
  background: var(--color-primary);
  color: white;
}

/* --- Page Header (Subpages) --- */
.page-header {
  padding: 112px 0 80px;
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, #112240 100%);
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  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;
  pointer-events: none;
}

.page-header .container { position: relative; z-index: 2; }

.page-header h1 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.page-header p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.6);
  max-width: 600px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  list-style: none;
  font-size: 0.875rem;
  margin-bottom: 24px;
}

.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--color-white); }
.breadcrumb .separator { color: rgba(255,255,255,0.25); }
.breadcrumb .current { color: rgba(255,255,255,0.8); }

/* --- Content Pages --- */
.content-section { padding: 80px 0; }

.content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
}

.content-main h2 {
  font-size: 1.75rem;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-bg-alt);
}

.content-main h2:first-child { margin-top: 0; }

.content-main p {
  margin-bottom: 16px;
}

.content-main ul, .content-main ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.content-main li {
  margin-bottom: 8px;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* Sidebar */
.sidebar { position: sticky; top: 96px; }

.sidebar-card {
  padding: 28px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.sidebar-card h4 {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary);
}

/* Feature list */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9375rem;
  color: var(--color-text-light);
}

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

.feature-check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-success);
  margin-top: 2px;
}

/* Info cards row */
/* Scope / Expert cards — used on service pages */
.scope-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.scope-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 24px 20px;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}
.scope-card:hover {
  box-shadow: 0 8px 32px rgba(33,81,151,0.12);
  transform: translateY(-4px);
  border-color: rgba(33,81,151,0.25);
}
.scope-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(33,81,151,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--color-primary);
}
.scope-icon svg { width: 20px; height: 20px; }
.scope-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 6px;
}
.scope-card p {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 1024px) { .scope-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .scope-grid { grid-template-columns: 1fr; } }

/* Why-us split layout */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.why-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-point-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(33,81,151,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}
.why-point-icon svg { width: 20px; height: 20px; }
.why-point h5 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}
.why-point p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 768px) { .why-grid { grid-template-columns: 1fr; gap: 40px; } }

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.info-card {
  padding: 28px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-primary);
}

.info-card h4 {
  margin-bottom: 8px;
  color: var(--color-primary);
}

.info-card p {
  font-size: 0.875rem;
  margin: 0;
}

/* SLA Table */
.sla-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 24px 0;
  border: 1px solid var(--color-border);
}

.sla-table th,
.sla-table td {
  padding: 14px 20px;
  text-align: left;
  font-size: 0.9375rem;
}

.sla-table th {
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.875rem;
}

.sla-table td {
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-light);
}

.sla-table tr:last-child td { border-bottom: none; }

.sla-table tr:nth-child(even) td {
  background: var(--color-bg-alt);
}

/* Training table */
.training-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.training-table th,
.training-table td {
  padding: 14px 20px;
  text-align: left;
  font-size: 0.9375rem;
}

.training-table th {
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.training-table td {
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-light);
}

.training-table tr:last-child td { border-bottom: none; }

.training-table tr:hover td {
  background: var(--color-bg-alt);
}

.training-table a {
  font-weight: 600;
}

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

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-main);
  font-size: 0.9375rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  transition: var(--transition);
  color: var(--color-text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(33,81,151,0.1);
}

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

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

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
}

.contact-info-item h4 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* --- Team --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.team-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

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

.team-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-white);
}

.team-card h3 { margin-bottom: 4px; font-size: 1.125rem; }
.team-card .role { color: var(--color-primary); font-weight: 600; font-size: 0.875rem; margin-bottom: 12px; }
.team-card p { font-size: 0.875rem; }

/* --- Scroll animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content { max-width: 100%; }
  .hero-desc { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-visual { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid .footer-brand { grid-column: 1 / -1; }
  .content-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .navbar-tagline {
    font-size: 0.7rem;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100dvh - 72px);
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 0;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    flex-shrink: 1;
    border-top: 1px solid var(--color-border);
    z-index: 999;
  }

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

  .nav-menu.open .nav-link,
  .nav-menu.open .nav-link.active,
  .nav-menu.open .nav-link:hover {
    color: var(--color-text) !important;
    background: transparent;
  }

  .nav-toggle { display: flex; }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) { opacity: 0; }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav-item {
    border-bottom: 1px solid var(--color-border);
  }

  .nav-link {
    padding: 16px 24px;
    font-size: 1rem;
    white-space: normal;
    justify-content: space-between;
    border-radius: 0;
  }

  .nav-link:hover {
    background: var(--color-bg-alt);
  }

  .dropdown {
    position: static;
    transform: none !important;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--color-border);
    border-radius: 0;
    padding: 8px 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    background: var(--color-bg-alt);
    min-width: unset;
    width: 100%;
  }

  .nav-item.active .dropdown {
    display: block;
  }

  .nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .dropdown a {
    padding: 12px 24px 12px 32px;
    font-size: 0.9375rem;
    border-radius: 0;
  }

  .dropdown a:hover {
    background: rgba(33,81,151,0.06);
  }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .training-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-header { padding: 120px 0 60px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-info { flex-direction: column; align-items: center; }
}
