:root {
  --primary: #64748b;
  --primary-foreground: #FFFFFF;
  --secondary: #F59F0A;
  --secondary-foreground: #111827;
  --accent: #EB4824;
  --accent-foreground: #111827;
  --background: #0F172A;
  --foreground: #F8FAFC;
  --card: #1E293B;
  --card-foreground: #F8FAFC;
  --border: #334155;
  --input: #334155;
  --ring: #64748b;
  --muted: #1E293B;
  --muted-foreground: #94A3B8;
  --font-family: 'Open Sans', sans-serif;
  --radius: 0.25rem;
}

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

.hidden {
  display: none !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 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;
  }
}

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

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

p {
  margin: 0 0 1rem 0;
}

.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--muted-foreground); }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }

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

.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: rgba(100, 116, 139, 0.1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

/* Buttons */
.btn-primary,
.btn-outline,
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border: 1px solid var(--primary);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.btn-outline:active {
  transform: translateY(1px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-white {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

.btn-link {
  background: transparent;
  color: var(--foreground);
  border: none;
  padding: 0.5rem 0;
  text-decoration: underline;
  box-shadow: none;
}

.btn-link:hover {
  color: var(--primary);
  transform: none;
  box-shadow: none;
}

/* 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-size: 1rem;
  transition: border-color 0.3s ease;
}

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

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.success-message {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1.5rem;
  text-align: center;
}

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

.success-content h3 {
  color: #22c55e;
  margin: 0;
}

/* Header */
.header {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.nav-logo-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0;
}

.logo-link {
  margin-bottom: 1rem;
}

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

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

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

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

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

.galnorexvi-top_mobile-menu {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}

.galnorexvi-top_mobile-menu a {
  color: var(--foreground);
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.galnorexvi-top_mobile-menu a:hover,
.galnorexvi-top_mobile-menu a.active {
  color: var(--primary);
  background: rgba(100, 116, 139, 0.1);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .galnorexvi-top_mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
  }
}

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

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

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-text {
  max-width: 600px;
}

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

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

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

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
}

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

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

/* Section Styles */
.section-padding {
  padding: 5rem 0;
}

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

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

.section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

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

/* Cards */
.feature-card,
.testimonial-card,
.team-card,
.pricing-card,
.value-card,
.achievement-card {
  background: var(--card);
  color: var(--card-foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover,
.testimonial-card:hover,
.team-card:hover,
.pricing-card:hover,
.value-card:hover,
.achievement-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.feature-card h3,
.value-card h3,
.achievement-card h3 {
  margin-bottom: 1rem;
}

/* Testimonials */
.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  font-style: italic;
  font-size: 1.125rem;
}

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

.author-info .author-name {
  font-weight: 600;
  margin: 0;
}

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

/* Team Cards */
.team-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: rgba(100, 116, 139, 0.1);
  border: 1px solid var(--border);
  border-radius: 50%;
  margin-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
}

.team-info {
  text-align: center;
}

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

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

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

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

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

.pricing-header h3 {
  margin-bottom: 0.5rem;
}

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

.price-period {
  font-size: 1rem;
  color: var(--muted-foreground);
}

.pricing-description {
  color: var(--muted-foreground);
  margin: 0.5rem 0 0 0;
}

.pricing-features {
  margin-bottom: 2rem;
}

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

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

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

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

/* Accordion */
.services-accordion,
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

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

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

.accordion-header:hover,
.faq-question:hover {
  background: rgba(100, 116, 139, 0.05);
}

.accordion-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.accordion-title h3,
.faq-question h3 {
  margin: 0;
  font-size: 1.125rem;
}

.accordion-toggle,
.faq-toggle {
  background: transparent;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius);
  transition: background-color 0.3s ease;
}

.accordion-toggle:hover,
.faq-toggle:hover {
  background: rgba(100, 116, 139, 0.1);
}

.accordion-content,
.faq-answer {
  padding: 0 1.5rem 1.5rem;
  background: var(--card);
  display: none;
}

.accordion-content.active,
.faq-answer.active {
  display: block;
}

.service-cta {
  margin-top: 1.5rem;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

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

.galnorexvi-top_contact-form-section h2,
.contact-info-section h2 {
  margin-bottom: 1rem;
}

.contact-info-cards {
  margin: 2rem 0;
}

.contact-info-card {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-info-content h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
}

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

.contact-info-content a:hover {
  text-decoration: underline;
}

.contact-info-content p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

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

.business-hours h3 {
  margin: 0 0 1rem 0;
}

.hours-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

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

.contact-cta {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--card);
  border-radius: var(--radius);
  text-align: center;
}

.contact-cta h3 {
  margin: 0 0 0.5rem 0;
}

.contact-cta p {
  margin: 0 0 1rem 0;
  color: var(--muted-foreground);
}

/* Newsletter */
.newsletter,
.blog-newsletter {
  background: var(--muted);
}

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

.newsletter-text {
  flex: 1;
}

.newsletter-text h2 {
  margin: 0 0 0.5rem 0;
}

.newsletter-text p {
  margin: 0;
  color: var(--muted-foreground);
}

.newsletter-form {
  flex: 1;
  max-width: 400px;
}

.newsletter-form-inner {
  display: flex;
  gap: 1rem;
}

.newsletter-input {
  flex: 1;
}

@media (max-width: 768px) {
  .newsletter-content {
    flex-direction: column;
    text-align: center;
  }
  
  .newsletter-form-inner {
    flex-direction: column;
  }
}

/* CTA Section */
.cta {
  background: var(--primary);
  color: #fff;
  text-align: center;
}

.cta-content h2 {
  margin: 0 0 1rem 0;
  font-size: 2rem;
}

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

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

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

/* FAQ Page */
.faq-cta {
  text-align: center;
  background: var(--card);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  margin-top: 3rem;
}

.faq-cta-content h2 {
  margin: 0 0 1rem 0;
}

.faq-cta-content p {
  margin: 0 0 2rem 0;
  color: var(--muted-foreground);
}

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

/* Blog */
.blog-featured {
  background: var(--muted);
}

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

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

.featured-image,
.blog-image {
  border-radius: var(--radius);
  overflow: hidden;
}

.article-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.featured-article .article-image {
  height: 300px;
}

.article-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

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

.article-category {
  color: var(--primary);
  font-weight: 500;
}

.featured-content h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.blog-content {
  padding: 1.5rem;
}

.blog-content h3 {
  margin: 0 0 1rem 0;
  font-size: 1.125rem;
}

.blog-content p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* Services Page */
.services-overview {
  background: var(--background);
}

.service-overview-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s ease;
}

.service-overview-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.service-overview-content h3 {
  margin: 0 0 1rem 0;
}

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

.story-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rounded-image {
  border-radius: var(--radius);
  max-width: 100%;
  height: auto;
}

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

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

.legal-updated {
  color: var(--muted-foreground);
  font-style: italic;
}

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

.legal-body h2 {
  margin: 2rem 0 1rem 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.legal-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-body h3 {
  margin: 1.5rem 0 0.75rem 0;
  color: var(--primary);
}

.legal-body ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

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

.legal-body a {
  color: var(--primary);
  text-decoration: underline;
}

.legal-body a:hover {
  text-decoration: none;
}

/* 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);
  font-weight: 600;
}

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

/* Cookie Consent */
.galnorexvi-top_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;
}

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

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

.galnorexvi-top_cookie-banner-text p {
  margin: 0;
  font-size: 0.875rem;
}

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

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

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

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

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

.galnorexvi-top_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: 0.75rem;
}

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

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

@media (max-width: 768px) {
  .galnorexvi-top_cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .galnorexvi-top_cookie-banner-text {
    min-width: auto;
  }
  
  .galnorexvi-top_cookie-modal-actions {
    flex-direction: column;
  }
}

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

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

.footer a:hover {
  color: #fff;
  text-decoration: underline;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo {
  height: 2rem;
  width: auto;
}

.footer-brand h3 {
  margin: 0;
  font-size: 1.25rem;
}

.footer-brand p {
  margin: 0.5rem 0 0 0;
  .8;
}

.footer-address {
  .8;
  font-size: 0.875rem;
}

.footer-address p {
  margin: 0 0 0.5rem 0;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

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

.footer-column a {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.footer-hours {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.875rem;
  margin: 1rem 0;
}

.footer-legal-links {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-legal-links a {
  margin-right: 1rem;
}

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

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

/* Animation Classes */
.animate-slide-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.7s ease-out;
}

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

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

/* Apply animations to specific elements, not sections */
.feature-card,
.testimonial-card,
.pricing-card,
.team-card,
.blog-card,
.service-overview-card,
.value-card,
.achievement-card,
.faq-item,
.contact-info-card {
  
  transform: translateX(-40px);
  transition: all 0.7s ease-out;
}

/* Alternate right slide for even items */
.feature-card:nth-child(even),
.testimonial-card:nth-child(even),
.pricing-card:nth-child(even),
.team-card:nth-child(even),
.blog-card:nth-child(even),
.value-card:nth-child(even),
.achievement-card:nth-child(even) {
  transform: translateX(40px);
}

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