/* Body lock when popup is open */

html.popup-open {
  overflow: hidden;
}

body.popup-open {
  overflow: hidden;
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
}

/* Main Popup Overlay */

.main-popup-overlay *, .main-popup-overlay {
  box-sizing: border-box;
}

.main-popup-overlay {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  background-image: url('../images/landing-bg-large.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .main-popup-overlay {
    background-image: url('../images/landing-bg-small.jpg');
    align-items: flex-start;
    overflow-y: auto;
  }
}

/* Main Popup Container */

.main-popup-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 67px;
}

@media screen and (max-width: 768px) {
  .main-popup-container {
    padding: 27px 20px;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    min-height: 100dvh;
  }
}

/* Main Popup Content */

.main-popup-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 500px;
}

@media screen and (max-width: 768px) {
  .main-popup-content {
    align-items: center;
    max-width: 100%;
  }
}

/* Header with Logo and Tagline */

.main-popup-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 60px;
}

@media screen and (max-width: 768px) {
  .main-popup-header {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
  }
}

.main-popup-logo {
  height: 50px;
  width: auto;
}

@media screen and (max-width: 768px) {
  .main-popup-logo {
    height: 40px;
  }
}

.main-popup-tagline {
  color: #1c365c;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 1px;
  padding-left: 20px;
  border-left: 2px solid #fff;
}

@media screen and (max-width: 768px) {
  .main-popup-tagline {
    border-left: none;
    padding-left: 0;
    font-size: 12px;
  }
}

/* Services Section */

.main-popup-services {
  margin-bottom: 40px;
}

@media screen and (max-width: 768px) {
  .main-popup-services {
    margin-bottom: 30px;
  }
}

.main-popup-services h2 {
  color: #1c365c;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
  .main-popup-services h2 {
    font-size: 22px;
    margin-bottom: 15px;
  }
}

.main-popup-services ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .main-popup-services ul {
    text-align: center;
  }
}

.main-popup-services li {
  color: #fff;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: .5px;
  padding: 2px 0;
  position: relative;
  padding-left: 15px;
}

@media screen and (max-width: 768px) {
  .main-popup-services li {
    padding-left: 0;
  }
}

.main-popup-services li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #fff;
}

@media screen and (max-width: 768px) {
  .main-popup-services li::before {
    display: none;
  }
}

/* Visit Website Button */

.main-popup-btn {
  display: inline-block;
  padding: 17px 46px;
  background-color: #1c365c;
  color: #fff;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 1px;
  text-decoration: none;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color .3s ease;
}

.main-popup-btn:hover {
  background-color: #2a4a7a;
}

/* Footer */

.main-popup-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .main-popup-footer {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }
}

.main-popup-address {
  color: #fff;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  letter-spacing: .5px;
  opacity: .9;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .main-popup-address {
    font-size: 12px;
  }
}

.main-popup-address-phone {
  white-space: nowrap;
}

@media screen and (max-width: 768px) {
  .main-popup-address-divider {
    display: none;
  }

  .main-popup-address-phone {
    display: block;
    margin-top: 3px;
  }
}

.main-popup-credit {
  color: #fff;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .5px;
  opacity: .6;
  margin: 0;
}

.main-popup-credit a {
  color: white !important;
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .main-popup-credit {
    font-size: 9px;
  }
}
