/* ================= GLOBAL ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

/* ================= NAVBAR ================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0d47a1;
  color: #fff;
  padding: 12px 20px;
  position: relative;
}

.navbar .logo i {
  margin-right: 8px;
}

.navbar .logo span {
  font-size: 22px;
  font-weight: bold;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 15px;
  align-items: center;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.nav-links a.btn {
  padding: 6px 12px;
  border-radius: 6px;
  transition: 0.2s;
}

.nav-links a.btn.primary {
  background-color: #ffcc00;
  color: #001f3f;
}

.nav-links a.btn.secondary {
  background-color: #06418f;
}

.nav-links a.btn:hover {
  opacity: 0.8;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* ================= HERO ================= */
.hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 2rem;
  background-color: #e1f0ff;
}

.hero-content {
  flex: 1 1 500px;
}

.hero-content h1 {
  font-size: 2.8rem;
  color: #0d47a1;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.hero-buttons .btn {
  margin-right: 10px;
  text-decoration: none;
  font-weight: bold;
}

.hero-image {
  flex: 1 1 400px;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  border-radius: 12px;
}

/* ================= WHY SECTION ================= */
.why {
  padding: 4rem 2rem;
  text-align: center;
}

.why h2 {
  color: #0d47a1;
  font-size: 2.2rem;
  margin-bottom: 2rem;
}

.why-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.why-item {
  flex: 1 1 250px;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
}

.why-item i {
  font-size: 2rem;
  color: #0d47a1;
  margin-bottom: 1rem;
}

.why-item h4 {
  margin-bottom: 0.5rem;
}

.why-item p {
  font-size: 1rem;
}

/* ================= CONTACT ================= */
.contact {
  padding: 3rem 2rem;
  text-align: center;
  background-color: #e1f0ff;
}

.contact h2 {
  color: #0d47a1;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact p {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* ================= FOOTER ================= */
.footer {
  background-color: #0d47a1;
  color: #fff;
  text-align: center;
  padding: 1.5rem 2rem;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
  }
  .hero-content {
    text-align: center;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #0d47a1;
    flex-direction: column;
    display: none;
    width: 200px;
    padding: 10px;
    border-radius: 5px;
  }

  .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .service-grid,
  .why-grid {
    flex-direction: column;
    align-items: center;
  }
}
/* ================= BUTTON STYLES ================= */
.btn {
  display: inline-block;
  text-align: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Primary button (blue) */
.btn.primary {
  background-color: #0d47a1;
  color: #fff;
  border: none;
}

.btn.primary:hover {
  background-color: #06418f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Secondary button (light / alternative) */
.btn.secondary {
  background-color: #f0f0f0;
  color: #0d47a1;
  border: 2px solid #0d47a1;
}

.btn.secondary:hover {
  background-color: #0d47a1;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.service-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.service-card {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
}


/* ================= HERO BACKGROUND IMAGE ================= */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 4rem 2rem;
  background: 
    linear-gradient(
      rgba(13, 71, 161, 0.75),
      rgba(13, 71, 161, 0.75)
    ),
    url("../images/oyana.jpeg") center/cover no-repeat;
  color: #fff;
}

/* Keep text above image */
.hero-content {
  max-width: 600px;
  z-index: 2;
}

/* Headings */
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-buttons .btn {
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
}

.hero-buttons .primary {
  background: #ffffff;
  color: #0D47A1;
}

.hero-buttons .secondary {
  border: 2px solid #fff;
  color: #fff;
}

/* ================= HIDE OLD HERO IMAGE VISUALLY ================= */
.hero-image {
  display: none;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .hero {
    text-align: center;
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }
}

/* FIX OPEN ACCOUNT BUTTON */
.hero-buttons .secondary {
  background-color: #ffffff;
  color: #0D47A1;
  border: 2px solid #ffffff;
}

/* CENTER "OUR SERVICES" HEADING */
.services h2 {
  text-align: center;
  margin-bottom: 2rem;
}

/* ================= SERVICES COLOR FIX ================= */

/* Our Services heading */
.services h2 {
  color: #0D47A1;
  text-align: center;
}

/* Service card titles (Checking, Savings, etc.) */
.service-card h3 {
  color: #0D47A1;
}

/* Optional: paragraph softer look */
.service-card p {
  color: #555;
}

/* ================= HAMBURGER FIX ================= */

/* Hide nav links on mobile */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 20px;
    background-color: #0D47A1;
    flex-direction: column;
    width: 220px;
    padding: 15px;
    border-radius: 8px;
    display: none;              /* hidden by default */
    z-index: 999;               /* stay on top */
  }

  /* SHOW menu when hamburger is clicked */
  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    padding: 10px 0;
    color: #fff;
  }

  .hamburger {
    display: block;
    cursor: pointer;
    font-size: 26px;
    color: #fff;
    z-index: 1000;
  }
}

/* Desktop keeps normal nav */
@media (min-width: 769px) {
  .hamburger {
    display: none;
  }

  .nav-links {
    display: flex;
    gap: 1.5rem;
  }
}

/* ================= HERO TEXT COLOR FIX ================= */

/* Make hero heading black */
.hero-content h1 {
  color: #000000;
}

/* Optional: keep paragraph slightly dark gray */
.hero-content p {
  color: #222;
}