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;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.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 Delano Academy Styles */

/* Hero section on homepage */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.hero-section .btn-primary {
  background-color: white;
  color: #667eea;
  border: none;
}

.hero-section .btn-primary:hover {
  background-color: #f8f9fa;
  color: #764ba2;
}

.hero-section .btn-outline-secondary {
  border-color: white;
  color: white;
}

.hero-section .btn-outline-secondary:hover {
  background-color: white;
  color: #667eea;
}

/* Page headers */
.page-header {
  padding: 2rem 0;
  border-bottom: 3px solid #667eea;
  margin-bottom: 2rem;
}

.page-header h1 {
  color: #333;
}

.page-header .lead {
  color: #666;
}

/* Card enhancements */
.card {
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #e0e0e0;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.card-header {
  font-weight: 600;
}

/* Navigation enhancements */
.navbar-brand {
  font-size: 1.3rem;
}

.navbar-brand strong {
  color: #667eea;
}

.nav-link {
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #667eea !important;
}

/* Footer styling */
.footer {
  padding: 2rem 0;
  background-color: #f8f9fa;
  margin-top: 4rem;
}

/* Buttons */
.btn-primary {
  background-color: #667eea;
  border-color: #667eea;
}

.btn-primary:hover {
  background-color: #5568d3;
  border-color: #5568d3;
}

.btn-outline-primary {
  color: #667eea;
  border-color: #667eea;
}

.btn-outline-primary:hover {
  background-color: #667eea;
  border-color: #667eea;
  color: white;
}

/* Accent colors */
.bg-primary {
  background-color: #667eea !important;
}

.text-primary {
  color: #667eea !important;
}

.border-primary {
  border-color: #667eea !important;
}

/* Accordion styling */
.accordion-button:not(.collapsed) {
  background-color: #667eea;
  color: white;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

/* Alert styling */
.alert-info {
  background-color: #e7f1ff;
  border-color: #b3d7ff;
  color: #004085;
}

.alert-success {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

/* Form styling */
.form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-select:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .hero-section {
    padding: 2rem 1rem !important;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .navbar-brand small {
    font-size: 0.6rem;
  }
}