:root {
  --primary: #000000;
  --primary-foreground: #FFFFFF;
  --secondary: #DC2626;
  --secondary-foreground: #FFFFFF;
  --accent: #16A34A;
  --accent-foreground: #111827;
  --background: #FFFFFF;
  --foreground: #111827;
  --card: #FFFFFF;
  --card-foreground: #111827;
  --border: #E5E7EB;
  --input: #E5E7EB;
  --ring: #000000;
  --muted: #F3F4F6;
  --muted-foreground: #6B7280;
  --font-family: 'Open Sans', sans-serif;
  --radius: 1rem;
}

* {
  box-sizing: border-box;
}

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

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

/* Utility Classes */
.hidden {
  display: none !important;
}

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

.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted-foreground); }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.mb-4 { margin-bottom: 1rem; }

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

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

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

/* Icons */
.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 1.5rem; height: 1.5rem; }
.icon-lg { width: 2rem; height: 2rem; }

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--muted);
  border-radius: 50%;
  box-shadow: 8px 8px 16px #d1d1d1, -8px -8px 16px #ffffff;
  margin-bottom: 1rem;
}

/* Buttons */
.btn-primary, .btn-outline {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

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

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

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

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

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

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

.form-input:focus {
  outline: none;
  border-color: var(--primary);
}

/* Success Message */
.success-message {
  background: var(--muted);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
}

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

/* Logo */
.logo-img {
  height: 2.5rem;
  width: auto;
}

/* Top Bar */
.topbar {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

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

.topbar-left, .topbar-right {
  display: flex;
  gap: 1.5rem;
}

.topbar a {
  color: var(--primary-foreground);
  text-decoration: none;
}

.topbar span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .topbar-content {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .topbar-left, .topbar-right {
    gap: 1rem;
  }
}

/* Navigation */
.navbar {
  background: var(--background);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

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

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

.nav-link {
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.infovexis_mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
}

.infovexis_mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--background);
  border-top: 1px solid var(--border);
  z-index: 999;
}

.infovexis_mobile-menu-content {
  padding: 1rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 0;
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  
  .infovexis_mobile-menu-toggle {
    display: block;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--primary-foreground);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(0 0, 60% 0, 70% 100%, 0 100%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(220,38,38,0.5));
  clip-path: polygon(0 0, 60% 0, 70% 100%, 0 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
}

.hero-text {
  max-width: 600px;
  margin-left: auto;
  margin-right: 2rem;
}

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

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

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

@media (max-width: 768px) {
  .hero-image {
    clip-path: none;
  }
  
  .hero-overlay {
    clip-path: none;
    background: rgba(0,0,0,0.6);
  }
  
  .hero-text {
    margin: 0;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
}

/* Page Header */
.page-header {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
  padding: 4rem 0 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
}

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

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

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

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
}

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

/* Alternating backgrounds */
.features-section {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

.advantages-section {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

.about-preview {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

.stats-section {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

.process-section {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

/* Feature Cards */
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-image {
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
}

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

.feature-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--card-foreground);
}

.feature-content p {
  color: var(--muted-foreground);
}

/* Advantage Items */
.advantage-item {
  text-align: center;
  padding: 1.5rem;
}

.advantage-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.advantage-item p {
  color: var(--muted-foreground);
}

/* About Preview */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--muted-foreground);
}

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

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

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

/* Stats Section */
.stat-item {
  text-align: center;
  padding: 2rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.process-step {
  position: relative;
  text-align: center;
  padding: 2rem 1rem;
}

.step-number {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 3rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.step-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 1.5rem 1.5rem;
  height: 100%;
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--card-foreground);
}

.step-content p {
  color: var(--muted-foreground);
}

/* CTA Section */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--primary-foreground);
  text-align: center;
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

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

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(22,163,74,0.6));
}

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

.cta-content h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  .9;
}

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

/* Footer */
.footer {
  background: var(--muted);
  color: var(--foreground);
  padding: 3rem 0 1rem;
}

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

.footer-column h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a,
.contact-info a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover,
.contact-info a:hover {
  color: var(--secondary);
}

.company-info p,
.contact-info p {
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-divider {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 2rem 0 1rem;
}

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

.footer-legal-links {
  display: flex;
  gap: 1rem;
}

.footer-legal-links a {
  color: var(--primary);
  text-decoration: none;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Service Pages */
.service-section {
  padding: 4rem 0;
}

.service-section.alt-bg {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

.service-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.service-content.reverse {
  direction: rtl;
}

.service-content.reverse > * {
  direction: ltr;
}

.service-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.service-text p {
  margin-bottom: 1.5rem;
  color: var(--muted-foreground);
}

.service-features {
  margin: 2rem 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.service-pricing {
  background: var(--muted);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin: 2rem 0;
}

.service-pricing h4 {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

.service-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

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

/* Comparison Table */
.comparison-section {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
  padding: 4rem 0;
}

.comparison-table {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.comparison-header,
.comparison-row {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  align-items: center;
}

.comparison-header {
  background: var(--muted);
  font-weight: 600;
  color: var(--foreground);
}

.comparison-header > div,
.comparison-row > div {
  padding: 1rem;
  text-align: center;
}

.comparison-feature {
  text-align: left !important;
  font-weight: 500;
}

.comparison-row {
  border-bottom: 1px solid var(--border);
}

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

.comparison-check {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .comparison-table {
    overflow-x: auto;
  }
  
  .comparison-header,
  .comparison-row {
    min-width: 600px;
  }
}

/* About Page Styles */
.mission-section {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--primary-foreground);
  text-align: center;
  padding: 4rem 0;
}

.mission-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.mission-statement {
  font-size: 1.5rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  font-weight: 500;
}

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

.story-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.story-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.story-text p {
  margin-bottom: 1.5rem;
  color: var(--muted-foreground);
}

.story-image {
  border-radius: var(--radius);
  overflow: hidden;
  position: sticky;
  top: 2rem;
}

.story-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .story-content {
    grid-template-columns: 1fr;
  }
  
  .story-image {
    position: static;
  }
}

/* Values */
.values-section {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

.value-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  height: 100%;
}

.value-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--card-foreground);
}

.value-card p {
  color: var(--muted-foreground);
}

/* Expertise */
.expertise-section {
  padding: 4rem 0;
}

.expertise-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.expertise-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.expertise-text p {
  margin-bottom: 2rem;
  color: var(--muted-foreground);
}

.expertise-areas {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.expertise-details h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.expertise-details p {
  color: var(--muted-foreground);
  margin: 0;
}

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

.expertise-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

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

/* Achievements */
.achievements-section {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

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

.achievement-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.achievement-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--card-foreground);
}

.achievement-card p {
  color: var(--muted-foreground);
}

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

/* Commitment */
.commitment-section {
  padding: 4rem 0;
}

.commitment-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.commitment-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.commitment-text p {
  margin-bottom: 1.5rem;
  color: var(--muted-foreground);
}

.commitment-features {
  margin-top: 2rem;
}

.commitment-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

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

.commitment-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

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

/* Contact Page */
.contact-info-bar {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
  padding: 3rem 0;
}

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

.contact-info-item {
  text-align: center;
  padding: 1.5rem;
}

.contact-info-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.contact-info-content p {
  color: var(--muted-foreground);
}

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

@media (max-width: 480px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact Form */
.infovexis_contact-form-section {
  padding: 4rem 0;
}

.infovexis_contact-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.infovexis_contact-form-header {
  text-align: center;
  margin-bottom: 3rem;
}

.infovexis_contact-form-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.infovexis_contact-form-header p {
  color: var(--muted-foreground);
}

.infovexis_contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  color: var(--foreground);
}

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

.checkbox-label input[type="checkbox"] {
  margin-top: 0.25rem;
}

.checkbox-text {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

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

/* Additional Contact Methods */
.additional-contact-section {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

.contact-method-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.contact-method-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--card-foreground);
}

.contact-method-card p {
  margin-bottom: 0.5rem;
  color: var(--muted-foreground);
}

.contact-method-card strong {
  color: var(--foreground);
}

/* Company Info */
.company-info-section {
  padding: 4rem 0;
}

.company-info-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.company-info-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

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

.company-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.detail-item strong {
  color: var(--foreground);
}

.company-info-image {
  border-radius: var(--radius);
  overflow: hidden;
}

.company-info-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

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

/* Legal Content */
.legal-content {
  padding: 2rem 0 4rem;
}

.legal-document {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.legal-meta {
  background: var(--muted);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.legal-meta p {
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.legal-meta p:last-child {
  margin-bottom: 0;
}

.legal-document h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
  color: var(--foreground);
}

.legal-document h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 1.5rem 0 1rem;
  color: var(--foreground);
}

.legal-document p {
  margin-bottom: 1.5rem;
  color: var(--muted-foreground);
}

.legal-document ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  color: var(--muted-foreground);
}

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

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

.contact-details p {
  margin-bottom: 1rem;
  color: var(--foreground);
}

.contact-details p:last-child {
  margin-bottom: 0;
}

.contact-details a {
  color: var(--primary);
  text-decoration: none;
}

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

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

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

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

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

.cookie-table td {
  color: var(--muted-foreground);
}

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

/* FAQ Styles */
.faq-section {
  padding: 2rem 0 4rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: var(--card);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.faq-question h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
  color: var(--card-foreground);
}

.faq-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 1.5rem;
  max-height: 500px;
}

.faq-answer p {
  margin-bottom: 1rem;
  color: var(--muted-foreground);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* FAQ CTA */
.faq-cta-section {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
  text-align: center;
  padding: 4rem 0;
}

.faq-cta-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.faq-cta-content p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Portfolio Styles */
.portfolio-intro {
  background: linear-gradient(180deg, var(--background) 0%, var(--

/* === 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 */
#infovexis_cookie-banner.hidden, #cookie-consent-banner.hidden { display: none !important; }
#infovexis_cookie-banner:not(.hidden), #cookie-consent-banner:not(.hidden) { display: block !important; }
#infovexis_cookie-modal.hidden { display: none !important; }
.hidden { display: none !important; }
