
/* section 5 - newsletter */

#newsletter {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  background-repeat: no-repeat;
  background-position: 20% 30%;
  background-color: rgb(41, 41, 64);
  margin-top: clamp(40px, 10vw, 100px);
  margin-bottom: clamp(15px, 4vw, 30px);
  padding: clamp(20px, 5vw, 30px) clamp(16px, 5vw, 50px);
  gap: 20px;
}

#newsletter h4 {
  font-size: clamp(18px, 5vw, 22px);
  font-weight: 700;
  color: #fff;
}

#newsletter p{
  font-size: 14px;
  font-weight: 600;
  color: #818ea0;
}

#newsletter p span {
  font-size: 110%;
  color: #dda521;
  background-image: linear-gradient(to right, #dda521, #E3E6F3, #dda521, #E3E6F3, #dda521);
  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: animate-gradient 3.5s linear infinite;
}

@keyframes animate-gradient {
  0% {
    background-position: 0% -50%;
  }
  100% {
    background-position: -200% -50%;
  }
}

#newsletter .form{
  display: flex;
  width: 32%;
}

#newsletter input{
  height: 3.125rem;
  padding: 0 1.25em;
  font-size: 14px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 4px;
  outline: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  margin-right: -1;
}

#newsletter .normal{
  white-space: nowrap;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* footer */

#footer-main {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 5vw; /* scales with screen width */
}

#footer-main .column{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}

footer .logo{
  margin-bottom: 30px;
  margin-top: 35px;
}

footer h4{
  font-size: 14px;
  padding-bottom: 20px;
}

footer p{
  font-size: 13px;
  margin: 0 0 8px 0;
}

#footer-main .column a{
  font-size: 13px;
  text-decoration: none;
  color: #222;
  margin-bottom: 10px;
}

#footer-main .follow-us{
  margin-top: 20px;
}

#footer-main .follow-us i{
  color: #465b52;
  padding-right: 4px;
  cursor: pointer;
}

#footer-main .install .row img{
  border: 1px solid #088178;
  border-radius: 6px;
}

#footer-main .install img{
  margin: 10px 0 15px 0;
}

#footer-main .follow-us i:hover,
#footer-main a:hover{
  color: #088178;
}

#footer-main .copyright{
  width: 100%;
  text-align: center;
}

#social-icon{
  display: flex;
  gap: 30px;
}

#social-icon i{
  font-size: 20px;
}


/* Phone numbers input  */
.success-placeholder::placeholder {
  color: red !important;
  font-weight: bold;
}

/* For Firefox */
.success-placeholder::-moz-placeholder {
  color: red !important;
  font-weight: bold;
}

/* For Chrome, Safari, Edge */
.success-placeholder::-webkit-input-placeholder {
  color: red !important;
  font-weight: bold;
}


@media(max-width: 799){
  #newsletter {
    flex-direction: column;
    text-align: center;
    background-position: center;
    justify-content: center;
    gap: 25px;
    
  }

  #newsletter h4 {
    font-size: 18px;
  }

  #newsletter .form{
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: red;
  }

  #newsletter input {
    height: 2.75rem;
    font-size: 14px; /* Keep readable on mobile */
    padding: 0 1rem;
    border-radius: 4px; /* Reset border-radius for mobile */
    margin-right: 0;
    width: 100px;
  }

  #newsletter {
    margin-top: 40px;
    margin-bottom: 20px;
    padding: 20px 16px;
}
}

@media (max-width: 555px) {
  #newsletter {
      margin-top: 40px;
      margin-bottom: 20px;
      padding: 20px 16px;
  }

  #newsletter .form{
    display: flex;
    width: 100%;
  }


  #newsletter h4 {
    font-size: 16px;
  }

  #newsletter input {
    height: 2.5rem;
    font-size: 11px;
    padding: 0 0.875rem;
} 

#newsletter p {
  font-size: 12px;
  font-weight: 600;
  color: #818ea0;
}
}