html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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 #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.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;
}

/* Custom styles for Tozae public website */
:root {
  --tozae-primary: #258cfb;
  --tozae-primary-hover: #1e7ae6;
  --tozae-secondary: #6c757d;
  --tozae-success: #28a745;
  --tozae-light: #f8f9fa;
  --tozae-dark: #343a40;
}

.btn-primary {
  background-color: var(--tozae-primary);
  border-color: var(--tozae-primary);
}

.btn-primary:hover {
  background-color: var(--tozae-primary-hover);
  border-color: var(--tozae-primary-hover);
}

.btn-outline-primary {
  color: var(--tozae-primary);
  border-color: var(--tozae-primary);
}

.btn-outline-primary:hover {
  background-color: var(--tozae-primary);
  border-color: var(--tozae-primary);
}

.text-primary {
  color: var(--tozae-primary) !important;
}

.bg-primary {
  background-color: var(--tozae-primary) !important;
}

.hero-section {
  min-height: 500px;
  display: flex;
  align-items: center;
}

.features-section .card {
  transition: transform 0.2s ease-in-out;
}

.features-section .card:hover {
  transform: translateY(-5px);
}

.cta-section {
  background: linear-gradient(135deg, var(--tozae-primary) 0%, var(--tozae-primary-hover) 100%);
}

/* Improved typography */
.display-4 {
  font-weight: 700;
  letter-spacing: -0.025em;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

/* Custom navbar styling */
.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--tozae-primary) !important;
}

/* Improved form styling */
.form-control:focus {
  border-color: var(--tozae-primary);
  box-shadow: 0 0 0 0.2rem rgba(37, 140, 251, 0.25);
}

.form-select:focus {
  border-color: var(--tozae-primary);
  box-shadow: 0 0 0 0.2rem rgba(37, 140, 251, 0.25);
}

/* Enhanced card shadows */
.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Responsive improvements */
@media (max-width: 768px) {
  .hero-section {
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-section .display-4 {
    font-size: 2.5rem;
  }
  
  .hero-section .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

/* Accessibility improvements */
.btn:focus-visible {
  outline: 2px solid var(--tozae-primary);
  outline-offset: 2px;
}

a:focus-visible {
  outline: 2px solid var(--tozae-primary);
  outline-offset: 2px;
  text-decoration: none;
}