/* ================================
   GLOBAL
================================ */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  margin: 0;
  overflow-x: hidden;
  font-family: Arial, Helvetica, sans-serif;
  color: #222;
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}


/* ================================
   TOP BAR
================================ */

.top {
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
  padding: 8px 5%;
  display: flex;
  justify-content: flex-end;
  gap: 25px;
  font-size: 13px;
}


/* ================================
   HEADER
================================ */

header {
  border-bottom: 1px solid #ddd;
  background: #fff;
}

.nav {
  width: 100%;
  max-width: 1250px;
  min-height: 40px;
  margin: auto;
  padding: 0 25px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}


/* LOGO */

.logo {
  display: flex;
  align-items: center;
  gap: 8px;

  font-size: 40px;
  font-weight: bold;
  color: #073b6b;

  white-space: nowrap;
  flex-shrink: 0;

  /* Move entire logo */
  transform: translateX(-7px);
}

.logo img {
  width: 85px;
  height: 85px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transform: translatex(-10px);
}

.logo span {
  color: #073b6b;
  font-family: "Trajan Pro", serif;

  /* Move only Firstviewbank text */
  transform: translateX(-35px);
}


/* DESKTOP NAVIGATION */

.menu {
  display: flex;
  align-items: center;
  gap: 20px;

  /* Allows you to move the nav links */
  transform: translateX(20px);

  /* Pushes menu toward the right */
  margin-left: auto;
}


/* CREATE ACCOUNT BUTTON */

.online {
  background: #c82333;
  color: white;
  border: 0;

  padding: 11px 12px;
  font-size: 11px;

  border-radius: 3px;
  font-weight: bold;
  cursor: pointer;

  white-space: nowrap;
  flex-shrink: 0;

  /* Move button */
  transform: translateX(-10px);
}


/* MOBILE MENU */

.mobile-menu {
  display: none;
  flex-shrink: 0;
  margin-left: auto;
  transform: translateX(-10px);
}

.menu-btn {
  width: 40px;
  height: 40px;

  padding: 0;
  border: none;
  background: transparent;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-btn i {
  font-size: 28px;
  color: #073b6b;
}


/* ================================
   SIDE MENU
================================ */

.side-menu {
  position: fixed;

  top: 0;
  right: -70%;

  width: 70%;
  height: 100vh;

  background: #fff;

  z-index: 1000;

  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);

  transition: right 0.3s ease;
}

.side-menu.open {
  right: 0;
}

.side-menu-header {
  height: 72px;
  padding: 0 20px;

  border-bottom: 1px solid #ddd;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.close-btn {
  border: none;
  background: transparent;

  font-size: 32px;
  cursor: pointer;
}

.side-menu-links {
  display: flex;
  flex-direction: column;
}

.side-menu-links a {
  padding: 18px 20px;

  color: #073b6b;

  border-bottom: 1px solid #eee;

  font-size: 15px;
}

.menu-overlay {
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.35);

  z-index: 999;

  opacity: 0;
  visibility: hidden;

  transition: 0.3s;
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
}


/* ================================
   HERO
================================ */

.hero {
  min-height: 430px;

  background:
    linear-gradient(
      90deg,
      rgba(5, 42, 76, 0.94),
      rgba(5, 42, 76, 0.72),
      rgba(5, 42, 76, 0.25)
    ),
    linear-gradient(120deg, #0c527e, #8da9b9);

  color: white;

  display: flex;
  align-items: center;
}

.hero-inner {
  width: 1250px;
  max-width: 90%;

  margin: auto;

  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 60px;
}

.hero-text {
  max-width: 650px;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero p {
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.red-btn {
  display: inline-block;
  background: #c82333;
  color: #fff;
  padding: 15px 28px;
  font-weight: bold;
  border-radius: 12px;
}

/* ================================
   QUICK LINKS
================================ */

.quick {
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.quick-inner {
  max-width: 1150px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.quick-item {
  padding: 26px;
  text-align: center;
  border-right: 1px solid #ddd;
}

.quick-item strong {
  display: block;

  color: #073b6b;

  margin-bottom: 6px;
}

.quick-item span {
  font-size: 13px;
  color: #666;
}

.checking-promo {
  padding: 40px 5%;
}

.checking-promo-inner {
  max-width: 1150px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.checking-promo-image {
  width: 100%;
  overflow: hidden;
}

.checking-promo-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px 12px 0 0;
}

.checking-promo-content {
  padding: 35px;
  border-radius: 0 0 12px 12px;
  background: #fff;
}

.promo-label {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: #073b6b;
  letter-spacing: 0.5px;
}

.checking-promo-content .promo-head {
  margin: 0 0 10px;
  font-size: 25px;
  font-weight: 800;
  color: #073b6b;
}

.checking-promo-content p {
  margin: 0 0 20px;
  font-size: 16px;
  color: #444;
}

.promo-link {
  display: inline-block;
  color: #c82333;
  font-weight: 700;
  text-decoration: none;
}

.promo-link:hover {
  text-decoration: underline;
}

/* ================================
   PRODUCTS
================================ */

.products {
  padding: 65px 5%;

  background: #f7f8f9;

  text-align: center;
}

.products h2 {
  color: #073b6b;

  font-size: 32px;

  margin-bottom: 40px;
}

.cards {
  max-width: 1150px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.card {
  background: white;
  text-align: left;
  border: 1px solid #ddd;
  min-height: 220px;
  padding: 30px;
  transition: 0.2s;
  min-width: 0;
  overflow: hidden;
  border-radius:12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card-icon {
  display: block;
  width: 100%;
  height: 45px;
  font-size: 35px;
  line-height: 45px;
  margin-bottom: 18px;
  color: #073b6b;
}

.card h3 {
  color: #073b6b;
  font-size: 21px;
  margin-bottom: 12px;
  line-height: 1.3;
}

.card p {
  color: #555;
  line-height: 1.6;
  font-size: 14px;
  margin: 0;
  max-width: 100%;
}

.card a {
  display: inline-block;
  margin-top: 18px;
  color: #b51e2c;
  font-weight: bold;
  font-size: 14px;
}


/* ================================
   PROMO
================================ */

.promo {
  padding: 70px 5%;
}

.promo-inner {
  max-width: 1150px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 300px;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}

.promo-image {
  overflow: hidden;
}

.promo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px 12px 0 0;
}

.promo-text {
  background: #073b6b;
  color: white;
  padding: 50px;
}

.promo-text h2 {
  font-size: 31px;

  margin-bottom: 15px;
}

.promo-text p {
  line-height: 1.6;

  color: #e4edf4;
}

.white-btn {
  display: inline-block;
  margin-top: 25px;
  background: white;
  color: #073b6b;
  border-radius: 12px;
  padding: 13px 23px;
  font-weight: bold;
}


/* ================================
   SECURITY
================================ */

.security {
  background: #eef3f6;

  padding: 55px 5%;

  text-align: center;
}

.security h2 {
  color: #073b6b;

  margin-bottom: 15px;
}

.security p {
  max-width: 700px;

  margin: auto;

  color: #555;

  line-height: 1.6;
}


/* ================================
   FOOTER
================================ */

footer {
  background: #09243c;

  color: white;

  padding: 50px 5% 20px;
}

.footer-grid {
  max-width: 1150px;

  margin: auto;

  display: grid;

  grid-template-columns: 2fr 1fr 1fr 1fr;

  gap: 40px;
}

.footer-logo {
  font-size: 24px;

  font-weight: bold;

  margin-bottom: 12px;
}

footer h4 {
  margin-bottom: 15px;
}

footer a {
  display: block;

  color: #d5e0e9;

  font-size: 13px;

  margin: 9px 0;
}

footer p {
  color: #c1ccd5;

  font-size: 13px;

  line-height: 1.6;
}

.copyright {
  max-width: 1150px;

  margin: 35px auto 0;

  padding-top: 20px;

  border-top: 1px solid #385066;

  color: #aebbc6;

  font-size: 12px;
}

/* ================================
   TABLET
================================ */

@media (max-width: 1000px) {

  .nav {
    padding: 0 18px;
    gap: 12px;
  }

  .logo {
    font-size: 30px;
  }

  .logo img {
    width: 100px;
    height: 100px;
  }

  .mobile-menu {
    display: block;
    margin-left: auto;
  }

  .menu {
    gap: 12px;
  }

  .hero-inner {
    gap: 30px;
  }
}


/* ================================
   MOBILE
================================ */

@media (max-width: 850px) {

  .top {
    display: none;
  }

  .nav {
    min-height: 49px;
    padding: 0 15px;
    gap: 10px;
  }

  /* Hide desktop navigation */
  .menu {
    display: none;
  }

  /* Show hamburger */
  .mobile-menu {
    display: block;
    margin-left: auto;
  }

  .online {
    padding: 10px 14px;

    font-size: 12px;
  }

  .logo {
    font-size: 24px;
  }

  .logo img {
    width: 85px;
    height: 85px;
  }


  /* HERO */

  .hero {
    padding: 55px 0;
  }

  .hero-inner {
    flex-direction: column;

    align-items: stretch;

    gap: 35px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .login {
    width: 100%;
  }


  /* QUICK LINKS */


  .quick-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 0;
  border: none;
}

.quick-item {
  border: none;
  box-shadow: none;
  text-align:left;
}


  /* PRODUCTS */

  .cards {
    grid-template-columns: 1fr;
  }


  /* PROMO */

  .promo-inner {
    grid-template-columns: 1fr;
  }

  .promo-image {
    min-height: 200px;
  }


  /* FOOTER */

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}


/* ================================
   SMALL PHONES
================================ */

@media (max-width: 500px) {

  .nav {
    padding: 0 10px;
    gap: 8px;
  }

  .logo {
    font-size: 19px;

    gap: 5px;
  }

  .logo img {
    width: 85px;
    height: 85px;
  }

  .online {
    padding: 9px 10px;

    font-size: 11px;
  }

  .menu-btn,
  .menu-btn i {
    font-size: 24px;
  }

  .hero h1 {
    font-size: 31px;
  }

  .hero p {
    font-size: 16px;
  }

 .quick-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 0;
  border: none;
}

.quick-item {
  border: none;
  box-shadow: none;
  text-align:left;
}

  .promo-text {
    padding: 35px 25px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
  