/* CSS Variables */
:root {
  --primary: #000000;
  --primary-foreground: #FFFFFF;
  --secondary: #F59F0A;
  --secondary-foreground: #111827;
  --accent: #2894DC;
  --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: 'Open Sans', sans-serif;
  --radius: 1rem;
}

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

body {
  font-family: var(--font-family);
  background: var(--background);
  color: var(--foreground);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  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;
}

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

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

/* Icons */
.icon-sm {
  width: 1rem;
  height: 1rem;
}

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

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

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

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: var(--card);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--foreground);
  padding: 0.75rem 2rem;
  border: 2px solid var(--border);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.btn-outline-white {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 0.75rem 2rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline-white:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.btn-link-white {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  font-weight: 500;
  margin-left: 1rem;
}

.btn-link-white:hover {
  color: #fff;
}

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

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

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

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

.navbar {
  padding: 1rem 0;
}

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

.nav-brand {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
}

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

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

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

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

.krelvandix-top_mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

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

.krelvandix-top_mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

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

@media (max-width: 768px) {
  .navbar .container {
    position: relative;
  }
  
  .nav-links {
    display: none;
  }
  
  .krelvandix-top_mobile-menu-toggle {
    display: block;
  }
}

/* Hero Section */
.hero {
  background: var(--primary);
  color: #fff;
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

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

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

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

.hero-title {
  font-size: 3.5rem;
  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;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

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

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

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

.partner-logos-section {
  background: var(--background);
}

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

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

/* Feature Cards */
.feature-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

/* Team Preview */
.team-preview-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.team-preview-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

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

.avatar-icon {
  width: 4rem;
  height: 4rem;
  color: var(--secondary);
}

.team-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

.team-description {
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

.team-preview-cta {
  text-align: center;
  margin-top: 3rem;
}

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

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

.partner-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

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

.partner-type {
  font-weight: 500;
  color: var(--muted-foreground);
}

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

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

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

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

/* Page Header */
.page-header {
  background: var(--primary);
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.125rem;
  .9;
  max-width: 600px;
  margin: 0 auto;
}

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

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

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

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

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

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

.service-info {
  
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.service-icon {
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

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

.service-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.feature-icon {
  color: var(--secondary);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

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

.service-image {
  
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

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

/* Packages */
.packages-section {
  background: var(--background);
  padding: 5rem 0;
}

.package-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  position: relative;
  
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.package-featured {
  border: 2px solid var(--secondary);
}

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

.package-header {
  text-align: center;
  margin-bottom: 2rem;
}

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

.package-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

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

.package-feature-list {
  list-style: none;
  padding: 0;
}

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

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

.package-cta {
  text-align: center;
}

/* About Page */
.story-section {
  padding: 5rem 0;
  background: var(--background);
}

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

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

.story-text {
  
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.story-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

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

.story-image {
  
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

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

/* Mission Section */
.mission-section {
  background: var(--muted);
  padding: 5rem 0;
}

.mission-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.mission-icon {
  margin-bottom: 1.5rem;
}

.mission-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.mission-description {
  color: var(--muted-foreground);
  line-height: 1.7;
}

.values-list {
  margin-top: 1rem;
}

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

.value-icon {
  color: var(--secondary);
  flex-shrink: 0;
}

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

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

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

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

.approach-step {
  display: flex;
  gap: 1.5rem;
  
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

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

.step-content {
  flex: 1;
}

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

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.step-description {
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* Achievements */
.achievements-section {
  background: var(--muted);
  padding: 5rem 0;
}

.achievement-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.achievement-icon {
  margin-bottom: 1.5rem;
}

.achievement-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.achievement-description {
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* Why Choose Us */
.why-choose-section {
  background: var(--background);
  padding: 5rem 0;
}

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

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

.why-choose-text {
  
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.why-choose-text.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.why-choose-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.why-choose-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.why-choose-feature {
  display: flex;
  gap: 1rem;
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

.why-choose-image {
  
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.why-choose-image.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.why-choose-img {
  width: 100%;
  border-radius: var(--radius);
}

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

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

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

.krelvandix-top_contact-form-container {
  
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.krelvandix-top_contact-form-container.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.krelvandix-top_contact-form-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.krelvandix-top_contact-form-subtitle {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

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

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

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

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

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

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

.contact-info-container {
  
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.contact-info-container.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.contact-info-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.contact-info-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-info-subtitle {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

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

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

.contact-info-icon {
  color: var(--secondary);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.contact-info-content {
  flex: 1;
}

.contact-info-label {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-info-value {
  color: var(--muted-foreground);
  text-decoration: none;
  line-height: 1.5;
}

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

/* Map */
.map-container {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
}

.map-placeholder {
  padding: 3rem 2rem;
  text-align: center;
  background: var(--muted);
}

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

.map-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.map-address {
  font-weight: 500;
  color: var(--secondary);
}

/* Contact Options */
.contact-options-section {
  background: var(--muted);
  padding: 5rem 0;
}

.contact-option-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.contact-option-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.contact-option-icon {
  margin-bottom: 1.5rem;
}

.contact-option-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.contact-option-link {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
}

.contact-option-link:hover {
  text-decoration: underline;
}

/* FAQ */
.faq-section {
  background: var(--background);
  padding: 5rem 0;
}

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

.faq-item {
  border-bottom: 1px solid var(--border);
  
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  cursor: pointer;
}

.faq-question-text {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

.faq-icon {
  color: var(--secondary);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  padding-bottom: 1.5rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Team Page */
.team-intro-section {
  background: var(--background);
  padding: 5rem 0;
}

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

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

.team-intro-text {
  
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.team-intro-text.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.team-intro-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

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

.team-intro-image {
  
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.team-intro-image.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.team-intro-img {
  width: 100%;
  border-radius: var(--radius);
}

/* Team Members */
.team-members-section {
  background: var(--muted);
  padding: 5rem 0;
}

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

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

.team-member-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  display: flex;
  gap: 1.5rem;
  
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.team-member-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.team-member-avatar {
  flex-shrink: 0;
}

.team-member-info {
  flex: 1;
}

.team-member-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

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

.team-member-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.expertise-tag {
  background: var(--muted);
  color: var(--foreground);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Team Values */
.team-values-section {
  background: var(--background);
  padding: 5rem 0;
}

.value-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.value-icon {
  margin-bottom: 1.5rem;
}

.value-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.value-description {
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* Team Expertise */
.team-expertise-section {
  background: var(--muted);
  padding: 5rem 0;
}

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

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

.expertise-area {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.expertise-icon {
  margin-bottom: 1.5rem;
}

.expertise-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.expertise-description {
  color: var(--muted-foreground);
  line-height: 1.7;
}

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

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

.legal-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

.legal-intro {
  margin-bottom: 3rem;
}

.legal-intro p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.legal-heading {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 3rem 0 1rem 0;
  color: var(--foreground);
}

.legal-subheading {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
  color: var(--foreground);
}

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

.legal-list {
  color: var(--muted-foreground);
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.legal-list li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

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

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

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

.cookie-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;
  color: var(--foreground);
}

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

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

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

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

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

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

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

.footer-brand-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.5;
}

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

@media (max-width: 768px) {
  .footer-links-group {
    flex-direction: column;
    gap: 1.5rem;
  }
}

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

.footer-links-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #fff;
}

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

.footer-contact-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

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

.contact-icon {
  width: 1rem;
  height: 1rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.85);
}

.contact-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #fff;
}

.contact-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.4;
}

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

.footer-copyright {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  margin: 0;
}

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

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

@media (max-width: 768px) {
  .krelvandix-top_cookie-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

.krelvandix-top_cookie-banner-text {
  flex: 1;
}

.krelvandix-top_cookie-banner-text p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

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

@media (max-width: 768px) {
  .krelvandix-top_cookie-banner-actions {
    justify-content: center;
  }
}

/* Cookie Modal */
.krelvandix-top_cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

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

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

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

.krelvandix-top_cookie-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

@media (max-width: 480px) {
  .krelvandix-top_cookie-modal-actions {
    flex-direction: column;
  }
}

/* Success Message */
.success-icon {
  margin-bottom: 1rem;
}

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

.success-text {
  color: var(--muted-foreground);
  margin: 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 */
#krelvandix-top_cookie-banner.hidden, #cookie-consent-banner.hidden { display: none !important; }
#krelvandix-top_cookie-banner:not(.hidden), #cookie-consent-banner:not(.hidden) { display: block !important; }
#krelvandix-top_cookie-modal.hidden { display: none !important; }
.hidden { display: none !important; }
