/* Base Styles */
html {
  font-size: 14px;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #ffffff;
  color: #212529;
}

/* Header Styles */
.header-custom {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.3s ease;
  position: relative;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.navbar-dark .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover::after {
  width: 80%;
}

.navbar-brand {
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

/* Footer Styles */
.footer-custom {
  border-top: 3px solid #333333;
}

.footer-custom a:hover {
  text-decoration: underline !important;
  opacity: 0.8;
}

.powered-by-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #ffffff15 0%, #ffffff10 100%);
  padding: 8px 16px;
  border-radius: 25px;
  border: 1px solid #ffffff30;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.powered-by-badge:hover {
  background: linear-gradient(135deg, #ffffff25 0%, #ffffff20 100%);
  border-color: #ffffff50;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.beonesys-link {
  color: #ffffff !important;
  font-weight: 600;
  text-decoration: none !important;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.beonesys-link:hover {
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Focus Styles */
.btn:focus, 
.btn:active:focus, 
.btn-link.nav-link:focus, 
.form-control:focus, 
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #333333;
}

/* Button Styles */
.btn-primary {
  background-color: #000000;
  border-color: #000000;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #333333;
  border-color: #333333;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline-dark {
  transition: all 0.3s ease;
}

.btn-outline-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Link Styles */
a {
  color: #000000;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  color: #333333;
  opacity: 0.8;
}

/* Form Styles */
.form-floating > .form-control-plaintext::placeholder, 
.form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, 
.form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Utility Classes */
.bg-black {
  background-color: #000000 !important;
}

.text-light {
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar-nav {
    padding-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
  }
}