/*Hide Recaptcha*/
.grecaptcha-badge { 
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden;
    position: absolute;
}


/* Signup Popup */

#screenCover{
    z-index: 30;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 0;
    width: 100%;
    background-color: rgba(33, 33, 35, .5);
    overflow: hidden;
    display: none;

}

#screenCover.active{
    min-width: 100%;
    height: 100%;
    display:block;
}

#signUpPopUp{
    display: none;
    z-index: 35;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    text-align: center;
    width: 440px;
    max-width: 85vw;
    height: 270px;
    background-color: whitesmoke;
    box-shadow: 0 0 20px slategray;
}

#signUpPopUp.active{
    display: block;
}

#popup-inner {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 20px;
}

#popUpCloseBtn{
    position: absolute;
    top: 0;
    right: 0;
    padding-top: 10px;
    padding-right: 15px;
    opacity: .5;
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 30px;
    outline: none;
}

#signUpTitle{
    margin-bottom: 20px;
    font-size: 26px;
    font-weight: 600;
}

.title-style {
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    font-size: 30px;
}

#signUpMsg{
    margin-bottom: 25px;
    font-size: 18px;
}

#signUpMsg.hide{
    opacity: 0;
}

#email{
    align-items: center;
    text-align: center;
    font-size: 1.1rem;
    width: 280px;
    min-height: 32px;
    border-radius: 10px;
    padding: 2px;
    border: 1px solid black;
}

#email.hide{
    opacity: 0;
}

#signUpBtn{
    display: block;
    margin: 30px auto 5px auto;
    padding: 8px 50px;
    font-size: 18px;
    font-weight: bold;
    background-color: rgb(9, 10, 66);
    color: white;
    cursor: pointer;
    border-radius: 20px;
    border: 2px solid rgb(215, 180, 20);
    transition: all 0.3s ease;
}

#signUpBtn:hover{
    background-color: #0062cc;
    color: #f2f2f2;
}

#signUpPopUp.successState {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#signUpBtn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  pointer-events: none; /* fully disables any hover/click effects */
}

#emailSuccess {
  font-size: 1.2rem;
  color: #2e7d32;
  margin-top: 20px;
  position: absolute;
  width: 80%;
  top: 50%;
  left:50%;
  transform: translateX(-50%) translateY(-50%);
  opacity: 0;
}

#emailSuccess.active {
  opacity: 1;
  pointer-events: auto;
}

#successMsg {
    opacity: 0;
    transition: opacity 1s ease .2s;
}

#successMsg.active {
    opacity: 1;
}


/*Contact Modal*/
#contactPopUp{
    display: none;
    z-index: 35;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    text-align: center;
    width: 600px;
    max-width: 85vw;
    height: 545px;
    max-height: 90vh;
    background-color: whitesmoke;
    box-shadow: 0 0 20px slategray;
    transition: height 0.4s ease;
}

#contactPopUp.success {
  height: 280px;
}

#contactPopUp.active{
    display: block;
}

#contact-inner {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}

#contactCloseBtn{
    position: absolute;
    top: 0;
    right: 0;
    padding-top: 10px;
    padding-right: 15px;
    opacity: .5;
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 30px;
    outline: none;
}

#contactForm {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 100%;
}

#contactTitle{
    margin-bottom: 5px;
    font-size: 26px;
    font-weight: 600;
}

#contactForm input,
#contactForm textarea {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 16px;
  border: 1px solid #ccc;
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
}

#contactForm input:focus,
#contactForm textarea:focus {
  border-color: #999;
}

#contactForm textarea {
  height: 200px; /* fixed height */
  resize: none;  /* prevent resize handles */
  overflow-y: auto;
}

#charCount {
  text-align: left;
  font-size:13px;
  color:#777;
  margin-left: 10px;
}

#contactForm .form-group {
  width: 100%;
  margin-top: 15px;
}

#contactForm .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Make each child grow equally but only shrink down to 220px */
#contactForm .form-row .form-group {
  flex: 1 1 220px; /* grow, shrink, min width of 220px */
  min-width: 0;
}

.g-recaptcha {
    display: flex;
    justify-content: center;
}

#send-btn{
    display: block;
    margin: 5px auto 0;
    padding: 8px 50px;
    font-size: 18px;
    font-weight: bold;
    background-color: rgb(9, 10, 66);
    color: white;
    cursor: pointer;
    border-radius: 20px;
    border: 2px solid rgb(215, 180, 20);
    transition: all 0.3s ease;
}

#send-btn:hover{
    background-color: #0062cc;
    color: #f2f2f2;
}

#contactPopUp.successState {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#send-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  pointer-events: none; /* fully disables any hover/click effects */
}

#contactSuccess {
  font-size: 1.2rem;
  color: #2e7d32;
  margin-top: 20px;
  position: absolute;
  width: 80%;
  top: 50%;
  left:50%;
  transform: translateX(-50%) translateY(-50%);
  opacity: 0;
}

#contactSuccess.active {
  opacity: 1;
  pointer-events: auto;
}

#contactSuccessMsg {
    opacity: 0;
    transition: opacity 1s ease .2s;
    font-size: 22px;
}

#contactSuccessMsg.active {
    opacity: 1;
}


.checkmark-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.checkmark {
  width: 80px;
  height: 80px;
}

.checkmark-circle {
  fill: whitesmoke;
  stroke: #2e7d32;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 132; 
  stroke-dashoffset: 132;
  animation: draw-circle 0.5s ease-out .75s forwards;
}

.checkmark-check {
  stroke: #2e7d32;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
  animation: draw-check 0.5s ease-out 1.25s forwards;
}

@keyframes draw-circle {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes draw-check {
  to {
    stroke-dashoffset: 0;
  }
}


#emailErrorWrap {
  position: relative;
  width: 100%;
  margin-bottom: 1.5rem; /* gives room for error msg */
}

#emailError {
  position: absolute;
  top: 100%; /* just below the input */
  left: 50%;
  transform: translateX(-50%);
  font-size: 1rem;
  color: #c0392b;
  margin-top: 4px;
  display: none; /* initially hidden */
  text-align: center;
  width: 100%; /* make it span the full width of the input wrapper */
}

.spinnerWrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  z-index: 5;
}

.svg-spinner {
  width: 100%;
  height: 100%;
  animation: spinner-rotate 1s linear infinite;
}

.spinner-path {
  stroke: #2e7d32;
  stroke-linecap: round;
  animation: spinner-dash 1.5s ease-in-out infinite;
}

/* Rotate whole spinner */
@keyframes spinner-rotate {
  100% {
    transform: rotate(360deg);
  }
}

/* Animate stroke to create the loop effect */
@keyframes spinner-dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}

/*End*/


/*Footer*/

footer {
  background: #0b1c2c;
  color: white;
  padding: 24px;
  text-align: center;
}

#footer-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  text-align: center;
}

#follow-footer,
#contact-footer {
  flex: 1 1 230px; /* allow wrapping with a min width */
  max-width: 230px;
}

    
#follow-footer a {
  display: inline-block;
  color: white;
  padding: 10px;
  text-decoration: none;
  font-size: 22px;
}

#follow-title,
#contactUsBtn {
  color: white;
  font-size: 22px;
  text-decoration: none;
}

.rec-msg {
  font-size: 14px;
  color: #FFFFFF;
  margin: 20px 10px;
  text-align: center;
}

.rec-msg a {
  color: #6ca0dc; /* lighter blue */
  text-decoration: underline;
}

.rec-msg a:hover {
  color: #4f84c4; /* slightly darker on hover */
}

#copy-right {
    margin: 20px 0 0;
}