.form-select {
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.input-group-text {
  /* background-color: #f8f9fa;
  border-radius: 0.5rem 0 0 0.5rem;
  border-right: none; */
  padding: 14px 10px;
  border-radius: 10px;
  border: none;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.08);
  font-size: 15px;
}

.input-group .form-select {
  padding: 14px 10px !important;
  border-radius: 10px !important;
  border: none !important;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.08) !important;
  font-size: 15px !important;
}


.select2-container {
  width: 100% !important;
  height: auto !important;
}

.select2-container .select2-selection--single {
  padding: 10px !important;
  height: 100% !important;
}

.select2-container--default .select2-selection--single {
  border: none !important;
  /* border-radius: 10px !important; */
}


.select2-container--default .select2-selection--single:focus{
        border: 1px solid #aaa !important;
  outline: none;
}

/* .input-group {
  padding: 15px 10px;
} */
.header-banner {
  position: relative;
  background-image: url('https://playtimeads.com/New_playtime_site_data/Images/RoadMap/Banner_step_3.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  z-index: 1;
  height: 350px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 76px;
}

.header-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* dark overlay */
  z-index: 0;
}

.header-banner h1 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.header-banner p {
  font-size: 16px;
  margin-top: 10px;
  position: relative;
  z-index: 1;
}

.contact-form-container {
  margin-top: -100px;
  /* background-color: #fff; */
  /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05); */
  border-radius: 16px;
  /* max-width: 1140px; */
  max-width: 1340px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.contact-us.style_containers {
  background: #F5F7F9;
  display: flex;
  align-items: center;
  border-radius: 20px;
}

.contact-us h2 {
  font-weight: 700;
  font-size: 30px;
  padding: 0 26px;
  /* text-align: center; */
}

.contact-us h2 span {
  color: #9749f8;
}

/* Main Card */
.contactus-card {
  background-color: #fff;
  border-radius: 24px;
  padding: 24px;
  width: 90%;
  max-width: 540px;
  /* box-shadow: 0 8px 10px rgba(0, 0, 0, 0.08); */
  margin: 0 auto;
  /* height: 470px; */
  overflow-y: auto;
}

/* Header: Avatar + Info */
.contactus-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.contactus-avatar {
  width: 56px;
  height: 56px;
  border-radius: 10%;
  object-fit: cover;
}

.contactus-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.contactus-name {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: #000;
  float: left;
}

.contactus-detail {
  font-size: 16px;
  color: #666;
  margin: 4px 0 0;
}

/* Quote */
.contactus-quote {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 18px 0;
  text-align: left;
}

/* Body Text */
.contactus-text {
  font-size: 16px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 0;
  text-align: left;
}

/* Carousel adjustments */
.carousel-inner {
  width: 100%;
  margin: 0px 0px;
  /* width: 90%; */
}

.carousel-item {
  text-align: center;
  padding: 35px 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #9749f8;
  border-radius: 50%;
  padding: 10px;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;

}

.carousel-indicators .active {
  background-color: #333;
}

/* Optional: make carousel dots spacing nicer */
.carousel-indicators {
  bottom: -30px;
  margin-right: 33% !important;
  /* margin-right: 75px !important; */
}

@media (max-width: 576px) {
  .header-banner {
    height: 300px;
    justify-content: center;
  }

  .header-banner h1 {
    font-size: 33px;
  }

  .contact-form-container {
    margin-top: -50px;
    padding: 20px 10px;
  }

  .contact-us.style_containers {
    padding: 20px;
    border-radius: 12px;
  }

  .contactus-card {
    padding: 24px 16px !important;
    border-radius: 16px;
    margin: 0px !important;
  }

  .contactus-name {
    font-size: 18px;
  }

  .contactus-text {
    font-size: 14px;
  }

  .contactus-name {
    font-size: 16px;

  }

  .contactus-detail {
    font-size: 13px;
    color: #666;
  }

  .contactus-quote {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .contact-us h2 {
    font-size: 20px;
  }
  .carousel-item {
    text-align: center;
    padding: 0px 0;
}
.carousel-indicators {
    bottom: -45px;
            margin-right: 70px !important;
  }

}


.contact-us .form-control {
  border-radius: 10px;
  padding: 15px 10px;
  border: none;
  /* box-shadow: 0 0 3px rgba(0, 0, 0, 0.08); */
  font-size: 15px;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  transition: all 0.2s ease-in-out;
}

.contact-us .form-check-label {
  font-size: 18px;
  color: #6c757d;
}

.contact-us .btn-submit {
  background-color: #9749f8;
  border: none;
  border-radius: 50px;
  padding: 10px 26px;
  font-weight: 600;
  font-size: 16px;
  color: white;
  transition: 0.3s;
}

.contact-us .btn-submit:hover {
  background-color: #9749f8;
  color: white;
}

.contact-image {
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-label {
  font-size: 16px;
  margin-bottom: 10px;
  display: block;
  color: #333;
}

.label-required::after {
  content: " *";
  color: red;
}

input.form-control:focus {
  color: #212529;
  background-color: #ffffff;
  outline: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #9749f8;
}

select.form-control:focus {
  border: 1px solid #9749f8;
  outline: none;
}

.logo-carousel-section {
  padding: 40px 40px 20px 40px;
  margin-top: -80px;
}

.logo-carousel-wrapper {
  overflow: hidden;
  background: white;
  border-radius: 30px;
  padding: 20px;
  margin: 0 auto;
  /*max-width: 70%;*/
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.logo-carousel-track {
  display: flex;
  gap: 50px;
  transition: transform 0.5s ease-in-out;
}

.logo-carousel-track img {
  width: 100px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
}


.simple-carousel {
  width: 100%;
  overflow: hidden;
  padding: 0;
  position: relative;
}


.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.error-msg {
  color: red;
  font-size: 13px;
  margin-top: 4px;
}

.form-check-input:checked {
  background-color: #9749f8;
  border-color: #9749f8;
}

/* input[type="checkbox"].is-invalid + label {
  color: red;
} */

@media (min-width: 576px) and (max-width: 767px) {
    .carousel-indicators {
        bottom: -6px !important;
        margin-right:17% !important;
    }

}


@media (min-width:767px) and (max-width: 991px) {


  .header-banner {
    height: 280px;
    padding: 30px 15px;
    background-position: center;
  }

  .header-banner h1 {
    font-size: 28px;
  }

  .contact-form-container {
    margin-top: -60px;
    padding: 25px 20px;
  }

  .contact-us.style_containers {
    flex-direction: column;
    padding: 30px 15px;
  }

  .contact-us h2 {
    font-size: 23px;
    text-align: center;
  }

  .contactus-card {
    padding: 20px;
    margin-bottom: 20px;
  }

  .contactus-name {
    font-size: 16px;
  }

  .contactus-detail {
    font-size: 12px;
  }

  .contactus-quote {
    font-size: 14px;
  }

  .contactus-text {
    font-size: 13px;
  }

  .carousel-inner {
    padding: 10px 16px;
    width: 100%;
  }

  .carousel-indicators {
    bottom: -6px;
     margin-right:18% !important;
  }

  #advertiserForm .col-md-6 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  #advertiserForm .form-control {
    font-size: 15px;
    padding: 15px 12px;
  }

  #advertiserForm .btn-submit {
    width: 100%;
    font-size: 15px;
    padding: 10px 0;
  }

  .form-label {
    font-size: 16px;
  }

  .form-check-label {
    font-size: 14px;
  }
}


@media (max-width: 1199px) {

  /* Reduce container spacing */
  #advertiserForm .row {
    padding: 0 10px;
  }

  /* Stack inputs fully */
  #advertiserForm .col-md-6 {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Margin tweaks for inputs */
  #advertiserForm .mb-3 {
    margin-bottom: 1rem !important;
  }

  /* Label font size */
  #advertiserForm label {
    font-size: 17px;
  }

  /* Input spacing and size */
  #advertiserForm .form-control {
    font-size: 16px;
    /* padding: 10px 12px; */
    padding: 15px 12px;
    border-radius: 8px;
  }

  /* Button full-width */
  #advertiserForm .btn-submit {
    width: 100%;
    font-size: 16px;
    padding: 10px;
    border-radius: 50px;
  }

  /* Consent checkbox font size */
  #advertiserForm .form-check-label {
    font-size: 15px;
  }
}