.footer-cta {
  border-bottom: 1px solid #373636;
  padding-bottom: 8px !important;
}
.single-cta i {
  font-size: 30px;
  float: left;
  margin-top: 8px;
}
.cta-text {
  padding-left: 15px;
  padding-bottom: 15px;
  display: inline-block;
}
.cta-text h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 2px;
}
.cta-text span {
  font-size: 15px;
}
.footer-content {
  position: relative;
  z-index: 2;
}
.footer-pattern img {
  position: absolute;
  top: 0;
  left: 0;
  height: 330px;
  background-size: cover;
  background-position: 100% 100%;
}
.footer-logo{
  padding-bottom: 15px;
}
.footer-logo img {
  max-width: 120px;
}
.footer-text p {
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 21px;
}
.footer-social-icon{
  padding-bottom: 15px;
}
.footer-social-icon span {
  display: block;
  font-size: 20px;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  margin-bottom: 20px;
}
.footer-social-icon a {
  font-size: 16px;
  margin-right: 15px;
}
.footer-social-icon i {
  height: 40px;
  width: 40px;
  text-align: center;
  line-height: 38px;
  border-radius: 50%;
}
.footer-widget{
  padding-top: 15px;
}
.footer-widget-heading h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 30px;
  position: relative;
}
.footer-widget-heading h3::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  height: 2px;
  width: 50px;
}
.footer-widget ul li {
  display: inline-block;
  float: left;
  width: 50%;
  margin-bottom: 12px;
}
.footer-widget ul li a {
  text-transform: capitalize;
}
.footer-widget ul li a:hover {
  text-decoration: none;
  color: #324e9b;
}
.copyright-area {
  background: #000000;
  padding: 25px 0;
  text-align: center; /* Centers text horizontally */
  color: #ffffff; /* Adjusts text color for readability */
}
.copyright-text p {
  margin: 0;
  font-size: 14px;
  color: #a3a2a2;
}
.copyright-text p a {
  color: #99f3ef;
}
.footer-cta .row .col-xl-4:nth-child(1) .single-cta i {
  position: absolute;
  color: #0695d8;
}
.footer-cta .row .col-xl-4:nth-child(1) .single-cta .cta-text {
  padding-left: 32px;
}
.footer-cta .row .col-xl-4:nth-child(2) .single-cta i {
  color: #05aa6e;
}
.footer-cta .row .col-xl-4:nth-child(3) .single-cta i {
  color: #aa7538;
}
/* Hover effects only on icons */
.footer-cta .row .col-xl-4:nth-child(1) .single-cta:hover i {
  transform: scale(1.1); /* Slightly enlarge icon */
  color: #007bb5; /* Change color on hover */
}

.footer-cta .row .col-xl-4:nth-child(2) .single-cta:hover i {
  transform: scale(1.1); /* Slightly enlarge icon */
  color: #008751; /* Change color on hover */
}

.footer-cta .row .col-xl-4:nth-child(3) .single-cta:hover i {
  transform: scale(1.1); /* Slightly enlarge icon */
  color: #8a5a24; /* Change color on hover */
}

.footer-social-icon .social_icon {
  text-align: left;
}
.footer-social-icon .social_icon li {
  float: inherit !important;
  display: inline-block !important;
  width: inherit;
}
.footer-social-icon .social_icon li a i {
  font-size: 15px;
  line-height: 39px;
}
.footer-social-icon .social_icon li a {
  width: 40px;
  height: 40px;
}

.social_icon {
  text-align: right;
  margin: 0;
  margin-top: 3px;
}
.social_icon li {
  display: inline-block;
  margin: 0 5px;
}
.social_icon li a {
  display: inline-block;
  width: 25px;
  height: 25px;
  background: #fff;
  color: #000;
  text-align: center;
  border-radius: 100%;
  transition: 0.2s ease-in-out;
}
.social_icon li a i {
  font-size: 15px;
  line-height: 20px;
}
.social_icon li:nth-child(1) a {
  background: #4267b2;
  color: #fff;
}
.social_icon li:nth-child(2) a {
  background: #1da1f2;
  color: #fff;
}
.social_icon li:nth-child(3) a {
  background: #f09433;
  background: -moz-linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  background: -webkit-linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 );
  color: #fff;
}
.social_icon li:nth-child(4) a {
  background: #ff0000;
  color: #fff;
}
/* Base styles for social icons */
.social_icon li a {
  transition: all 0.3s ease; /* Smooth transition for hover effects */
  display: inline-block; /* Ensure block-level for transform */
}

/* Hover effects */
.social_icon li:nth-child(1):hover a {
  color: white;
  animation: flicker-zoom 0.6s forwards; /* Apply flicker and zoom animation */
}

.social_icon li:nth-child(2):hover a {
  color: white;
  animation: flicker-zoom 0.6s forwards; /* Apply flicker and zoom animation */
}

.social_icon li:nth-child(3):hover a {
  color: white;
  animation: flicker-zoom 0.6s forwards; /* Apply flicker and zoom animation */
}

.social_icon li:nth-child(4):hover a {
  color: white;
  animation: flicker-zoom 0.6s forwards; /* Apply flicker and zoom animation */
}

/* Keyframes for flicker and zoom effect */
@keyframes flicker-zoom {
  0% {
      transform: scale(1); /* Original size */
      opacity: 1; /* Fully visible */
  }
  30% {
      transform: scale(1.1); /* Slightly zoomed in */
      opacity: 1; /* Fully visible */
  }
  50% {
      opacity: 0.7; /* Flicker effect */
  }
  70% {
      transform: scale(1.1); /* Slightly zoomed in */
      opacity: 1; /* Fully visible */
  }
  100% {
      transform: scale(1); /* Return to original size */
      opacity: 1; /* Fully visible */
  }
}

.invalid-feedback {
  display: none; /* Hide by default */
  color: red; /* Change to your desired error color */
  font-size: 0.875em; /* Adjust font size if necessary */
  margin-bottom: 0.5rem; /* Adjust this value as needed */
}

.is-invalid + .invalid-feedback {
  display: block; /* Show when input is invalid */
  position: absolute; /* Position it absolutely */
  left: 0; /* Align it to the left of the input */
  right: 0; /* Allow it to stretch to the right */
}

.form-group {
  position: relative; /* Needed for positioning the error message */
  flex-grow: 1; /* Allow the input group to grow */
}
