@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  background: url('../images/payToMyCard.jpg') no-repeat center center fixed;
  background-size: cover;
  position: relative;
  color: white;
  font-family: 'Montserrat', sans-serif;
}

/* Overlay on top of background */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  /* background-color: rgba(0, 0, 0, 0.6); */
  z-index: -1; /* Behind content but above background */
}

/* Navbar styles */
.navbar {
  transition: background-color 0.4s ease;
  background-color: transparent !important; /* Start transparent */
  position: fixed;
  width: 100%;
  z-index: 1030; /* Bootstrap navbar z-index */
}

.navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.85) !important;
}

.navbar-brand,
.nav-link {
  color: white !important;
}

/* Sections */
.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 15px;
  background-color: rgba(0, 0, 0, 0.6); /* semi-transparent black */
  color: #fff;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
  box-sizing: border-box;
}

.section.show {
  opacity: 1;
  transform: translateY(0);
}

/* Section overrides for distinct backgrounds */
#info {
  background-color: rgba(131, 4, 52, 0.7); /* darker transparent */
}

#contact {
  background-color: rgba(10, 94, 31, 0.7);
  min-height: 50vh;
}

#faq {
  background-color: rgba(7, 62, 143, 0.7); /* darker transparent */
  min-height: 30vh;
}

#services {
  background-color: rgba(143, 68, 7, 0.7); /* darker transparent */
  min-height: 30vh;
}

#testimonial {
  background-color: rgba(97, 133, 14, 0.7); /* darker transparent */
  min-height: 30vh;
}

/* Home padding top to avoid navbar overlap */
#home {
  padding-top: 120px;
}

/* Back to top button */
#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  z-index: 1050;
  background-color: #dc3545; /* Bootstrap's red */
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease;
}

#backToTop:hover {
  background-color: #bb2d3b; /* Slightly darker red on hover */
}

/* Large screens: add background when scrolled */
.navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.7);
}

.navbar {
  transition: background-color 0.3s ease;
}

.navbar-custom {
  background: rgba(60, 10, 10, 0.85);
  /* Soft burgundy translucent */
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  z-index: 1050;
  position: relative;
}

/* Background when menu is open on small screens */
.navbar.menu-open {
  background-color: rgba(0, 0, 0, 0.85);
}

/* General Card Styling */
.accordion-style .card-body {
  padding-top: 0px;
  padding-left: 3.5rem;
  padding-bottom: 0;
  text-align: left !important; 
}
.accordion-style .accordion-item {
  background: transparent;
  border: none;
}

.accordion-style .accordion-button {
  background: transparent;
  color: #faed40;
  text-align: left;
  box-shadow: none;
  padding-left: 55px;
  position: relative;
}

.accordion-style .btn-link {
  text-decoration: none !important;
}

.accordion-style .btn-link:hover,
.accordion-style .btn-link:focus {
  text-decoration: none !important;
}

.accordion-style .accordion-button:not(.collapsed) {
  background: transparent;
  color: #fff;
}

.accordion-style .accordion-button::after {
  content: "-";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  background-color: #f99218;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.accordion-style .accordion-button.collapsed::after {
  content: "+";
  background-color: rgba(0, 0, 0, 0.6);
  color: #f99218;
}

.accordion-style .accordion-body {
  background: transparent;
  color: #fff;
  padding-left: 3.5rem;
  position: relative;
}

.accordion-style .accordion-body::before {
  content: "";
  position: absolute;
  border-left: 1.2px dashed #f99218;
  top: 0;
  bottom: 0;
  left: 20px;
}
/* Hide Bootstrap default arrow */
.accordion-style .accordion-button::after {
  display: none !important;
}

/* Custom "+" when collapsed */
.accordion-style .btn-link.collapsed::before {
  content: "+";
  position: absolute;
  top: 50%;
  left: 0;
  font-size: 2rem;
  color: #f99218;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  box-shadow: 8px 8px 30px 0 rgba(0, 0, 0, 0.12);
}

/* Custom "−" when open */
.accordion-style .btn-link::before {
  content: "−";
  position: absolute;
  top: 50%;
  left: 0;
  font-size: 1rem;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f99218;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  box-shadow: 8px 8px 30px 0 rgba(0, 0, 0, 0.12);
}


/* Utility */
.mx-auto {
  margin-right: auto !important;
  margin-left: auto !important;
}

.rounded {
  border-radius: 0.25rem !important;
}

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

  /* Make modal background (backdrop) semi-transparent */
  .modal-backdrop.show {
    background-color: rgba(0, 0, 0, 0.6); /* adjust transparency here */
  }

  /* Optional: Make modal content slightly transparent too */
  .modal-content {
    background-color: rgba(31, 29, 29, 0.7); /* semi-transparent white */
    backdrop-filter: blur(5px); /* optional: blur effect behind modal */
  }

  .invalid-feedback {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 5px 10px;
  border-radius: 4px;
  color: black;
}

.myLabel {
  color: rgb(255, 255, 255);
}
