/* Hero Section */
.hero {
  position: relative;
  background: #4b0082;
  padding: 80px 20px;
  overflow: hidden;
}

/* Hero Content */
.hero-content {
  width: 100%;
  margin: 0 auto;
}

/* Headline */
.hero h1 {
  font-size: 50px;
  font-weight: bold;
  line-height: 65px;
  text-align: center;
  color: var(--hero-heading);
}

/* Subheading */
.hero p {
  font-size: 20px;
  margin: 30px 0px;
  color: var(--hero-subheading);
  text-align: center;
}

/* Search Box */
.search-button {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  align-items: center;
}
.search-box {
  display: flex;
  justify-content: center;
  align-items: center;
  /* gap: 10px; */
  flex-wrap: nowrap;
}

/* Input Box */
.search-box input {
  width: 350px;
  padding: 12px;
  border: none;
  font-size: 16px;
  height: 55px;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  border-right: 1px solid #ddd;
  outline: none;
  /* color: #898d9a; */
  padding: 0px 20px;
}

/* Country Selector Button */
.country-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: #898d9a;
  padding: 12px;
  cursor: pointer;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  height: 55px;
}

.country-selector .arrow {
  margin-left: auto;
  font-size: 12px;
}

/* CTA Button */
.cta-button {
  background-color: var(--primary);
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  font-size: 16px;
  color: var(--light);
  cursor: pointer;
  transition: 0.3s;
  margin-left: 15px;
  height: 55px;
  width: 200px;
  font-weight: 600;
}

.cta-button:hover {
  background-color: #e5511e;
}

.trusted-text {
  margin-top: 80px !important;
  font-weight: 300 !important;
  font-size: 18px !important;
}
/* Banner logos animation and design  */
.brands {
  margin-bottom: 50px;
}
@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  padding: 10px 0;
  background: transparent;
  white-space: nowrap;
  position: relative;
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 2;
}

.logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), #4b0082);
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), #4b0082);
}

.logos:hover .logos-slide {
  animation-play-state: paused;
}

.logos-slide {
  display: inline-block;
  animation: 35s slide infinite linear;
}

.logos-slide img {
  height: 30px;
  margin: 0 40px;
  scale: 1.4;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 99999999;
}

.modal-content {
  background: var(--light);
  color: black;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  text-align: left;
  position: relative;
}

.modal-content h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
}

/* Search Box inside Modal */

#search-box {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 10px;
  font-size: 16px;
}

/* Country List */
.country-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 200px;
  overflow-y: auto;
}

.country-list li {
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.country-list li:hover {
  background: #f0f0f0;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .hero h1 {
    font-size: 40px;
    line-height: 50px;
  }
  .hero p {
    font-size: 17px;
  }
  .trusted-text {
    margin-top: 55px !important;
  }
  .search-button {
    flex-direction: column;
    gap: 15px;
    width: 80%;
    margin: auto;
  }
  .search-box {
    width: 100%;
    overflow: hidden;
  }
  .search-box input {
    width: 85%;
    padding: 0 10px;
  }
  .cta-button {
    width: 100%;
    margin-left: 0px;
  }
  .logos-slide img {
    margin: 0 20px;
  }
}
@media screen and (max-width: 500px) {
  .hero h1 {
    font-size: 30px;
    line-height: 40px;
  }
  .search-button {
    width: 100%;
  }
  .logos-slide img {
    margin: 0 10px;
  }
  .trusted-text {
    margin-bottom: 13px !important;
    font-size: 16px !important;
  }
  .logos:before,
  .logos:after {
    width: 45px;
  }
  .logos-slide img {
    scale: 1;
  }
}

/* Animated Bubbles */
.bubble {
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(61, 220, 151, 0.6);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
  z-index: 99;
}

/* First Bubble (Bottom Left) */
.bubble1 {
  bottom: -50px;
  left: -50px;
  animation-delay: 0s;
}

/* Second Bubble (Top Right) */
.bubble2 {
  top: -50px;
  right: -50px;
  background: rgba(155, 89, 182, 0.6);
  animation-delay: 3s;
}

/* Floating Animation */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
  .bubble {
    width: 150px;
    height: 150px;
  }

  .bubble1 {
    bottom: -30px;
    left: -30px;
  }

  .bubble2 {
    top: -30px;
    right: -30px;
  }
}

.hero {
  position: relative;
  background-image: url("../images/elipse.png");
  background-repeat: no-repeat;
  background-position: center;
  background-blend-mode: overlay;
}
.hero-bg {
}

.hero-bg-star {
  position: absolute;
  right: 20%;
  bottom: 30%;
  /* animation: pulse 4s infinite ease-in-out; */
  animation: rotate-pulse 10s linear infinite;
}
.hero-bg-star2 {
  position: absolute;
  left: 20%;
  bottom: 30%;
  animation: pulse 4s infinite ease-in-out;
}
.hero-bg-star3 {
  position: absolute;
  left: 30%;
  top: 10%;
  animation: pulse 4s infinite ease-in-out;
}
/* .hero::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  background-color: #e5511e;
  z-index: -1;
  animation: pulse 5s infinite ease-in-out;
} */
.elipse img{
  width: 100%;
  height: 100%;
  opacity: 0.7;
}
.hero-bg-star2 img{
  width: 40px;
}
.hero-bg-star3 img{
  width: 40px;
}

/* Pulse Animation */
@keyframes pulse {
  0% {
      transform: scale(1);
      opacity: 1;
  }
  50% {
      transform: scale(1.1);
      opacity: 0.5;
  }
  100% {
      transform: scale(1);
      opacity: 1;
  }
}

/* Keyframes for Infinite Rotation */
@keyframes rotate-pulse {
  from {
      transform: rotate(0deg);
      opacity: 0.5;

  }
  to {
      transform: rotate(360deg);
      opacity: 1;
  }
}