/* Banking Theme Colors */
:root {
  --bank-navy: #1e3a5f;
  --bank-navy-light: #7aa3cc;
  --bank-gold: #d4af37;
  --bank-success: #22c55e;
  --bank-background-subtle: #f8fafc;
  --gradient-hero: linear-gradient(135deg, #1e3a5f, #3b82f6);
  --gradient-gold: linear-gradient(135deg, #d4af37, #fbbf24);
  --shadow-banking: 0 20px 40px -10px rgba(30, 58, 95, 0.3);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.1);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #334155;
}

.text-bank-navy {
  color: var(--bank-navy) !important;
}

.text-bank-gold {
  color: var(--bank-gold) !important;
}

/* Header Styles */
.banking-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link {
  color: #64748b !important;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.navbar-nav .nav-link:hover {
  color: var(--bank-navy) !important;
}

/* Custom Button Styles */
.btn-banking {
  background: linear-gradient(135deg, var(--bank-navy), #3b82f6);
  border: none;
  color: white;
  font-weight: 600;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(30, 58, 95, 0.2);
}

.btn-banking:hover {
  background: linear-gradient(135deg, #1e40af, var(--bank-navy));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 58, 95, 0.3);
  color: white;
}

.btn-outline-banking {
  border: 2px solid var(--bank-navy);
  color: var(--bank-navy);
  font-weight: 600;
  background: transparent;
  transition: var(--transition-smooth);
}

.btn-outline-banking:hover {
  background: var(--bank-navy);
  color: white;
  transform: translateY(-2px);
}

.btn-hero {
  background: linear-gradient(135deg, var(--bank-navy), #3b82f6);
  border: none;
  color: white;
  font-weight: 600;
  padding: 12px 32px;
  font-size: 1.1rem;
  border-radius: 12px;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 25px rgba(30, 58, 95, 0.3);
}

.btn-hero:hover {
  background: linear-gradient(135deg, #1e40af, var(--bank-navy));
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(30, 58, 95, 0.4);
  color: white;
}

.btn-hero .bi-arrow-right {
  transition: var(--transition-smooth);
}

.btn-hero:hover .bi-arrow-right {
  transform: translateX(4px);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--bank-background-subtle), #ffffff);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #1e293b;
}

.gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #64748b;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  color: white;
}

.feature-icon.bg-success {
  background: rgba(34, 197, 94, 0.1);
  color: var(--bank-success) !important;
}

.feature-icon.bg-warning {
  background: rgba(212, 175, 55, 0.1);
  color: var(--bank-gold) !important;
}

.trust-indicators {
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.hero-image img {
  border-radius: 1rem;
  box-shadow: var(--shadow-banking);
}

/* Services Section */
.services-section {
  background: var(--bank-background-subtle);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: #64748b;
  margin-bottom: 3rem;
}

.service-card {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border: none;
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-banking);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-hero);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

.service-card .btn .bi-arrow-right {
  transition: var(--transition-smooth);
}

.service-card .btn:hover .bi-arrow-right {
  transform: translateX(4px);
}

/* Security Section */
.security-section {
  background: #ffffff;
}

.security-icon {
  width: 48px;
  height: 48px;
  background: rgba(30, 58, 95, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bank-navy);
  flex-shrink: 0;
}

.security-cert-card {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border: none;
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
}

.security-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--gradient-gold);
  color: var(--bank-navy);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-banking);
  text-align: center;
  font-weight: 600;
}

.security-badge .bi-shield-check {
  font-size: 2rem;
  display: block;
}

/* Footer */
.banking-footer {
  background: var(--bank-navy);
  color: white;
}

.footer-link {
  color: var(--bank-navy-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  display: block;
  margin-bottom: 0.5rem;
}

.footer-link:hover {
  color: white;
}

.contact-info i {
  width: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .security-badge {
    position: static;
    margin-top: 2rem;
    display: inline-block;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Button Hover Effects */
.btn {
  transition: var(--transition-smooth);
}

.btn:hover {
  transform: translateY(-2px);
}

/* Card Hover Effects */
.card {
  transition: var(--transition-smooth);
}

/* Loading States */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Focus States for Accessibility */
.btn:focus,
.nav-link:focus,
.footer-link:focus {
  outline: 2px solid var(--bank-gold);
  outline-offset: 2px;
}

/* High Contrast Support */
@media (prefers-contrast: high) {
  .btn-outline-banking {
    border-width: 3px;
  }
  
  .service-card {
    border: 2px solid #e2e8f0;
  }
}