body,html {
  margin: 0;
  font-family: Inter, sans-serif;
  background: #f6f7fb;
  overflow-x: hidden;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: #AE275F;
  color: white;
}

.logo {
  font-weight: bold;
  font-size: 18px;
  display: flex;
  gap: 8px;
}

/* NAV MENU */
nav {
  display: flex;
  gap: 14px;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 14px;
}

/* ONLINE BANKING BUTTON */
.btn-login {
  background: white;
  color: #AE275F;
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

/* MOBILE MENU BUTTON */
.menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 26px;
}

/* NOTICE MARQUEE */
.notice-bar {
  background: gold;
  padding: 8px;
  font-weight: 600;
  font-size: 14px;
}

/* HERO */
.hero {
  height: 75vh;
  background: url("https://images.unsplash.com/photo-1509099836639-18ba1795216d")
    center/cover no-repeat;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-content {
  position: relative;
  padding: 100px 20px;
  color: white;
  max-width: 520px;
}

.hero-content h1 {
  font-size: 38px;
}

.hero-content span {
  color: gold;
}

.hero-buttons {
  margin-top: 20px;
}

/* BUTTONS */
.btn-primary {
  background: #AE275F;
  color: white;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  border: none;
}

.btn-secondary {
  background: gray;
  color: white;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
}

/* SERVICES */
.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: -50px;
  padding: 0 15px;
}

.card {
  background: white;
  padding: 18px;
  width: 280px;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.card i {
  font-size: 30px;
  color: #AE275F;
}

/* MODAL POPUP */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-box {
  background: white;
  padding: 25px;
  width: 320px;
  border-radius: 14px;
  text-align: center;
}

.modal-box input {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.w100 {
  width: 100%;
}

.close-btn {
  margin-top: 12px;
  background: #c0392b;
  color: white;
  padding: 10px;
  border: none;
  width: 100%;
  border-radius: 10px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: #AE275F;
  color: white;
  margin-top: 40px;
}

/* MOBILE RESPONSIVE */
/* MOBILE RESPONSIVE NAVBAR FIX */
@media(max-width: 768px) {

  /* Hide nav by default */
  nav {
    display: none;
    flex-direction: column;
    background: #AE275F;

    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;

    padding: 20px;
    gap: 18px;
    z-index: 999;
  }

  /* Show when toggled */
  nav.show {
    display: flex;
  }
/* HERO BUTTONS MOBILE FIX */
.hero-buttons {
  display: flex;
  gap: 14px;
  margin-top: 0px;
}



  /* Make links full width */
  nav a {
    display: block;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    font-size: 16px;
  }

  nav a:hover {
    background: rgba(255,255,255,0.15);
  }

  /* Online banking button full width */
  .btn-login {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    border-radius: 10px;
  }

  /* Show hamburger */
  .menu-btn {
    display: block;
  }

}

@media(max-width: 768px) {

  .hero-buttons {
    flex-direction: column;
    width: 30%;
  }

  .hero-buttons a {
    width: 100%;
    text-align: center;
    padding: 14px;
    font-size: 16px;
  }
  .modal{
    z-index: 999;
  }
}
/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 18px 60px;
  background: #AE275F;
  color: white;
}

.logo {
  font-weight: bold;
  font-size: 20px;
  display: flex;
  gap: 8px;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 12px;
}

.btn-login {
  background: white;
  color:#AE275F;
  padding: 8px 14px;
  border-radius: 8px;
}

/* HERO */
.hero {
  height: 85vh;
  background: url("https://images.unsplash.com/photo-1509099836639-18ba1795216d")
    center/cover no-repeat;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}



.hero-content h1 {
  font-size: 50px;
}

.hero-content span {
  color: gold;
}

.hero-buttons a {
  margin-right: 15px;
}

/* BUTTONS */

.btn-secondary {
  background: gray;
  color: white;
  padding: 12px 18px;
  border-radius: 10px;
}

/* SERVICES */
.services {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 60px;
}

.card {
  background: white;
  padding: 20px;
  width: 280px;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.card i {
  font-size: 30px;
  color: #AE275F;
}

/* ABOUT */
.about {
  display: flex;
  justify-content: space-between;
  padding: 80px;
  gap: 40px;
}

.about-img img {
  width: 420px;
  border-radius: 16px;
}

/* HELP */
.help {
  text-align: center;
  padding: 50px;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.help-box {
  background: white;
  padding: 20px;
  border-radius: 14px;
}

/* LOANS */
.loans {
  padding: 60px;
  text-align: center;
}

.loan-cards {
  display: flex;
  gap: 18px;
  justify-content: center;
}

.loan-card {
  background: #AE275F;
  color: white;
  padding: 20px;
  border-radius: 16px;
  width: 250px;
}

/* TESTIMONIAL */
.testimonial {
  background: #1e293b;
  color: white;
  text-align: center;
  padding: 60px;
}

.quote {
  max-width: 600px;
  margin: auto;
  font-size: 18px;
}

/* FOOTER */
footer {
  background: #AE275F;
  color: white;
  padding: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.footer-grid a {
  display: block;
  color: white;
  text-decoration: none;
  margin: 6px 0;
}

.copy {
  text-align: center;
  margin-top: 30px;
}

/* RESPONSIVE */
@media(max-width: 900px) {
  .services,
  .loan-cards,
  .about {
    flex-direction: column;
    align-items: center;
  }

  .help-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
