.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/contact_bg.webp") !important;
}

.fancybox__backdrop {
  background-color: var(--colorBrandPrimary20) !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;
}
#rwc-logo-white {
  width: 9vh;
  height: auto;
  transition: all 0.3s ease;
  display: inline-block;
  margin-left: auto;
}
#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;
}

.container {
  background-color: var(--colorBrandPrimary90);
  backdrop-filter: blur(5px);
  border-radius: 0.5rem;
  padding: 1.5rem;
  font-size: 16px;
  line-height: 0.4rem;
  text-align: justify;
  padding: 2rem;
  overflow: scroll;
  overflow-y: auto;
}
li {
  color: var(--colorBrandSand);
}
.fancybox__content {
  background: none !important;
}
.popupContent {
  backdrop-filter: blur(5px) !important;
}
.popupCloseButton {
  margin-top: 0 !important;
  top: 10px !important;
  right: 10px !important;
  /* top: 0px !important;
  right: 0px !important; */
}
.disclaimer {
  color: var(--colorBrandSand) !important;
  position: fixed;
  top: 2.2rem;
  /* top: initial; */
  left: 2rem;
  z-index: 10;
}
/* .col3 {
  align-content: start !important;
  gap: 1.5rem !important;
} */

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

/* .col3 > div > div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
} */

/* .col3 > div > div:last-child {
  background-color: var(--colorBrandSecondary90);
  text-align: left;
  color: white;
  position: relative;
  width: 100%;
  max-width: auto;
  font-size: min(1.3vw, 16px);
} */

.col3 ul {
  padding: 1rem;
}

.triangle {
  display: none;
  width: 12px;
  position: absolute;
  top: 0;
  right: 50%;
  transform: translate(50%, -90%);
}

.main {
  padding: 15px 0 !important;
}

/*------General CSS-----------------------*/
.registerBtn {
  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% !important;
}
.leftSide hr {
  display: none;
  width: 145px;
  margin: 1rem 0;
  background-color: #3d3843;
}

.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: 35%;
  margin-top: 1rem;
}

.personImage,
.teamPopupImage {
  /* width: 60%; */
  /* width: 20%; */
  min-width: 120px;
  /* width: 10vw; */
  height: auto;
  background-size: cover;
  background-repeat: no-repeat;
  margin: 0 auto;
  background-position: bottom;
  transition: all 0.2s ease;
  /* filter: grayscale(0.4); */
  border: solid 5px var(--colorBrandSecondary);
  border-radius: 50%;
  margin-bottom: 0.5rem;
}
.col3 {
  flex-direction: row !important;
  align-content: center;
  justify-content: center;
  gap: 3.5rem 2rem;
  overflow: hidden;
  overflow: auto;
  padding: 1rem 0;
  width: 80%;
}
.buttonPrimaryWithText {
  font-size: 0.8rem !important;
}

.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.25rem 0; */
  margin: 0;
  font-family: var(--fontHeader);
  text-shadow: 0 0 15px #000;
}

#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: 7px;
  vertical-align: middle;
  width: max(2vw, 2vh);
}

.contactCard {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: fit-content;
  /* gap: 1.25rem; */
  gap: 0.5rem;
  width: 100%;
  padding: 0;
}
.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: 0.75rem 2rem;
  position: relative;
  width: fit-content;
  min-width: 200px;
  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(--colorBrandYellow);
  gap: 0.5rem;
}

a,
a:link,
a:visited {
  color: rgb(235, 235, 235) !important;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 16px;
}

.col3 div a[href^="mailto"] {
  display: inline-block;
  /* font-size: 11px !important; */
  color: #cfc4c0 !important;
  font-weight: lighter !important;
}

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

/* ----------------Enquire Form------------------------- */

.form-container {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9998;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  justify-content: space-between;
  width: 350px;
  height: fit-content;
  padding: 3rem 1rem 1rem 1rem;
  background: var(--colorBrandPrimary90);
  border-radius: 1rem;
  color: white;
  position: relative;
}

.form-container.active {
  display: flex;
}

label {
  display: flex;
  margin: 8px 0;
  font-weight: bold;
  flex-direction: column;
  gap: 0.5rem;
  font-family: var(--fontHeader);
  font-size: 14px;
  user-select: none;
}

#message {
  height: 100px;
  min-height: 40px;
  max-height: 200px;
  width: 100%;
  max-width: 100%;
  min-width: 100%;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  /* margin-bottom: 15px; */
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #ededed;
}

button {
  /* padding: 12px 20px; */
  background: var(--colorBrandSecondary);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: var(--fontHeader);
  font-size: 16px;
  transition: all 0.2s ease;
  margin-top: 1rem;
  user-select: none;
}

button:hover {
  box-shadow: var(--buttonOverOutline);
}

button[type="submit"] {
  /* pointer-events: none !important; */
}

.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 2rem;
  position: absolute;
  top: 1rem;
  right: 1rem;
  margin: 0;
  font-family: var(--fontRegular);
  font-size: 14px;
}

.close-btn:hover {
  /* color: var(--colorBrandPrimary); */
}

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

/* Styles for mobile landscape screens */
@media only screen and (min-width: 412px) and (max-height: 767px) and (orientation: landscape) {
  .leftSide {
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    text-align: left;
    width: 33% !important;
    gap: 1rem;
  }
  .contactCard {
    width: auto;
  }
  .buttonPrimaryWithText {
    /* margin: 1.25rem 0 0.5rem 0; */
    font-size: 1rem !important;
  }
  .rightSide {
    padding: 1% 2% 2% 0;
    width: 100%;
  }

  .contactCardTop h4 {
    display: block;
  }

  .col3 {
    gap: 2rem;
    width: 100% !important;
    align-content: center;
  }
  .contactCardBottom {
    gap: 1rem;
    padding: 1rem;
  }
  h3,
  .h3 {
    margin: 0.75rem 0;
    font-size: 13px;
  }
  .disclaimer {
    color: var(--colorBrandSand) !important;
    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;
    width: 40% !important;
    gap: 1rem;
  }
  #logoContainer {
    display: flex;
  }

  .contentIcon {
    height: min(64px, 22vh);
  }
  .col3 {
    justify-content: space-evenly;

    gap: 1.25rem 2rem;
    padding: 0;
  }

  .personImage,
  .teamPopupImage {
    width: 14vw;
  }
  .contactCardTop h4 {
    display: block;
  }

  h3,
  .h3 {
    margin: 0.5rem 0;
    font-size: 24px;
  }
  .companyLogo {
    display: inline;
  }
  .leftSide .logo {
    display: block;
  }

  .buttonPrimaryWithText {
    font-size: 1.1rem;
    padding: 10px 24px;
    /* margin-top: 1.5rem; */
  }
  /* .registerBtn {
    right: initial !important;
    top: 50%;
    transform: translateY(300%);
    left: 5%;
  } */

  .leftSide hr {
    display: block;
    margin: 1rem 0 !important;
  }
  .disclaimer {
    color: var(--colorBrandSand) !important;
    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;
  }
}

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

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

  .contactCard {
    width: fit-content;
    gap: 1.25rem;
  }
  .col3 {
    justify-content: space-evenly;
  }

  .personImage,
  .teamPopupImage {
    width: 10vw;
  }
  .contactCardTop h4 {
    display: block;
  }
  .col3 {
    gap: 1.25rem 2rem;
    padding: 0;
    align-content: center;
  }

  .buttonPrimaryWithText {
    font-size: 1rem !important;
    /* margin-top: 1.5rem; */
  }

  .companyLogo {
    display: inline;
  }
  .leftSide .logo {
    display: block;
    margin-bottom: 1rem;
  }
  .leftSide h4 {
    display: block;
  }
  .leftSide hr {
    display: block !important;
  }
  .contactInfo {
    display: block;
    margin: 0.5rem 0;
  }
  #logoContainer {
    display: flex;
  }
  .disclaimer {
    color: var(--colorBrandSand) !important;
    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;
  }
}

@media only screen and (min-width: 481px) and (max-height: 430px) and (orientation: landscape) {
  .leftSide {
    gap: 1rem;
  }
  .disclaimer {
    color: var(--colorBrandSand) !important;
    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;
  }
}

/* Small Desktop */
/* @media only screen and (min-width: 1280px) and (max-width: 1440px) { */
@media only screen and (min-width: 1280px) {
  .personImage,
  .teamPopupImage {
    width: 7vw;
  }
  .contactCardBottom {
    width: 260px;
  }
  /*  .personImage, */
  .teamPopupImage {
    width: 25%;
  }
  h3,
  .h3 {
    margin: 0.5rem 0;
    font-size: 24px;
  }
  #logoContainer {
    display: flex;
  }

  /* a,
  a:link,
  a:visited {
    font-size: 18px;
  } */

  .col3 div a[href^="mailto"] {
    display: inline-block;
    font-size: 15px !important;
  }

  /* .companyLogo {
    width: 30%;
  } */
  .phoneIcon {
    margin-right: 7px;
    vertical-align: sub;
    width: 2.4vh;
  }
  .disclaimer {
    color: var(--colorBrandSand) !important;
    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;
  }
}

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

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

/* Portrait Orientation */
@media only screen and (orientation: portrait) {
  /* Styles for portrait orientation */
}

/* Landscape Orientation */
@media only screen and (orientation: landscape) {
  #logoContainer {
    display: flex;
  }
  /* 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;
  }
  /* .registerBtn {
    right: initial !important;
    top: 50%;
    transform: translateY(320%);
    left: 5%;
  } */
}
