.case-study-carousel {
  position: relative;
  overflow: visible; /* allows arrows to be visible outside */
  padding: 0 40px; /* optional: adds space for arrows */
}

.case-study-slides {
  position: relative;
  width: 100%;
}

.case-study-slide {
  display: none;
  width: 100%;
  transition: opacity 0.5s ease;
}

.case-study-slide.active {
  display: block;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.carousel-arrow.prev {
  left: -20px; /* Push to the left of content */
}

.carousel-arrow.next {
  right: -20px; /* Push to the right of content */
}

@media (max-width: 768px) {
  .carousel-arrow.prev {
    left: 0;
  }
  .carousel-arrow.next {
    right: 0;
  }
}



iframe {
        width: 100%;
        height: 1200px;
        border: 0;
      }
#contact .contact-form{
margin:0px;
}
.contact-form {
  width:50%;
  margin: 100px auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.contact-form h2,
.contact-form h3 {
  margin-bottom: 20px;
  color: #333;
font-size:24px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="range"],
.contact-form input[type="number"],
.contact-form input[type="password"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin: 8px 0 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 15px;
}

.contact-form label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
  color: #222;
}
/* Inline radio buttons */
.radio-inline {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.contact-form label {
  font-weight: 500;
  margin-bottom: 0.2rem;
  color: #333;
}
/* Two-column layout for email + phone */
.two-column {
  display: flex;
  gap: 1rem;
}
.range-labels{
    padding: 0;
    margin-top: -13px;
}
#adSpendValue,#adSpendValue2{
    background: #EDFBFF;
    color: #00BFFF;
    font-family: Inter;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    text-align: right;
    padding: 1px 31px;
}
.range-wrapper #ad_spend,.range-wrapper #ad_spend2{
    margin-top: 0;
}
/* Overlay */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* semi-transparent */
  z-index: 999;
}



/* Close button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

/* General styling */
.popup form input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: transparent;
}

/* Chrome / Safari */
.popup form input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: linear-gradient(to right, #00BFFF 0%, #00BFFF var(--progress), #7C898D var(--progress), #7C898D 100%);
  border-radius: 4px;
}

.popup form input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 16px;
  width: 16px;
  background: #00BFFF;
  border-radius: 50%;
  cursor: pointer;
  margin-top: -5px; /* center thumb */
  position: relative;
  z-index: 1;
}
.range-wrapper small{
    padding: 0;
    margin: 0;
    margin-bottom: 0;
}
.range-wrapper .range-labels{
    padding: 0;
    margin: 0;
}
/* Firefox */
.popup form input[type="range"]::-moz-range-track {
  height: 6px;
  background: #7C898D;
  border-radius: 4px;
}

.popup form input[type="range"]::-moz-range-progress {
  background-color: #00BFFF;
  height: 6px;
  border-radius: 4px;
}

.popup form input[type="range"]::-moz-range-thumb {
  height: 16px;
  width: 16px;
  background: #00BFFF;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

/* Edge / IE */
.popup form input[type="range"]::-ms-track {
  height: 6px;
  background: transparent;
  border-color: transparent;
  color: transparent;
}

.popup form input[type="range"]::-ms-fill-lower {
  background: #00BFFF;
  border-radius: 4px;
}

.popup form input[type="range"]::-ms-fill-upper {
  background: #7C898D;
  border-radius: 4px;
}

.popup form input[type="range"]::-ms-thumb {
  height: 16px;
  width: 16px;
  background: #00BFFF;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

/* Button full width */
.contact-form button ,.popup form button{
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  background: #00BFFF;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
margin-top:20px;
}
.two-column {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
}

.two-column > div {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
}

.two-column input {
  width: 100%;
}
.other .other_b{
    padding: 2px !important;
    margin-top: 0px !important;
}
#step2Form div label{
margin-top:0px;
}
.contact-form button:hover {
  background: #009acd;
}
#contact .contact-form {
width: 100%;
}
.contact-form input[type="radio"],
.contact-form input[type="checkbox"] {
  margin-right: 8px;
}
.target{
margin-top: 0.2rem;
}
.popup {
  display: none;
  position: fixed;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  width: 100%;
  max-width: 657px;
  padding: 20px 30px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  z-index: 9999;
}
.range-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.range-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  color: #333;
}

.range-header label {
  font-size: 1rem;
}

#adSpendValue,#adSpendValue2 {
  font-size: 0.95rem;
}

.range-wrapper input[type="range"] {
  width: 100%;
  margin: 0.5rem 0 0;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #666;
  margin-top: -0.2rem;
}

/* Headline */
.popup form h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #333;
}

/* Labels and inputs */
.popup form label {
  display: block;
  margin-top: 0.5rem;
  font-weight: 500;
  color: #222;
}

.popup form input[type="range"] {
  width: 100%;
  margin-top: 0.5rem;
}

.popup form input[type="text"],
.popup form select {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}
.range-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: -0.5rem;
}

.range-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
}


/* Radio & checkbox groups */
.popup form div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0.5rem;
}

.popup form input[type="radio"],
.popup form input[type="checkbox"] {
  margin-right: 0.5rem;
}

.popup form small {
  font-size: 0.85rem;
  color: #666;
  display: block;
margin-bottom:0px;
}


.popup h3 {
  margin-top: 0;
  color: #222;
}

.popup input[type="range"] {
  width: 100%;
}

.popup small {
  display: block;
  font-size: 13px;
  color: #666;
  margin-top: -10px;
  margin-bottom: 15px;
}
/* Inline checkboxes */
.checkbox-inline-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0.5rem;
}

.checkbox-inline-group label {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

/* Two dropdowns side by side */
.two-column {
  display: flex;
  gap: 10px;
}

.two-column select {
  flex: 1;
}
.checkbox-inline-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0.5rem;
}

.checkbox-inline-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
@media screen and (max-width: 1180px) {
.hero{
    min-height: 1200px;
}
.hero-content{
    max-width: fit-content;
}
.contact-form {
    width: 70%;
margin: 40px auto;
}
}
@media screen and (max-width: 990px) {
    .hero {
        min-height: 1300px;
    }
#header .btn{
display:none
}
}
@media screen and (max-width: 768px) {
.growth-popup input[type="text"], .growth-popup input[type="email"], .growth-popup input[type="tel"], .growth-popup input[type="range"], .growth-popup input[type="number"], .growth-popup input[type="password"], .growth-popup select, .growth-popup textarea{
    margin: 0px 0px 10px 0px;
padding: 5px 15px;
    font-size: 13px;
}
.radio-inline{
gap: 0.1rem;
}
.contact-form {
    width: 100%;
    margin: 0;
}
}
@media screen and (max-width: 600px) {
  .contact-form,
  .popup {
    padding: 20px;
  }

  .btn-group {
    flex-direction: column;
  }
}

/* Responsive tweaks */
@media (max-width: 480px) {
  .popup form {
    padding: 1.5rem;
  }

  .popup form div {
    flex-direction: column;
  }
}
