/* ===================================
   Main CSS - Maintains Original Visual Style
   =================================== */

/* Import original styles */
@import url('bootstrap.min.css');
@import url('style.css');
@import url('responsive.css');

/* Modern enhancements */
@import url('fontawesome-all.css');
@import url('flaticon.css');

/* Performance optimizations */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus improvements */
:focus-visible {
  outline: 2px solid #df2313;
  outline-offset: 2px;
}

/* Accessibility improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Modern form enhancements */
.form-control:focus {
  border-color: #df2313;
  box-shadow: 0 0 0 0.2rem rgba(223, 35, 19, 0.25);
}

/* Button hover improvements */
.theme-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Mobile responsiveness fixes */
@media (max-width: 767px) {
  .theme-btn {
    padding: 12px 24px;
    font-size: 14px;
  }
  
  .sec-title h2 {
    font-size: 32px !important;
  }
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Form validation styles */
.form-control.is-invalid {
  border-color: #dc3545;
}

.form-control.is-valid {
  border-color: #28a745;
}

/* Modern alert styles */
.alert {
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 20px;
  border: 1px solid transparent;
}

.alert-success {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

/* Preloader improvements */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.preloader.hide {
  opacity: 0;
  pointer-events: none;
}
