:root {
  --primary: #1a3c6d;
  --primary-soft: rgba(26, 60, 109, 0.1);
  --secondary: #e6b800;
  --primary-dark: #1a3c6d;
  --primary-light: #2d527a;
  --accent-gold: #e6b800;
}

/* Accessibility styles */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #000;
  color: white;
  padding: 0.5rem;
  z-index: 1001;
}

.skip-link:focus {
  left: 0;
}

.visually-hidden:not(:focus):not(:active) {
  clip: rect(0 0 0 0); 
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap; 
  width: 1px;
}

[aria-invalid="true"] {
  border-color: #dc3545;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Main styles */
.consultation-section {
  min-height: 250px;
  display: flex;
  align-items: center;
  position: relative;
}

.consultation-bg {
  background: url('https://aeronautic.de.cool/img/call.jpg') center/cover no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  filter: brightness(0.9);
}

.bg-overlay {
  background-color: rgba(0, 45, 90, 0.9);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.z-index-1 {
  z-index: 2;
}

.phone-number a {
  transition: all 0.3s ease;
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 200;
}

.phone-number a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.title-divider {
  width: 80px;
  height: 4px;
  background: var(--secondary);
  margin: 1rem auto;
}

.nav-link:focus,
.navbar-toggler:focus {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.service-card {
  transition: all 0.3s ease;
  border-radius: 12px;
}

/* Footer styles */
.footer {
  background: linear-gradient(135deg, #1f2a44 0%, #2d3748 100%), rgba(0, 0, 0, 0.15);
  font-family: 'Manrope', sans-serif;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 100%;
  padding-top: 10px;
  padding-bottom: 40px;
  overflow: visible;
  margin-top: 0;
}

.text-yellow {
  color: #f0c14b !important;
}

.text-white {
  color: #f1f5f9 !important;
}

.text-white-50 {
  color: rgba(241, 245, 249, 0.7) !important;
}

.hover-text-yellow:hover,
.hover-text-yellow:focus {
  color: #e6b800 !important;
  transition: color 0.3s ease, transform 0.3s ease;
  transform: translateX(3px);
}

.column-divider {
  position: relative;
}

.column-divider::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: rgba(241, 245, 249, 0.2);
}

.social-media {
  display: flex;
  gap: 8px;
}

.social-media .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(241, 245, 249, 0.15);
  border-radius: 50%;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-dark);
  color: white;
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

/* Media queries */
@media (max-width: 991.98px) {
  .column-divider::after {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .social-media {
    justify-content: start;
    flex-direction: column;
  }
  
  .footer .col-md-6 {
    margin-bottom: 1.5rem;
  }
  
  .social-media .social-icon {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

@media (min-width: 768px) {
  .consultation-section {
    min-height: 300px;
  }
  
  .consultation-content {
    padding: 2rem;
  }
  
  .footer .row.gy-4 {
    row-gap: 1.5rem;
  }
}

@media (min-width: 992px) {
  .consultation-section {
    min-height: 350px;
  }
  
  h4 {
    font-size: 1.75rem;
  }
  
  .phone-number a {
    font-size: 2rem;
  }
}