/*
 * BankRegPulse Landing Page Styles
 *
 * This stylesheet defines the look and feel of the BankRegPulse landing page.
 * The palette is based on dark navy, navy and teal tones to evoke trust,
 * sophistication and technological innovation. The layout uses responsive
 * design to ensure the page looks great on both desktop and mobile.
 */

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  color: #1f2937;
  line-height: 1.6;
  background-color: #ffffff;
}

a {
  text-decoration: none;
  color: #0099cc;
}
a:hover {
  text-decoration: underline;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

header .logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: #003366;
  letter-spacing: 0.5px;
}

header .logo svg {
  margin-right: 0.5rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav li {
  font-weight: 500;
}

nav a {
  color: #003366;
  transition: color 0.2s ease;
}
nav a:hover {
  color: #0099cc;
}

/* Hero */
.hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  margin-top: 64px;
  background-image: url('hero_bg.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero .btn-primary {
  display: inline-block;
  background-color: #0099cc;
  color: #ffffff;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}
.hero .btn-primary:hover {
  background-color: #0075a8;
}

/* Generic primary button style for non-hero contexts */
.btn-primary {
  display: inline-block;
  background-color: #0099cc;
  color: #ffffff;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}
.btn-primary:hover {
  background-color: #0075a8;
  color: #ffffff;
}

/* Section common styles */
section {
  padding: 4rem 2rem;
}

section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: #003366;
  font-family: 'Poppins', sans-serif;
}

/* Feature grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background-color: #f6f9fc;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card svg {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  fill: #0099cc;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: #003366;
  font-family: 'Poppins', sans-serif;
}

.feature-card p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.5;
}

/* Alternating backgrounds */
.bg-light {
  background-color: #ffffff;
}
.bg-grey {
  background-color: #f6f9fc;
}
.bg-dark {
  background-color: #003366;
  color: #ffffff;
  text-align: center;
}

.bg-dark h2 {
  color: #ffffff;
}
.bg-dark p {
  color: #e2e8f0;
}

/* Key Capabilities section - reduced bottom padding */
#analytics {
  padding: 4rem 2rem 2.5rem 2rem;
}

/* Contact section specific styling */
#contact {
  padding: 3rem 2rem 2rem 2rem;
}

/* Footer */
footer {
  background-color: #07172b;
  color: #ffffff;
  padding: 2rem;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-left {
  flex: 0 0 auto;
}

.footer-left a:hover {
  color: #0099cc;
}

.footer-right {
  flex: 1 1 auto;
  text-align: right;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.75rem;
    white-space: normal;
    line-height: 1.3;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero {
    min-height: 350px;
    padding: 1rem;
  }
  header {
    padding: 0 1rem;
  }
  header .logo {
    font-size: 1.2rem;
  }
  nav ul {
    gap: 1rem;
  }
  section {
    padding: 3rem 1.5rem;
  }
  section h2 {
    font-size: 1.6rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .feature-card {
    padding: 1.5rem;
  }
  #analytics {
    padding: 3rem 1.5rem 2rem 1.5rem;
  }
  #contact {
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
  }
  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .footer-right {
    text-align: left;
  }
}