.pageBg {
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%),
    url("/wp-content/uploads/images/page-bg/contact_bg.webp") !important;
}

.main {
  /* padding: 15px 0 !important; */
  padding: 15px 0 60px 0 !important;
  align-items: center !important;
}

.leftSide .logo {
  /* margin-bottom: 2vh; */
  width: 50%;
  max-width: 30vh;
  display: none;
}

.contactInfo {
  font-size: 0.75rem !important;
  display: none;
  margin-top: 0.5rem 0;
}

#logoContainer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: absolute;
  width: 100%;
  top: 0;
  padding: 2vh 2vh 1vh 5%;
  gap: 1.5rem;
  z-index: 10;
  display: none;
}

#buttongroup {
  display: flex;
  gap: 1rem !important;
}

/* ------------------------------- */

.disclaimer {
  /* display: none; */
  color: rgba(255, 255, 255, 0.7) !important;
  position: fixed;
  top: 2.2rem;
  /* top: initial; */
  left: 2rem;
  z-index: 10;
}

.disclaimer-content {
  background-color: var(--colorBrandPrimary90);
  backdrop-filter: blur(5px);
  border-radius: 0.5rem;
  font-size: 16px;
  line-height: 0.4rem;
  text-align: justify;
  padding: 1rem 2rem 2rem;
  overflow: scroll;
  overflow-y: auto;
}

.disclaimer-content h1 {
  color: var(--colorBrandSecondary);
  text-shadow: none;
  margin-bottom: 1.5rem;
}

.disclaimer-content li {
  /* color: var(--colorBrandLight); */
  text-align: left;
  margin: 0 0 1rem;
}

.disclaimerLink {
  text-decoration: underline !important;
  font-size: max(0.9rem, 14px);
}

/*------Cards CSS-----------------------*/

.col3 ul {
  padding: 1rem;
}

/*------General CSS-----------------------*/
.registerBtn {
  position: relative !important;
  top: 0rem !important;
  transform: none;
}

.rightSide {
  padding: 0 5% 0 2%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.leftSide {
  pointer-events: visible !important;
  display: flex;
  /* flex-direction: column; */
  overflow: hidden;
  align-items: center;
  text-align: center;
  /* justify-content: space-between; */
  justify-content: end;
  padding: 0.5rem 2% 0.5rem 5%;
  align-items: end !important;
}
.leftSide hr {
  display: none;
  width: 145px;
  margin: 1rem 0;
  background-color: #3d3843;
  width: 50% !important;
}

.leftSide h4 {
  display: none;
  color: white;
  font-family: var(--fontRegular);
  font-size: 14px;
  margin-bottom: 1rem;
}
.leftSide div {
  pointer-events: visible !important;
  pointer-events: visible !important;
}

.logo {
  display: none;
}

.companyLogo {
  width: 50%;
  max-height: 32px;
  margin-top: 0.5rem;
}

.companyLogo[src*="CW"] {
  width: 50% !important;
}

.agentImage {
  width: max(16vh, 14vw);
  min-width: 80px;
  max-width: 160px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border: solid 5px var(--colorBrandSecondary);
  border-radius: 50%;
}

.col3 {
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  overflow: hidden;
  overflow: auto;
  padding: 1rem 0;
  /* width: 80%; */
  flex-wrap: nowrap !important;
  width: 100%;
  align-items: center;
}

.leftSide h1 {
  display: none;
  margin: 0;
  line-height: 1.2em !important;
}

h3,
.h3 {
  /* font-size: 16px; */
  color: var(--colorWhite);
  white-space: nowrap;
  word-break: keep-all;
  text-align: center;
  margin: 0.5rem 0;
  font-family: var(--fontHeader);
  text-shadow: 0 0 15px #000;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 500;
}

#disclaimer {
  display: none;
  max-height: 250px;
  max-width: 90%;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.5rem;
  pointer-events: all !important;
}

#disclaimer h6 {
  font-weight: 200;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

ul > li:last-child {
  margin: 0;
}

.contentIcon {
  height: min(32px, 22vh);
}

.rightSide {
  padding: 0;
}

/* .leftSide {
  padding: 0;
} */

.phoneIcon {
  margin-right: 3px;
  vertical-align: middle;
}

.contactCard {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: fit-content;
  /* gap: 1.25rem; */
  gap: 0;
  width: 100%;
  padding: 0 !important;
  min-width: 280px;
}
.contactCardTop {
  width: 100%;
  background-color: transparent;
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contactCardTop h4 {
  font-family: var(--fontRegular);
  font-size: 14px;
  color: var(--colorWhite50);
  display: none;
}

.contactCardBottom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgb(0 0 0 / 50%);
  /* padding: 1rem; */
  padding: 1rem;
  position: relative;
  width: fit-content;
  height: auto;
  margin: 0;
  border-radius: 16px;
  font-size: 14px;
  backdrop-filter: blur(4px);
  /* border: solid 1px rgba(125, 125, 125, 0.2); */
  outline: 5px solid rgba(125, 125, 125, 0.05);
  border-bottom: 3px solid var(--colorBrandGreen);
  gap: 0.5rem;
  width: 100%;
}
.contactCardBottom a[href^="http"] {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
}

.contactCardBottom div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.col3 div a[href^="mailto"] {
  display: inline-block;
  font-size: clamp(0.8rem, 1.6vw, 13.5px);
  color: #cfc4c0;
  font-weight: 200;
  vertical-align: middle;
}

.col3 div a[href^="tel"] {
  color: white;
  vertical-align: middle;
}

.registerBtn {
  position: relative;
  right: 0;
}

.contactCard .shortenedLine a {
  display: inline-block;
  white-space: nowrap;
  max-width: 5.5em;
  text-overflow: ellipsis;
  overflow: hidden;
  vertical-align: bottom;
  transition: max-width 1s !important;
  cursor: pointer;
  font-size: clamp(16px, 2vw, 20px);
}
.contactCard .shortenedLine a.opened {
  max-width: 40em;
}

.contactCard .shortenedLine a:hover {
  color: var(--colorBrandPrimary);
}

/* -------------------------------------------- */

/* Styles for mobile landscape screens */
@media only screen and (min-width: 412px) and (max-height: 767px) and (orientation: landscape) {
  .main {
    padding: 15px 0 40px 0 !important;
  }
  .leftSide {
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    text-align: left;
    width: 33% !important;
    gap: 1rem;
  }
  .contactCard {
    width: fit-content !important;
    /* padding: 12px !important; */
  }

  .rightSide {
    padding: 1% 2% 2% 0;
    width: 100% !important;
  }

  .contactCardTop h4 {
    display: block;
  }

  .col3 {
    gap: 2rem;
    width: 100% !important;
    /* align-content: center; */
    justify-content: start;
  }
  .contactCardBottom {
    gap: 1rem;
    padding: 1.25rem;
  }
  h3,
  .h3 {
    margin: 0.75rem 0;
  }
  .disclaimer {
    position: fixed;
    top: initial;
    /* top: initial; */
    left: 4rem;
    bottom: 6rem;
    z-index: 10;
  }
  .leftSide h1 {
    display: inline-block;
    margin: 0;
    line-height: 1.2em !important;
  }
}
/* Tablet Portrait (768px to 1023px) */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .main {
    flex-direction: row;
    padding: 40px 0;
  }
  .leftSide {
    flex-direction: column;
    align-items: start !important;
    width: 31% !important;
    gap: 1rem;
  }

  #logoContainer {
    display: flex;
  }

  .contentIcon {
    height: min(64px, 22vh);
  }

  .col3 {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap !important;
    gap: 2.5vh 1.25vw;
    padding: 0;
    flex: 1;
    padding-right: 0.5rem;
  }

  .agentImage {
    width: max(13vh, 12vw);
  }

  .contactCardTop h4 {
    display: block;
  }

  h3,
  .h3 {
    margin: 0.5rem 0;
  }
  .companyLogo {
    display: inline;
  }
  .leftSide .logo {
    display: block;
    width: 19vh !important;
  }

  .leftSide hr {
    display: block;
    margin: 1rem 0 !important;
  }
  .disclaimer {
    position: fixed;
    top: initial;
    /* top: initial; */
    left: 3rem;
    bottom: 5rem;
    z-index: 10;
  }
  .leftSide h1 {
    display: inline-block;
    margin: 0;
    line-height: 1.2em !important;
  }
  #buttongroup {
    margin-top: 0.75rem;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
  .col3 {
    justify-content: center;
  }
}

/* Tablet landscape */
@media only screen and (min-width: 1024px) {
  .main {
    flex-direction: row;
    padding: 40px 0;
  }
  .leftSide {
    flex-direction: column;
    align-items: start !important;
    width: 44%;
  }

  .contentIcon {
    height: min(64px, 22vh);
  }

  .contactCard {
    width: fit-content !important;
    gap: 0.5rem;
  }

  .agentImage {
    width: 14vw;
  }
  .contactCardTop h4 {
    display: block;
  }
  .col3 {
    flex-direction: row;
    gap: 1.25rem 4rem;
    padding: 0;
    align-items: center;
    flex: 1;
    flex-wrap: wrap !important;
    align-content: center;
    justify-content: center;
  }

  .companyLogo {
    display: inline;
  }
  .leftSide .logo {
    display: block;
    margin-bottom: 1.5rem;
    width: 15vh !important;
  }
  .leftSide h4 {
    display: block;
  }
  .leftSide hr {
    display: block !important;
  }
  .contactInfo {
    display: block;
    margin: 0.5rem 0;
  }
  #logoContainer {
    display: flex;
  }
  .disclaimer {
    position: fixed;
    top: initial;
    /* top: initial; */
    left: 4rem;
    bottom: 6rem;
    z-index: 10;
  }
  .leftSide h1 {
    display: inline-block;
    margin: 0;
    line-height: 1.2em !important;
  }
  #buttongroup {
    margin-top: 0.75rem;
  }
}

@media only screen and (min-width: 1024px) and (orientation: portrait) {
  .col3 {
    align-content: center;
  }
  .contactCardBottom a[href^="http"] {
    height: 44px;
  }
}

@media only screen and (min-width: 481px) and (max-height: 430px) and (orientation: landscape) {
  .leftSide {
    gap: 1rem;
  }
  .disclaimer {
    position: fixed;
    top: initial;
    /* top: initial; */
    left: 4rem;
    bottom: 8rem;
    z-index: 10;
  }
  .leftSide h1 {
    display: inline-block;
    margin: 0;
    line-height: 1.2em !important;
  }
}

/* Desktop (1441px to 1920px) */
@media only screen and (min-width: 1441px) and (max-width: 1920px) {
  #logoContainer {
    display: flex;
  }
  #buttongroup {
    margin-top: 0.75rem;
  }
  /* Styles for desktop screens */
}

/* Large Desktop (1921px and above) */
@media only screen and (min-width: 1921px) {
  #logoContainer {
    display: flex;
  }
  #buttongroup {
    margin-top: 0.75rem;
  }
  /* Styles for large desktop screens */
}

/* Landscape Orientation */
@media only screen and (orientation: landscape) {
  #logoContainer {
    display: flex;
  }
  .leftSide {
    align-items: start !important;
  }
  .contactCardBottom a[href^="http"] {
    height: 44px;
  }
  /* Styles for landscape orientation */
}

/* Large Devices and Tablets in Landscape Mode */
/* Styles for large screens and tablets in landscape orientation */
@media (min-width: 1024px) and (orientation: landscape) {
  #logoContainer {
    display: flex;
  }
  .contentContainerLeft {
    display: flex;
  }
  #buttongroup {
    margin-top: 0.75rem;
  }
  /* .registerBtn {
    right: initial !important;
    top: 50%;
    transform: translateY(320%);
    left: 5%;
  } */
  .contactCardBottom a[href^="http"] {
    height: 32px;
  }
}

/* Small Desktop */
@media only screen and (min-width: 1280px) {
  /* .contactCardBottom {
    width: 260px;
  } */

  /* .agentImage {
    width: 25%;
  } */
  h3,
  .h3 {
    margin: 0.5rem 0;
  }
  #logoContainer {
    display: flex;
  }

  .col3 div a[href^="mailto"] {
    display: inline-block;
  }

  .phoneIcon {
    width: 16px;
    height: auto;
  }
  .disclaimer {
    position: fixed;
    top: initial;
    left: 4rem;
    bottom: 6rem;
    z-index: 10;
  }
  .leftSide h1 {
    display: inline-block;
    margin: 0;
    line-height: 1.2em !important;
  }
  #buttongroup {
    margin-top: 0.75rem;
  }

  .col3 {
    align-content: center;
  }
}

@media only screen and (min-width: 1500px) {
  .col3 {
    justify-content: space-evenly;
  }
  .rightSide {
    padding: 0 5% 0 2% !important;
  }
}
