:root {
  --primary: #64748b;
  --primary-foreground: #FFFFFF;
  --secondary: #F59F0A;
  --secondary-foreground: #111827;
  --accent: #16A249;
  --accent-foreground: #111827;
  --background: #FFFFFF;
  --foreground: #111827;
  --card: #FFFFFF;
  --card-foreground: #111827;
  --border: #E5E7EB;
  --input: #E5E7EB;
  --ring: #64748b;
  --muted: #F3F4F6;
  --muted-foreground: #6B7280;
  --font-family: 'Roboto', sans-serif;
  --radius: 0.5rem;
}

* {
  box-sizing: border-box;
}

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

.hidden {
  display: none !important;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 1rem 0;
  font-weight: 600;
  line-height: 1.3;
  color: var(--foreground);
}

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

p {
  margin: 0 0 1rem 0;
  color: var(--foreground);
}

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

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

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

ul, ol {
  margin: 0 0 1rem 0;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Text Utilities */
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted-foreground); }
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }

/* 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;
  }
}

/* Buttons */
.btn-primary,
.btn-outline {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--primary-foreground);
  border-color: transparent;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: var(--primary-foreground);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(100, 116, 139, 0.3);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(100, 116, 139, 0.3);
}

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

/* Icons */
.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.icon-md {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-lg {
  width: 2rem;
  height: 2rem;
}

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

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

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

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

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

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

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

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

.mobile-nav {
  background: var(--background);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}

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

.mobile-nav-link:hover {
  background: var(--muted);
  color: var(--primary);
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  
  .infrahubluxum_mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
  }
  
  .nav-wrapper {
    position: relative;
  }
}

/* Hero Section */
.hero {
  position: relative;
  padding: 7rem 0;
  background: #111;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  max-width: 100%;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff, var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

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

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

.hero-image img {
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 0;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
}

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

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

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

@media (max-width: 768px) {
  .page-header {
    padding: 2rem 0;
  }
  
  .page-header-content h1 {
    font-size: 2rem;
  }
  
  .page-header-content p {
    font-size: 1.125rem;
  }
}

/* Sections */
.newsletter-section,
.features-section,
.faq-preview-section,
.about-preview-section,
.partner-logos-section,
.why-choose-section,
.service-row,
.company-story-section,
.mission-values-section,
.team-section,
.achievements-section,
.why-work-section,
.contact-section,
.contact-options-section {
  padding: 7rem 0;
  background: var(--background);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

/* Newsletter */
.newsletter-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 3rem;
  border-radius: var(--radius);
  color: var(--primary-foreground);
}

.newsletter-text h2 {
  color: var(--primary-foreground);
  margin-bottom: 1rem;
}

.newsletter-text p {
  color: var(--primary-foreground);
  .9;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  min-width: 400px;
}

.newsletter-form .form-input {
  flex: 1;
  background: var(--background);
  border: none;
}

@media (max-width: 768px) {
  .newsletter-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .newsletter-form {
    min-width: auto;
    width: 100%;
    flex-direction: column;
  }
}

/* Feature Cards */
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

.feature-content {
  padding: 2rem;
}

.feature-content h3 {
  color: var(--card-foreground);
  margin-bottom: 1rem;
}

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

/* FAQ */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

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

.faq-question h3 {
  flex: 1;
  margin: 0;
  color: var(--card-foreground);
}

.faq-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

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

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

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

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

.about-image img {
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

/* Partner Logos */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.partner-item {
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.partner-item:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.partner-item p {
  margin: 1rem 0 0 0;
  font-weight: 500;
  color: var(--card-foreground);
}

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

/* Benefit Cards */
.benefit-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.benefit-card h3 {
  color: var(--card-foreground);
  margin-bottom: 1rem;
}

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

/* Value Cards */
.value-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.value-card h3 {
  color: var(--card-foreground);
  margin-bottom: 1rem;
}

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

/* Team Cards */
.team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.team-icon {
  width: 4rem;
  height: 4rem;
  color: var(--primary);
}

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

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

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

/* Company Story */
.company-story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

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

.story-image img {
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

/* Achievements */
.achievements-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.achievement-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

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

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

.achievements-image img {
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

/* Benefit Items */
.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.benefit-item h3 {
  color: var(--card-foreground);
  margin-bottom: 0.5rem;
}

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

/* Service Rows */
.service-row {
  padding: 4rem 0;
}

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

.service-row-reverse .service-text,
.service-row-reverse .service-image {
  direction: ltr;
}

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

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

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

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

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

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

.pricing-label {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin: 0;
}

.pricing-amount {
  color: var(--primary);
  font-size: 2rem;
  font-weight: 700;
  margin: 0.5rem 0;
}

.pricing-note {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin: 0;
}

.service-image img {
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .service-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .service-row-reverse .service-content {
    direction: ltr;
  }
}

/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.infrahubluxum_contact-form-container h2 {
  color: var(--foreground);
  margin-bottom: 1rem;
}

.infrahubluxum_contact-form-container p {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

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

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

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

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

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

select.form-input {
  cursor: pointer;
}

/* Contact Info */
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
}

.contact-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-card-header h3 {
  color: var(--card-foreground);
  margin: 0;
}

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

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

.map-placeholder {
  margin-top: 1.5rem;
  height: 200px;
  background: var(--muted);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-content {
  text-align: center;
  color: var(--muted-foreground);
}

.map-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.5rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.method-details h4 {
  margin: 0 0 0.25rem 0;
  color: var(--foreground);
}

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

.method-details a {
  color: var(--primary);
}

.response-times {
  background: var(--muted);
  padding: 1.5rem;
  border-radius: var(--radius);
}

.response-times h4 {
  color: var(--foreground);
  margin-bottom: 1rem;
}

.response-times ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.response-times li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.contact-option-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-option-card:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-option-card h3 {
  color: var(--card-foreground);
  margin-bottom: 1rem;
}

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

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

/* Success Message */
.success-message {
  background: linear-gradient(135deg, var(--accent), #22c55e);
  color: white;
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 1rem;
}

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

.success-icon {
  width: 3rem;
  height: 3rem;
}

.success-message h3 {
  color: white;
  margin: 0;
}

.success-message p {
  color: white;
  .9;
  margin: 0;
}

/* CTA Section */
.cta-section {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--primary-foreground);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

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

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

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

@media (max-width: 768px) {
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .cta-content p {
    font-size: 1.125rem;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

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

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

.footer-column h4 {
  color: var(--foreground);
  margin-bottom: 1rem;
}

.footer-description {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

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

.company-details p {
  margin-bottom: 0.25rem;
}

.company-details strong {
  color: var(--foreground);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--primary);
  transition: color 0.3s ease;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--muted-foreground);
}

.contact-info a {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

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

.footer-bottom p {
  color: var(--muted-foreground);
  margin: 0;
  font-size: 0.875rem;
}

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

.legal-links a {
  color: var(--primary);
  font-size: 0.875rem;
}

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

/* Legal Content */
.legal-content {
  padding: 4rem 0;
  background: var(--background);
}

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

.last-updated {
  color: var(--muted-foreground);
  font-style: italic;
  margin-bottom: 3rem;
}

.legal-content h2 {
  color: var(--foreground);
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.legal-content h3 {
  color: var(--foreground);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.legal-content p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.legal-content ul,
.legal-content ol {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.7;
}

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

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

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

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

/* 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);
}

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

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

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

/* Cookie Consent */
.infrahubluxum_cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  z-index: 10000;
  padding: 1rem 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

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

.infrahubluxum_cookie-banner-text {
  flex: 1;
  color: var(--card-foreground);
}

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

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

.infrahubluxum_cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.infrahubluxum_cookie-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.infrahubluxum_cookie-modal-content {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

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

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

.infrahubluxum_cookie-toggle-row:last-child {
  margin-bottom: 0;
}

.infrahubluxum_cookie-toggle-row div {
  flex: 1;
}

.infrahubluxum_cookie-toggle-row input[type="checkbox"] {
  margin-left: 1rem;
}

.infrahubluxum_cookie-modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .infrahubluxum_cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .infrahubluxum_cookie-banner-actions {
    justify-content: center;
    width: 100%;
  }
  
  .infrahubluxum_cookie-modal-content {
    margin: 1rem;
  }
  
  .infrahubluxum_cookie-modal-actions {
    flex-direction: column;
  }
  
  .infrahubluxum_cookie-toggle-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .infrahubluxum_cookie-toggle-row input[type="checkbox"] {
    margin-left: 0;
    align-self: flex-end;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  
  .container {
    padding: 0 1rem;
  }
  
  .newsletter-section,
  .features-section,
  .faq-preview-section,
  .about-preview-section,
  .partner-logos-section,
  .why-choose-section,
  .service-row,
  .company-story-section,
  .mission-values-section,
  .team-section,
  .achievements-section,
  .why-work-section,
  .contact-section,
  .contact-options-section {
    padding: 4rem 0;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
}

/* Animation Classes */
.animate-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

.animate-scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s ease;
}

.animate-scale-in.animate-in {
  opacity: 1;
  transform: scale(1);
}

.animate-slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.animate-slide-in-left.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.animate-slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.animate-slide-in-right.animate-in {
  opacity: 1;
  transform: translateX(0);
}

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