/* CSS Variables */
:root {
  --primary: #000000;
  --primary-foreground: #FFFFFF;
  --secondary: #8b5cf6;
  --secondary-foreground: #FFFFFF;
  --accent: #16a34a;
  --accent-foreground: #111827;
  --background: #0F172A;
  --foreground: #F8FAFC;
  --card: #1E293B;
  --card-foreground: #F8FAFC;
  --border: #334155;
  --input: #334155;
  --ring: #000000;
  --muted: #1E293B;
  --muted-foreground: #94A3B8;
  --font-family: 'Inter', sans-serif;
  --radius: 0.25rem;
}

/* Global Styles */
* {
  box-sizing: border-box;
}

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

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

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

a:hover {
  text-decoration: underline;
}

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

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

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

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

.text-lg {
  font-size: 1.125rem;
}

.text-sm {
  font-size: 0.875rem;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.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;
  }
}

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

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

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

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

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

/* Forms */
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--card-foreground);
  font-size: 1rem;
  font-family: var(--font-family);
}

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

.success-message {
  background: var(--card);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1rem;
  color: var(--card-foreground);
}

/* Icons */
.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.icon-md {
  width: 24px;
  height: 24px;
}

.icon-lg {
  width: 32px;
  height: 32px;
}

.icon-sm {
  width: 20px;
  height: 20px;
}

/* Header & Navigation */
.header {
  background: transparent;
  position: relative;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.navbar {
  padding: 1rem 0;
}

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

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

.navbar-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--foreground);
  font-weight: 500;
  padding: 0.5rem 0;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  text-decoration: none;
}

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

.gammatrixa_mobile-menu {
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

.gammatrixa_mobile-menu-inner {
  padding: 1rem 0;
}

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

.mobile-nav-link:hover {
  color: var(--primary);
  text-decoration: none;
}

@media (max-width: 768px) {
  .navbar-menu {
    display: none;
  }
  
  .gammatrixa_mobile-menu-toggle {
    display: block;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: #111;
  color: #fff;
  overflow: hidden;
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  .4;
}

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

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

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

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

.hero-side-image {
  border-radius: var(--radius);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

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

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

.page-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.last-updated {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-style: italic;
}

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

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

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

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

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

/* Partner Logos */
.partner-logos {
  padding: 3rem 0;
  background: var(--background);
}

.partner-intro {
  text-align: center;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: center;
}

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

.partner-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--card-foreground);
}

.partner-icon {
  width: 32px;
  height: 32px;
  color: var(--secondary);
}

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

/* Stats Section */
.stats-section {
  background: var(--card);
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1.5rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
}

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

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

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

/* Features Section */
.features-section {
  background: var(--background);
}

.feature-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  transition: transform 0.3s ease;
}

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

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

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

.feature-content {
  padding: 1.5rem;
}

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

.feature-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Why Choose Us Section */
.why-choose-section {
  background: var(--muted);
}

.advantage-item {
  padding: 1.5rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.advantage-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--card-foreground);
}

.advantage-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* About Preview Section */
.about-preview-section {
  background: var(--background);
}

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

.about-description {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.about-actions {
  margin-top: 2rem;
}

.about-img {
  border-radius: var(--radius);
  border: 2px solid var(--border);
}

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

/* Process Section */
.process-section {
  background: var(--muted);
}

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

.process-step {
  text-align: center;
  padding: 1.5rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  position: relative;
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: var(--secondary-foreground);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.step-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1rem 0 0.75rem;
  color: var(--card-foreground);
}

.step-description {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.5;
}

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

/* Gallery Section */
.gallery-section {
  background: var(--background);
}

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

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
}

.gallery-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-image:hover {
  transform: scale(1.05);
}

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

/* Testimonials Section */
.testimonials-section {
  background: var(--muted);
}

.testimonial-card {
  padding: 1.5rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  height: 100%;
}

.quote-icon {
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--card-foreground);
  line-height: 1.6;
}

.author-name {
  font-weight: 600;
  color: var(--card-foreground);
  margin-bottom: 0.25rem;
}

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

/* CTA Section */
.cta-section {
  background: var(--background);
  padding: 5rem 0;
}

.cta-card {
  text-align: center;
  padding: 3rem 2rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  max-width: 800px;
  margin: 0 auto;
}

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

.cta-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.6;
}

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

@media (max-width: 768px) {
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* Footer */
.footer {
  background: #111827;
  color: #f9fafb;
  padding: 3rem 0 1rem;
}

.footer a {
  color: #d1d5db;
}

.footer a:hover {
  color: #f9fafb;
}

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

.footer-brand {
  margin-bottom: 1.5rem;
}

.footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-description {
  color: #d1d5db;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.company-info p {
  margin: 0.25rem 0;
  font-size: 0.875rem;
  color: #d1d5db;
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #f9fafb;
}

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

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

.footer-links a {
  font-size: 0.875rem;
  text-decoration: none;
}

.contact-info p {
  margin: 0.75rem 0;
  font-size: 0.875rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.contact-icon {
  width: 16px;
  height: 16px;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.875rem;
  color: #d1d5db;
}

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

/* Services Page */
.service-categories {
  padding: 5rem 0;
}

.alt-background {
  background: var(--muted);
}

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

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

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

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

.service-description {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

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

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

.feature-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

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

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

.pricing-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin: 0;
}

.service-img {
  border-radius: var(--radius);
  border: 2px solid var(--border);
}

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

/* Additional Services */
.additional-services {
  background: var(--background);
}

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

.service-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1rem 0 0.75rem;
  color: var(--card-foreground);
}

.service-card-description {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.service-card-price {
  font-weight: 600;
  color: var(--secondary);
  font-size: 1.125rem;
}

/* Implementation Timeline */
.implementation-timeline {
  background: var(--muted);
}

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

.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.timeline-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.timeline-marker {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-number {
  color: var(--secondary-foreground);
  font-weight: 700;
  font-size: 1.25rem;
}

.timeline-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.timeline-duration {
  font-size: 0.875rem;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.timeline-description {
  color: var(--muted-foreground);
  line-height: 1.5;
}

/* About Page */
.company-intro {
  background: var(--background);
}

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

.intro-description {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.intro-img {
  border-radius: var(--radius);
  border: 2px solid var(--border);
}

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

/* Mission and Values */
.mission-values {
  background: var(--muted);
}

.mission-card,
.values-card {
  padding: 2rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  height: 100%;
}

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

.card-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

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

.values-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--card-foreground);
}

.value-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Team Section */
.team-section {
  background: var(--background);
}

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

.member-avatar {
  margin-bottom: 1rem;
}

.avatar-icon {
  width: 64px;
  height: 64px;
  color: var(--secondary);
}

.member-name {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--card-foreground);
}

.member-role {
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.member-description {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Achievements Section */
.achievements-section {
  background: var(--muted);
}

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

.achievement-item {
  padding: 1.5rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.achievement-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
  color: var(--card-foreground);
}

.achievement-year {
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.achievement-description {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.5;
}

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

/* Technology Approach */
.technology-approach {
  background: var(--background);
}

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

.approach-description {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.approach-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.approach-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.feature-description {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.5;
}

.approach-img {
  border-radius: var(--radius);
  border: 2px solid var(--border);
}

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

/* Company Culture */
.company-culture {
  background: var(--muted);
}

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

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

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

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

.culture-content {
  padding: 1.5rem;
}

.culture-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--card-foreground);
}

.culture-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

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

/* Contact Page */
.contact-section {
  background: var(--background);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.gammatrixa_contact-form-container,
.contact-info-container {
  padding: 2rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.form-header {
  margin-bottom: 2rem;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--card-foreground);
}

.form-subtitle {
  color: var(--muted-foreground);
  line-height: 1.5;
}

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

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

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

.form-submit {
  margin-top: 1rem;
  align-self: flex-start;
}

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

.success-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin: 0 auto 1rem;
}

.success-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.success-text {
  color: var(--card-foreground);
  line-height: 1.5;
}

.contact-header {
  margin-bottom: 2rem;
}

.contact-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--card-foreground);
}

.contact-subtitle {
  color: var(--muted-foreground);
  line-height: 1.5;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.contact-icon {
  margin-top: 0.25rem;
}

.contact-label {
  font-weight: 600;
  color: var(--card-foreground);
  margin-bottom: 0.25rem;
}

.contact-value {
  color: var(--muted-foreground);
  line-height: 1.5;
  margin: 0;
}

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

.map-container {
  margin-top: 2rem;
  padding: 2rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  text-align: center;
}

.map-placeholder {
  padding: 2rem;
}

.map-icon {
  width: 48px;
  height: 48px;
  color: var(--secondary);
  margin: 0 auto 1rem;
}

.map-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--card-foreground);
}

.map-description {
  color: var(--muted-foreground);
  line-height: 1.5;
}

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

/* Additional Contact Options */
.additional-contact {
  background: var(--muted);
}

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

.option-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1rem 0 0.75rem;
  color: var(--card-foreground);
}

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

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

.legal-document {
  max-width: 800px;
  margin: 0 auto;
  color: var(--foreground);
  line-height: 1.6;
}

.legal-document h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: var(--foreground);
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.5rem;
}

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

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

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

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

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

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

/* Cookie Table */
.cookie-table {
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 2px solid var(--border);
  border-radius: var(--radius);
}

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

.cookie-table th,
.cookie-table td {
  padding: 0.75rem;
  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(--card-foreground);
}

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

/* Cookie Banner */
.gammatrixa_cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  border-top: 2px solid var(--border);
  z-index: 1001;
  padding: 1rem 0;
}

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

.gammatrixa_cookie-banner-text {
  flex: 1;
  min-width: 300px;
}

.gammatrixa_cookie-banner-text p {
  margin: 0;
  color: var(--card-foreground);
  font-size: 0.875rem;
  line-height: 1.4;
}

.gammatrixa_cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.gammatrixa_cookie-banner-actions .btn-primary,
.gammatrixa_cookie-banner-actions .btn-outline {
  padding: 8px 20px;
  font-size: 0.875rem;
}

/* Cookie Modal */
.gammatrixa_cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.gammatrixa_cookie-modal-content {
  position: relative;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  color: var(--card-foreground);
}

.cookie-toggles {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

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

.gammatrixa_cookie-toggle-row input[type="checkbox"] {
  flex-shrink: 0;
}

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

@media (max-width: 768px) {
  .gammatrixa_cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  
  .gammatrixa_cookie-banner-text {
    min-width: auto;
  }
  
  .gammatrixa_cookie-banner-actions {
    justify-content: center;
  }
  
  .gammatrixa_cookie-modal-content {
    margin: 1rem;
    width: auto;
  }
  
  .gammatrixa_cookie-modal-actions {
    flex-direction: column;
  }
}

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

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

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

@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .cta-title {
    font-size: 1.5rem;
  }
  
  .service-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    width: 100%;
    text-align: center;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* === CLASS ALIAS FIXES (injected by engine) === */
.hero-text { /* alias for .hero-content */ }
.hero-text {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

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