
/* footer styling */

footer {
    padding: 50px;
    margin: 0 auto;
    max-width: 1140px;
    background-color: white;
    
}

footer h1 {
    font-size: 46px;
    margin-top: 50px;
    color: #1e3a8a;
    font-family: 'FND-Questrial';
    margin-bottom: 50px;
}

@media (max-width: 760px) {
    footer h1 {
        letter-spacing: -1px;
    }
}

.contact-link {
    font-size: 46px;
    text-underline-offset: 15px;
    color: #1e3a8a;
    font-family: 'FND-Questrial';
}



footer a {
    text-underline-offset: 10px;
    color: #1e3a8a;
    font-size: 24px;
    padding-right: 50px;
    font-family: 'FND-Questrial';
    margin-bottom: 25px;
    margin-top: 25px;
    
}


#open-newsletter-modal {
    text-decoration: underline;
    text-underline-offset: 10px;
    color: white;
    font-size: 24px;
    
    font-family: 'FND-Questrial';
    margin-bottom: 25px;
    margin-top: 25px;
    cursor: pointer;
    width: auto;
    
}

.sub-and-search {
    display: flex;
    margin-top: 80px;
    padding: 30px;
    background-color: #1e3a8a;
    color: white;
    justify-content: space-between;
    flex-direction: column;
    
    
}

.sub-and-search>span {
    font-family: 'FND-Questrial';
    font-size: 24px;
    padding-top: 15px;
    
    color: white;
}

/* Mobile styles */
@media (max-width: 768px) { 
    
    .contact-info {
        display: flex;
        flex-direction: column;
        
    }
    
    .sub-and-search {
    display: flex;
    flex-direction: column;
    align-items: start;
    }
    
    footer {
    padding: 20px;
    padding-bottom: 80px;
    margin: 0 auto;
    max-width: 1140px;
    }

}
.under-footer {
    margin-top:20px;
    padding-top: 80px;
    padding-bottom: 15px;
    font-size: 18px;
    font-family: 'FND-Questrial';
}

.under-footer p {
    padding-left: 50px;
    
}

.under-footer a {
    font-size: 18px;
    
    font-family: 'FND-Questrial';
    padding-top: 15px;
}


.privacy-policy {
    font-size: 18px;
    margin-top: 15px;
}






/*search form styling*/
.site-search {
  margin-top: 25px;
  margin-bottom: 25px;
  
  
}


.search-form {
  display: flex;
  justify-content: start;
  gap: 20px;
  
}



.search-field {
  flex-grow: 1;
  padding: 12px;
  font-size: 1rem;
  border: 2px solid white;
  border-radius: 0px;
  font-family: 'FND-Questrial';
  font-size: 20px;
  color: white;
  background: none;
}

.search-submit {
    font-family: 'FND-Mono';
    font-size: 20px;
    text-underline-offset: 10px;
    text-decoration: underline;
    text-transform: uppercase;
    color: white;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 0px;
}

.search-submit:hover {
  background-color: #005177;
}



/*scroll to the top button*/
#scrollToTopBtn {
  position: fixed;
  bottom: 40px;
  right: 30px;
  display: none;
  background-color: #1e3a8a;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  width: 45px;
  height: 45px;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: opacity 0.3s ease;
}

#scrollToTopBtn:hover {
  background-color: #1c1f4d;
}







/*signup newsletter styling*/
.newsletter-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: 'FND-Questrial';
  font-size: 24px;
  color: #1e3a8a;
}

.newsletter-content {
  background: #fff;
  padding-left:40px;
  padding-right: 40px;
  padding-top: 95px;
  padding-bottom: 95px;
  max-width: 450px;
  
  width: auto;
  position: relative;
  border-radius: 8px;
  text-align: center;
  
  font-family: 'FND-Questrial';
}


/* Mobile styles */
@media (max-width: 768px) { 
    
   .newsletter-content {
     
      
      width: 90vw;
      
    }

}




.newsletter-content p {
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 20px;

}




.newsletter-content input[type="email"] {
  width: 100%;
  padding: 15px;
  font-size: 18px;
  font-family: 'FND-Questrial';
  margin: 15px 0;
  border: 2px solid #1e3a8a;
}

.newsletter-content button {
  padding: 10px 20px;
  font-family: 'FND-Questrial';
  font-size: 18px;
  background: #1e3a8a;
  width: 100%;
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
}

.newsletter-content .close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 26px;
  cursor: pointer;
}
