:root {
  --primary: #64748b;
  --primary-foreground: #FFFFFF;
  --secondary: #3C4E67;
  --secondary-foreground: #FFFFFF;
  --accent: #895AF6;
  --accent-foreground: #FFFFFF;
  --background: #0F172A;
  --foreground: #F8FAFC;
  --card: #1E293B;
  --card-foreground: #F8FAFC;
  --border: #334155;
  --input: #334155;
  --ring: #64748b;
  --muted: #1E293B;
  --muted-foreground: #94A3B8;
  --font-family: 'Roboto', sans-serif;
  --radius: 1rem;
}

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

body {
  font-family: var(--font-family);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-wrap: break-word;
}

img {
  max-width: 100%;
  height: auto;
}

.hidden {
  display: none !important;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 600;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

/* Buttons */
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

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

.btn-outline {
  background: transparent;
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid var(--primary);
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

@media (max-width: 768px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Navigation */
.navbar {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.navbar .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.nav-brand .logo-img {
  height: 40px;
  width: auto;
}

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

.nav-links a {
  color: var(--foreground);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.nav-links a:hover {
  background: var(--muted);
  color: var(--primary);
}

.datastramhubvex_mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--foreground);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.datastramhubvex_mobile-menu {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}

.datastramhubvex_mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--card-foreground);
  border-bottom: 1px solid var(--border);
}

.datastramhubvex_mobile-menu a:hover {
  background: var(--muted);
}

@media (max-width: 768px) {
  .navbar .container {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .nav-links {
    display: none;
  }
  
  .datastramhubvex_mobile-menu-toggle {
    display: block;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--primary-foreground);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
  clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

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

.hero-content {
  max-width: 60%;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 0;
  }
  
  .hero-background {
    display: none;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Sections */
section {
  padding: 7rem 0;
}

section:nth-child(even) {
  background: var(--muted);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  color: var(--foreground);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--muted-foreground);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.page-header {
  background: var(--muted);
  padding: 4rem 0;
  text-align: center;
}

.page-header h1 {
  color: var(--foreground);
  margin-bottom: 1rem;
}

.page-header p {
  color: var(--muted-foreground);
  font-size: 1.1rem;
}

.legal-updated {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  margin-top: 1rem;
}

/* Cards */
.feature-card,
.service-card,
.pricing-card,
.portfolio-card,
.team-card {
  background: var(--card);
  color: var(--card-foreground);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.feature-card:hover,
.service-card:hover,
.pricing-card:hover,
.portfolio-card:hover,
.team-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-image,
.portfolio-image {
  width: 100%;
  height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.feature-image img,
.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Icons */
.icon-box {
  background: rgba(100, 116, 139, 0.1);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 24px; height: 24px; }
.icon-lg { width: 32px; height: 32px; }

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

/* About Section */
.about-content,
.story-content,
.office-content,
.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image,
.story-image,
.office-image,
.location-image {
  border-radius: var(--radius);
  overflow: hidden;
}

@media (max-width: 768px) {
  .about-content,
  .story-content,
  .office-content,
  .location-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Stats Section */
.stats-section {
  background: var(--primary);
  color: var(--primary-foreground);
}

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

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Process Steps */
.process-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.step-number {
  background: var(--primary);
  color: var(--primary-foreground);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

/* Testimonials */
.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-container {
  position: relative;
  overflow: hidden;
}

.testimonial-card {
  background: var(--card);
  padding: 3rem;
  border-radius: var(--radius);
  text-align: center;
  margin: 0 1rem;
  
  transform: translateX(100%);
  transition: all 0.5s ease;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

.testimonial-content p {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--card-foreground);
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-info h4 {
  color: var(--card-foreground);
  margin-bottom: 0.25rem;
}

.author-info p {
  color: var(--muted-foreground);
  margin: 0;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-prev,
.testimonial-next {
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: var(--secondary);
  transform: scale(1.1);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, rgba(100,116,139,0.3), rgba(139,92,246,0.3));
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  margin: 2rem 0;
  color: var(--foreground);
}

.cta-content {
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  z-index: 2;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  border-radius: var(--radius);
  overflow: hidden;
}

.cta-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.cta-content h2 {
  color: var(--foreground);
  margin-bottom: 1rem;
}

.cta-content p {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Forms */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--input);
  color: var(--foreground);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.1);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--foreground);
}

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

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

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
}

.checkbox-text {
  color: var(--foreground);
}

.success-message {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid #22c55e;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  color: var(--foreground);
}

.success-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.success-icon {
  color: #22c55e;
  width: 48px;
  height: 48px;
}

/* Services Page */
.service-toggle {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--card);
  color: var(--card-foreground);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.service-toggle:hover {
  background: var(--muted);
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-header h3 {
  margin: 0;
}

.toggle-icon {
  transition: transform 0.3s ease;
}

.service-toggle[aria-expanded="true"] .toggle-icon {
  transform: rotate(180deg);
}

.service-content {
  padding: 0 1.5rem;
  margin-bottom: 2rem;
}

.service-details {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: start;
}

.service-details img {
  width: 100%;
  border-radius: var(--radius);
}

.service-info ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.service-info li {
  margin-bottom: 0.5rem;
  color: var(--card-foreground);
}

.pricing-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.price {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
}

@media (max-width: 768px) {
  .service-details {
    grid-template-columns: 1fr;
  }
  
  .pricing-info {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}

/* Pricing Cards */
.pricing-card {
  position: relative;
  text-align: center;
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
}

.price-display {
  margin: 2rem 0;
}

.currency {
  font-size: 1.25rem;
  vertical-align: top;
}

.amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
}

.period {
  color: var(--muted-foreground);
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.features-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--card-foreground);
}

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

/* FAQ */
.faq-question {
  width: 100%;
  background: var(--card);
  border: none;
  padding: 1.5rem;
  text-align: left;
  cursor: pointer;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  color: var(--card-foreground);
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--muted);
}

.faq-question span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--foreground);
}

.faq-answer ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.faq-answer li {
  margin-bottom: 0.5rem;
}

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

.team-avatar {
  text-align: center;
  margin-bottom: 1.5rem;
}

.avatar-icon {
  width: 80px;
  height: 80px;
  color: var(--primary);
}

.team-role {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.expertise-tag,
.skill-tag,
.highlight-tag {
  background: rgba(100, 116, 139, 0.1);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Portfolio */
.portfolio-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
}

.portfolio-image {
  position: relative;
}

.portfolio-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.portfolio-results {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

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

.result-item strong {
  display: block;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.result-item span {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Contact Page */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-text h4 {
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.contact-info-text p {
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

.contact-details {
  margin: 2rem 0;
}

.contact-item,
.detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.legal-document {
  color: var(--foreground);
}

.legal-document h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.legal-document h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.legal-document ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

.legal-document li {
  margin-bottom: 0.5rem;
}

.company-details,
.contact-details,
.authority-details {
  background: var(--muted);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin: 2rem 0;
}

/* Cookie Table */
.cookie-table {
  overflow-x: auto;
  margin: 2rem 0;
}

.cookie-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
}

.cookie-table th,
.cookie-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: var(--card-foreground);
}

.cookie-table th {
  background: var(--muted);
  font-weight: 600;
}

/* Cookie Consent */
.datastramhubvex_cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  z-index: 2000;
  backdrop-filter: blur(12px);
}

.datastramhubvex_cookie-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.datastramhubvex_cookie-banner-text {
  flex: 1;
}

.datastramhubvex_cookie-banner-text p {
  margin: 0;
  color: var(--card-foreground);
}

.datastramhubvex_cookie-banner-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.datastramhubvex_cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.datastramhubvex_cookie-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.datastramhubvex_cookie-modal-content {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  position: relative;
  z-index: 1;
  color: var(--card-foreground);
}

.cookie-toggles {
  margin: 2rem 0;
}

.datastramhubvex_cookie-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.datastramhubvex_cookie-toggle-row:last-child {
  border-bottom: none;
}

.datastramhubvex_cookie-modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .datastramhubvex_cookie-banner-inner {
    flex-direction: column;
    gap: 1rem;
  }
  
  .datastramhubvex_cookie-banner-actions {
    width: 100%;
    justify-content: center;
  }
  
  .datastramhubvex_cookie-modal-actions {
    flex-direction: column;
  }
}

/* Footer */
.footer {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 4rem 0 2rem;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand .logo-img {
  height: 40px;
  width: auto;
}

.footer-brand p {
  opacity: 0.85;
  font-size: 0.9rem;
}

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

.footer-column h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-column a {
  display: block;
  color: var(--primary-foreground);
  opacity: 0.85;
  padding: 0.25rem 0;
  font-size: 0.9rem;
}

.footer-column a:hover {
  opacity: 1;
}

.footer-contact h4 {
  margin-bottom: 1rem;
}

.footer-contact p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

.footer-contact a {
  color: var(--primary-foreground);
  opacity: 0.85;
}

.footer-contact a:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Animation Classes */
.animate-hide {
  opacity: 0;
  transform: translateX(-40px);
}

.animate-hide:nth-child(even) {
  transform: translateX(40px);
}

.animate-in {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
  
  section {
    padding: 5rem 0;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
  
  section {
    padding: 3rem 0;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .btn-primary,
  .btn-outline {
    width: 100%;
    text-align: center;
  }
  
  .cta-actions {
    flex-direction: column;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus States */
button:focus,
.btn-primary:focus,
.btn-outline:focus,
.form-input:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .navbar,
  .datastramhubvex_cookie-banner,
  .datastramhubvex_cookie-modal,
  .footer {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .container {
    max-width: none;
    padding: 0;
  }
}

/* === CLASS ALIAS FIXES (injected by engine) === */
.hero-text { /* alias for .hero-content */ }
.hero-text {
  max-width: 60%;
}

/* === BASELINE SAFETY CSS (injected by engine) === */

/* Ensure .hidden works consistently even with ID-specific overrides */
.hidden { display: none !important; }

/* Prevent content overflow breaking layout */
img, video, iframe { max-width: 100%; height: auto; }
* { box-sizing: border-box; }

/* Ensure container has responsive padding */
.container { width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }

/* Prevent flex/grid children from overflowing */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Responsive grid fallbacks */
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Ensure forms don't break layout */
.form-input, input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  max-width: 100%;
}

/* Success message styling */
.success-message {
  margin-top: 1rem;
  padding: 1rem;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: 0.5rem;
  color: #065f46;
  text-align: center;
}

/* Stacking context for hero sections — prevents z-index:-1 children from going behind the page */
.hero, .hero-section, .page-header, .cta, .cta-section { isolation: isolate; position: relative; }

/* Desktop nav injected by engine — show on desktop, hide on mobile */
.nav-menu { display: flex; align-items: center; gap: 1.5rem; }
.nav-menu .nav-link { text-decoration: none; color: var(--foreground, #1f2937); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-menu .nav-link:hover { color: var(--primary, #2563eb); }
@media (max-width: 768px) {
  .nav-menu { display: none !important; }
}

/* Fixed header body padding safety */
body { min-height: 100vh; }

/* Prevent long words breaking layout */
h1, h2, h3, h4, p, li, td, th { overflow-wrap: break-word; word-wrap: break-word; }

/* === END BASELINE SAFETY CSS === */

/* Cookie banner visibility rules */
#datastramhubvex_cookie-banner.hidden, #cookie-consent-banner.hidden { display: none !important; }
#datastramhubvex_cookie-banner:not(.hidden), #cookie-consent-banner:not(.hidden) { display: block !important; }
#datastramhubvex_cookie-modal.hidden { display: none !important; }
.hidden { display: none !important; }

/* === DATASTRAMHUBVEX: Missing classes + dark theme fixes === */

/* Utility */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.text-xl { font-size: 1.5rem; }
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.prose { max-width: 65ch; line-height: 1.75; }
.prose p { margin-bottom: 1rem; color: var(--muted-foreground); }
.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
.table-full { width: 100%; border-collapse: collapse; border: 1px solid var(--border); }
.table-head { background: var(--muted); }
.table-cell { border: 1px solid var(--border); padding: 0.75rem 1rem; text-align: left; color: var(--foreground); }

/* icon-box on dark theme */
.icon-box { background: rgba(100,116,139,0.2); color: var(--primary-foreground); }
.icon-box i, .icon-box svg { color: var(--primary-foreground) !important; stroke: var(--primary-foreground) !important; }

/* hero-image */
.hero-image { flex-shrink: 0; width: 44%; height: 400px; border-radius: var(--radius); overflow: hidden; position: relative; z-index: 2; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 768px) { .hero-image { width: 100%; height: 260px; } }

/* Section wrappers */
.features-overview, .why-choose-us, .about-preview, .process-steps,
.testimonials, .client-testimonials, .cta-section,
.company-story, .timeline-section, .mission-values, .expertise-areas,
.company-achievements, .location-info, .contact-info-bar, .contact-cta,
.contact-specialised, .faq-section, .services-overview, .pricing-summary,
.portfolio-overview, .success-metrics, .team-expertise-areas,
.team-members, .team-intro, .team-values, .join-team { padding: 5rem 0; }

/* About/story layouts */
.about-text, .story-text, .intro-content, .overview-content { display: flex; flex-direction: column; gap: 1rem; }
.about-text p, .story-text p { color: var(--muted-foreground); }

/* Achievement */
.achievements-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.achievement-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; text-align: center; }
.achievement-item h3 { font-size: 2rem; font-weight: 800; color: var(--primary); margin-bottom: 0.5rem; }
.achievement-item p { color: var(--muted-foreground); font-size: 0.875rem; margin: 0; }
@media (max-width: 768px) { .achievements-grid { grid-template-columns: 1fr; } }

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 2rem; max-width: 800px; margin: 2rem auto 0; }
.timeline-item { display: flex; gap: 2rem; align-items: flex-start; }
.timeline-marker { width: 3rem; height: 3rem; border-radius: 50%; background: var(--primary); color: var(--primary-foreground); display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.timeline-year { font-weight: 700; color: var(--primary); min-width: 3.5rem; flex-shrink: 0; }
.timeline-content h3 { margin-bottom: 0.25rem; }
.timeline-content p { color: var(--muted-foreground); font-size: 0.875rem; margin: 0; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.testimonial-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.testimonial-content { border-left: 3px solid var(--primary); padding-left: 1rem; margin-bottom: 1.5rem; }
.testimonial-content p { font-style: italic; color: var(--foreground); margin: 0; }
.testimonial-author { display: flex; flex-direction: column; gap: 0.2rem; }
@media (max-width: 768px) { .testimonials-grid, .achievements-grid { grid-template-columns: 1fr; } }

/* Services */
.service-item, .service-category { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1rem; }
.service-list, .skills-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.category-header { font-size: 1.125rem; font-weight: 600; margin-bottom: 1rem; }

/* FAQ */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 0.75rem; background: var(--card); }
.faq-question { width: 100%; padding: 1.25rem 1.5rem; background: none; border: none; text-align: left; font-size: 1rem; font-weight: 500; color: var(--foreground); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-answer { display: none; padding: 1rem 1.5rem 1.5rem; color: var(--muted-foreground); font-size: 0.9rem; border-top: 1px solid var(--border); }
.faq-item.active .faq-answer { display: block; }
.faq-list { display: flex; flex-direction: column; }
.faq-contact { margin-top: 2rem; text-align: center; }

/* Portfolio */
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 2rem; }
.portfolio-content { padding: 1.5rem; }
.portfolio-cta, .portfolio-stats { margin-top: 2rem; }
.portfolio-projects { display: flex; flex-direction: column; gap: 2rem; }
@media (max-width: 768px) { .portfolio-grid { grid-template-columns: 1fr; } }

/* Contact */
.contact-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.contact-actions { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.contact-cta { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: var(--primary-foreground); text-align: center; padding: 5rem 0; }

/* Metrics */
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.metric-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; text-align: center; }
.metric-value { font-size: 2rem; font-weight: 800; color: var(--primary); display: block; margin-bottom: 0.5rem; }

/* Mission/values */
.mission-card, .value-card, .values-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; border-top: 4px solid var(--primary); }
.mission-values .grid-3, .mission-values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }

/* Expertise */
.expertise-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.expertise-category { font-size: 0.75rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.advantage-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }

/* Team */
.team-info, .team-intro { display: flex; flex-direction: column; gap: 1rem; }
.team-values { display: flex; flex-direction: column; gap: 1rem; }
.team-expertise, .team-expertise-areas { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; }
.expertise-tag { background: var(--muted); color: var(--muted-foreground); font-size: 0.7rem; padding: 0.2rem 0.6rem; border-radius: 9999px; }

/* Join team */
.join-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.join-actions { display: flex; flex-direction: column; gap: 1rem; }
@media (max-width: 768px) { .join-content { grid-template-columns: 1fr; } }

/* Location */
.office-info, .office-text { color: var(--muted-foreground); }
.office-details { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.location-text { display: flex; flex-direction: column; gap: 1rem; }

/* Pricing summary */
.pricing-summary { }

/* nth-child dark sections need !important */
/* datastramhubvex: cta-section=8(even) - muted bg override, hero gradient, stats=5(odd) */
/* Protect dark sections from nth-child muted override */
section.cta-section,
section.cta,
section.hero,
section.stats-section,
section.newsletter {
  background-color: unset;
}

.cta-text { color: var(--primary-foreground); opacity: 0.9; margin-bottom: 2rem; }
.form-header { margin-bottom: 2rem; }
.form-actions { margin-top: 1.5rem; }
.service-categories { padding: 5rem 0; }

/* Contact item - white bg in footer fix */
.footer .contact-item {
  background: transparent !important;
  padding: 0.3rem 0 !important;
  border-radius: 0 !important;
}
.footer .contact-item p, .footer .contact-item a {
  color: rgba(255,255,255,0.7) !important;
}
.footer .contact-item a:hover { color: #fff !important; }

/* Contact-content scope fix */
.contact-section > .container > .contact-content {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 4rem !important;
  align-items: start !important;
}
/* Inner contact-content (text block inside contact-item) should NOT be grid */
.contact-item .contact-content,
.contact-details .contact-content {
  display: block !important;
  grid-template-columns: unset !important;
}
