/* Federal Locker Banking Theme */
:root {
  --federal-blue: #1e3a8a;
  --federal-light-blue: #3b82f6;
  --federal-dark-blue: #1e40af;
  --federal-gold: #fbbf24;
  --federal-green: #10b981;
  --federal-red: #ef4444;
  --federal-gray: #6b7280;
  --federal-light-gray: #f9fafb;
  --text-dark: #1f2937;
  --text-light: #6b7280;
}

/* Global Styles */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

/* Background Gradients */
.bg-gradient-primary {
  background: linear-gradient(135deg, var(--federal-blue) 0%, var(--federal-light-blue) 100%);
}

/* Navigation */
.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.75rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--federal-light-blue) !important;
}

/* Buttons */
.btn {
  font-weight: 500;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--federal-blue);
  border-color: var(--federal-blue);
}

.btn-primary:hover {
  background-color: var(--federal-dark-blue);
  border-color: var(--federal-dark-blue);
  transform: translateY(-2px);
}

.btn-warning {
  background-color: var(--federal-gold);
  border-color: var(--federal-gold);
  color: var(--text-dark);
}

.btn-success {
  background-color: var(--federal-green);
  border-color: var(--federal-green);
}

/* Hero Section */
.hero-section {
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.min-vh-75 {
  min-height: 75vh;
}

.security-badge {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Cards */
.card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.feature-card,
.security-feature-card,
.branch-card,
.account-type-card,
.contact-method-card,
.testimonial-card {
  @extend .card;
  height: 100%;
}

.account-type-card.border-primary {
  border: 2px solid var(--federal-light-blue) !important;
}

/* Certification Cards */
.certification-card,
.cert-card {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.certification-card:hover,
.cert-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

/* Statistics */
.stat-card {
  padding: 2rem 1rem;
}

.stat-card h2 {
  margin-bottom: 0.5rem;
}

/* Comparison Cards */
.comparison-card {
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.comparison-table {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.comparison-table .list-group-item {
  border: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.comparison-table .list-group-item:last-child {
  border-bottom: none;
}

/* Testimonials */
.testimonial-card {
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.stars {
  display: flex;
  gap: 0.25rem;
}

.testimonial-card blockquote {
  font-style: italic;
  color: var(--text-light);
  line-height: 1.6;
}

.author {
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
  margin-top: 1rem;
}

/* Contact Cards */
.contact-info {
  font-size: 0.95rem;
}

.contact-method-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.contact-method-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

/* Form Styles */
.form-control,
.form-select {
  border-radius: 0.5rem;
  border: 2px solid #e5e7eb;
  padding: 0.75rem;
  transition: border-color 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--federal-light-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-label {
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

/* Alerts */
.alert {
  border: none;
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
}

.alert-success {
  background-color: #d1fae5;
  color: #065f46;
}

.alert-danger {
  background-color: #fee2e2;
  color: #991b1b;
}

.alert-info {
  background-color: #dbeafe;
  color: #1e40af;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

footer h5,
footer h6 {
  color: white;
  margin-bottom: 1rem;
}

footer .text-muted {
  color: #9ca3af !important;
}

footer a.text-muted:hover {
  color: var(--federal-light-blue) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .display-4 {
    font-size: 2rem;
  }
  
  .hero-section {
    min-height: 70vh;
    padding: 3rem 0;
  }
  
  .btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1rem;
  }
  
  .stat-card {
    padding: 1rem;
    margin-bottom: 2rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .card-body {
    padding: 1.5rem !important;
  }
  
  .comparison-table {
    padding: 1.5rem;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Security Icons */
.security-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

/* Feature Icons */
.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Utility Classes */
.text-federal-blue {
  color: var(--federal-blue) !important;
}

.text-federal-gold {
  color: var(--federal-gold) !important;
}

.bg-federal-light {
  background-color: var(--federal-light-gray) !important;
}

.border-federal {
  border-color: var(--federal-light-blue) !important;
}

/* Loading States */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Focus States for Accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* Savings Card Styles */
.savings-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border-left: 4px solid #28a745;
}

.savings-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.savings-amount .display-5 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* Security Feature Cards */
.security-feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.security-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.security-icon {
    min-width: 80px;
}

/* Benefit Cards */
.benefit-card {
    padding: 2rem 1rem;
    border-radius: 15px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

/* Additional Background Gradients */
.bg-gradient-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Print Styles */
@media print {
  .navbar,
  footer,
  .btn {
    display: none !important;
  }
  
  .container {
    max-width: none !important;
  }
}
