html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  height: 100%;
}
 
body {
  position: relative;
  font-family: "Montserrat", sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #eceff7;
  margin: 0;
}
 

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/static/images/HQO.png') no-repeat center center fixed;
  background-size: 100% 100% !important;
  opacity: 0.5; 
  z-index: -1;
}

.bodyContainer {
  background-color: transparent;
  min-height: 100vh;
  flex: 1 0 auto;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.myBar,
.navbar {
  background-color: none !important;
  box-shadow: none !important;
  border: none;
  padding-top: 1rem;   
  padding-bottom: 1rem; 
}

.navbar {
  width: 100%;
  position: relative; 
}
 
.nav-link {
  color: #63a70a !important;   
  font-weight: bold !important; 
  font-size: 1.2rem;
  text-decoration: none;
  padding: 0.25rem 1rem;
  transition: background-color 0.2s ease, transform 0.4s ease-in-out;
}
 
.nav-left {
  flex: 0 0 auto;
}
 
.nav-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
 
.dropdown-menu {
  font-weight: normal;
  border-radius: 0.25rem;
  margin-top: 0.25rem;
}
 
.dropdown-menu .dropdown-item {
  padding: 0.5vw 1.25vw;
  transition: background 0.2s ease;
}
.dropdown-menu .dropdown-item:hover {
  background: rgba(0, 117, 201, 0.08);
}
 
.navbar .dropdown-toggle::after {
  display: none !important;
}

.nav-center {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;   
  justify-content: center;  
  pointer-events: none;     
  padding-top: 8vh;
}

.line-left {
  position: absolute;
  bottom: 0;
  left: 0;
  width: calc(48% - 27.5px);
  height: 1px;
  background-color: #000;
  transform-origin: right center; 
  transition: transform 0.4s ease-in-out;
  padding-right: 30%;
}

.line-right {
  position: absolute;
  bottom: 0;
  right: 0;
  width: calc(48% - 27.5px); 
  height: 1px;
  background-color: #000;
  transform-origin: left center; 
  transition: transform 0.4s ease-in-out;
  padding-left: 30px;
}

.logo-container {
  position: relative;
  z-index: 2;   
  pointer-events: auto;
}
 
.dc-logo {
  display: block;
  height: 55px;
  margin-bottom: -27.5px;
  transition: transform 0.4s ease-in-out;
  padding: 0 40px;
}
 
.nav-center:hover .dc-logo {
  transform: scale(1.2);
}

@media (max-width: 767px) {
  .line-left,
  .line-right {
    display: none;
  }

  .checklists-bg{
    display: none !important;
  }
}
 
.nav-item {
  font-size: 1.2rem;
  padding: 0px 5px;
  transition: transform 0.4s ease-in-out, background-color 0.2s ease;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.nav-item:hover {
  transform: scale(1.1);
  background-color: #ffffff;
  border: none;      
  border-radius: 25px;
  padding: 0px 15px;  
}

.checklist-dropdown > .nav-link {
  padding: 0.25rem 1rem;
}
.checklist-dropdown > .nav-link:hover {
  background-color: #ffffff;
}
 
.nav-help .nav-link {
  margin-left: 1rem;
}
.nav-help .nav-link:hover {
  background-color: #ffffff;
}
 
@media (min-width: 768px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block !important;
    visibility: visible;
    opacity: 1;
    margin-top: 0; 
    border: none;
  }
}

@media (max-width: 767px) {
  .desktop-nav {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .mobile-nav {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .navbar:not(.mobile-nav) {
    display: none !important;
  }
 
  .mobile-nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding-top: 1rem 1rem 0;
    max-height: 100vh;
    -webkit-overflow-scrolling: touch;
  }

  html, body{
    overflow-y: auto;
  }

  .nav-center,
  .nav-left,
  .checklist-dropdown,
  .nav-help {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin-bottom: 0.5rem;
  }

  .nav-center         { order: 1 !important; margin-bottom: 0.75rem; }
  .nav-left           { order: 2 !important; }
  .checklist-dropdown { order: 3 !important; }
  .nav-help           { order: 4 !important; margin-top: 0.5rem; }

  .checklist-dropdown .dropdown-menu {
    position: static !important;
    float: none !important;
    width: 100% !important;
    margin-top: 0.25rem;  
  }

  .line-left,
  .line-right {
    display: none !important;
  }

  .nav-link{
    padding-right: 0;
  }

  .checklist-dropdown{
    align-items: center !important;
    justify-content: center;
  }

  .navbar::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #000;
    margin-top: 0.75rem;
    order: 5 !important;
  }
}

.navContainer {
  background-color: white;
  height: 100%;
  border-radius: 25px;
}
 
.logo-header {
  height: auto;
}
 
.shadow-body {
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.3);
}
 
.formContainer {
  width: 560px;
  align-content: center;
  height: auto;
  border: 1px solid black;
  border-radius: 25px;
  padding: 20px;
  background-color: green;
}
 
.footContainer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px;
  background-color: white;
  height: auto;
  border-radius: 25px;
}
 
.myCard {
  width: 18rem;
  margin: auto;
  border: 0px;
}
.myCardImage {
  border-radius: 25px;
}
.myCardTitle {
  text-align: center;
}
.myCardText {
  text-align: justify;
}
 
.formError {
  color: red;
  font-weight: bold;
}
 
.heading1-1{
  margin-top: 20px !important;
  color: rgb(0, 117, 201) !important;
}

.heading1-2{
  margin-top: 20px !important;
  color: #63a70a !important;
}

.heading1-1,
.heading1-2,
.subheading1-1 {
  text-align: center;
  padding-top: 10px;
  font-weight: bold;
}
.subheading1-1 {
  width: 80%;
  text-wrap: pretty;
  color: #6397bd !important;
}
 
.heading2-2 {
  font-size: 1.5rem;
  padding-top: 0px;
  color: #130163 !important;
  text-align: center;
  font-style: italic;
  text-decoration: none !important;
  transition: transform 0.4s ease-in-out;
  display: block;
  width: 100%;
}
 
.checklist-card {
  position: relative;
  overflow: hidden;
  border: 2px solid #bbb;
  border-radius: 25px;
  height: 320px;
  cursor: pointer;
  transition: transform 0.4s ease-in-out;
  margin-top: 0;
}
.checklist-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease-in-out, filter 0.4s ease-in-out;
}
.checklist-card:hover img {
  transform: scale(1.08);
  filter: brightness(0.7);
}
.checklist-card:hover .card-label{
  opacity: 0;
  transform: translateY(6px);
}
.card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem 1.5rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  transform: translateY(100%);
  transition: transform 0.4s ease-in-out;
}
.checklist-card .card-label {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: rgba(0, 57, 97, 0.6);
  color: #ddd;
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  font-size: 1.5rem;
  line-height: 1.2;
  z-index: 2;            
  pointer-events: none;  
  transition: opacity .3s ease, transform .3s ease;
  text-align: center;
}
.checklist-card:hover .card-overlay {
  transform: translateY(0);
}
.card-nav {
  background: rgba(19, 1, 99, 0.9);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 0.5rem 1rem;
  text-align: center;
}
.checklist-card:hover {
  transform: translateY(-4px);
}
.checklist-card .btn-primary {
  background-color: rgba(99, 167, 10, 1);
  border-color: #63a70a;
}
.checklist-card .btn-primary:hover,
.checklist-card .btn-primary:focus {
  background-color: rgba(99, 167, 10, 0.9);
  border-color: #63a70a;
}
.card-nav {
  background: rgba(0, 117, 201, 0.9);
}
 
.thanks-you {
  padding-top: 0 !important;
  margin-top: 0;
}
 
.thank-you-heading {
  color: #073e46 !important;
}

.request-id {
  background: rgba(1, 53, 73, 0.08);
  border-radius: .25rem;
  padding: .25rem .6rem;
  display: inline-block;
}
 
.logo1 {
  transition: transform 0.4s ease-in-out;
}
.logo1:hover {
  transform: scale(1.2);
}

.checklists{
  position: relative;
}

.checklists-bg{
  position: fixed;
  top: 60%;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15,121,6,.16);
  pointer-events: none;
  z-index: -3;
}

@media (max-height: 800px){ .checklists-bg{ top: 75%; } }
@media (max-height: 750px){ .checklists-bg{ top: 78%; } }
@media (max-height: 600px){ .checklists-bg{ top: 84%; } }

.checklists > .container{
  max-width: 100% !important;
  display: grid;
  gap: 4vw;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.checklists > .container,
.checklist-card{
  position: relative;
  z-index: 1;
}

.g-recaptcha {
   margin: 1.25rem 0;         
   display: flex;
   justify-content: center;
}
@media (max-width: 575.98px) {  
   .g-recaptcha {
       transform: scale(0.88); 
       transform-origin: 0 0;  
   }
}