body {
  font-family: "Arial", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  color: #2c3e50;
}

/* TODO: Optimize animations for mobile devices */
.hero-section {
  background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
  position: relative;
  overflow: hidden;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.navbar-brand {
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: lowercase;
  font-style: italic;
}

.card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 20px;
  border: none;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(13,110,253,0.15);
}

.h6d2-item-container {
  font-weight: 700;
  color: #0d6efd;
  margin-bottom: 2.5rem;
  position: relative;
}

.h6d2-item-container::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #0d6efd, #6610f2);
  border-radius: 3px;
}

.btn {
  border-radius: 30px;
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 1px;
  transition: all 0.4s ease;
  padding: 12px 28px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(13,110,253,0.2);
}

.bg-primary {
  background-color: #0d6efd !important;
}

.bg-warning {
  background-color: #ffc107 !important;
}

.bg-info {
  background-color: #0dcaf0 !important;
}

.bg-danger {
  background-color: #dc3545 !important;
}

.text-primary {
  color: #0d6efd !important;
}

.text-info {
  color: #0dcaf0 !important;
}

.cookie-banner {
  backdrop-filter: blur(15px);
  border-top: 4px solid #0d6efd;
  animation: slideUp 0.6s ease-out;
  background-color: #0dcaf0 !important;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-contact {
  background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
  position: relative;
}

.contact-item {
  border-left: 4px solid #0d6efd;
  padding-left: 20px;
  margin-bottom: 1.2rem;
  transition: all 0.3s ease;
}

.contact-item:hover {
  border-left-color: #6610f2;
  padding-left: 25px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

/* Enhanced Form Styles */
.form-control {
  border-radius: 15px;
  border: 2px solid #dee2e6;
  padding: 15px 20px;
  transition: all 0.4s ease;
  font-size: 1rem;
}

.form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
  transform: scale(1.02);
}

.form-select {
  border-radius: 15px;
  border: 2px solid #dee2e6;
  padding: 15px 20px;
  transition: all 0.4s ease;
}

.form-select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

.invalid-feedback {
  font-size: 0.9rem;
  color: #dc3545;
  font-weight: 500;
}

.was-validated .form-control:invalid {
  border-color: #dc3545;
}

.was-validated .form-control:valid {
  border-color: #198754;
}

/* Enhanced animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.fadeInUp {
  animation: fadeInUp 1s ease-out;
}

.bounceIn {
  animation: bounceIn 0.8s ease-out;
}

/* Enhanced section spacing */
section {
  padding: 80px 0;
}

/* Advanced footer styles */
footer {
  border-top: 6px solid #0d6efd;
  background: linear-gradient(135deg, #212529 0%, #343a40 100%);
}

footer a:hover {
  color: #0dcaf0 !important;
  text-decoration: underline !important;
  transition: color 0.3s ease;
}

/* Enhanced responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    min-height: 70vh;
    text-align: center;
    padding: 60px 0;
  }
  
  .display-4 {
    font-size: 2.2rem;
  }
  
  .card {
    margin-bottom: 2rem;
  }
  
  .cookie-banner .container {
    text-align: center;
  }
  
  .cookie-banner .btn {
    margin-top: 12px;
    width: 100%;
  }
  
  section {
    padding: 60px 0;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 50px 0;
  }
  
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
  }
  
  .h6d2-item-container {
    font-size: 1.8rem;
  }
}

/* Enhanced utility classes */
.shadow-custom {
  box-shadow: 0 15px 35px rgba(13,110,253,0.12);
}

.border-primary-thick {
  border: 4px solid #0d6efd !important;
}

.bg-gradient-info {
  background: linear-gradient(135deg, #0dcaf0 0%, #0d6efd 100%);
}

.bg-gradient-warning {
  background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
}

/* Pulse animation for call-to-action elements */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(13, 110, 253, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
  }
}

.btn-primary:hover {
  animation: pulse 2s infinite;
}

/* Enhanced navbar */
.navbar {
  backdrop-filter: blur(10px);
  background-color: rgba(13, 110, 253, 0.95) !important;
  box-shadow: 0 2px 20px rgba(13, 110, 253, 0.15);
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Enhanced icons */
.bi {
  transition: transform 0.3s ease;
}

.bi:hover {
  transform: scale(1.1);
}

/* Advanced card hover effects */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(102, 16, 242, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 20px;
  z-index: 1;
}

.card:hover::before {
  opacity: 1;
}

.card-body {
  position: relative;
  z-index: 2;
}

/* Remove old unused styles */
.legacy-support,
.unused-class,
.another-unused,
.old-style-button,
.debug-border,
.test-bg {
  display: none;
}

/* Consistent naming convention */
.modern-container {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 20px;
}

.modern-button {
  background: linear-gradient(135deg, #0d6efd, #6610f2);
  border: none;
  color: white;
  transition: all 0.4s ease;
}

.modern-button:hover {
  background: linear-gradient(135deg, #6610f2, #0d6efd);
  transform: translateY(-2px);
}