/* Modern Professional Theme - Thwala Attorneys */

html {
  font-size: 14px;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Remove any conflicting focus styles */
.btn:focus, 
.btn:active:focus, 
.btn-link.nav-link:focus, 
.form-control:focus, 
.form-check-input:focus {
  box-shadow: none;
  outline: 2px solid #00D2FF;
  outline-offset: 2px;
}

/* Form Input Focus States */
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #00D2FF;
  outline-offset: 2px;
  border-color: #00D2FF !important;
}

/* Smooth Transitions */
a, button {
  transition: all 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #00D2FF;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #00b8e6;
}

/* Loading Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.6s ease-out;
}

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

/* Button Hover Glow Effect */
.btn-glow:hover {
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
}

/* Card Hover Effects */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 210, 255, 0.2);
}