@media (max-width: 768px) {

  .td_btn {
    width: 100%;
    max-width: 260px;        /* SAME WIDTH FOR ALL */
    display: block;
  }

  .td_btn .td_btn_in {
    min-height: 48px;        /* SAME HEIGHT */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;               /* space between text & icon */
    padding: 12px 18px;      /* consistent padding */
    text-align: center;
  }

}


      .td_funfact {
/*  position: relative;*/
}

/* Existing dotted SVG */
/*.td_funfact > svg:first-of-type {
  position: relative;
  z-index: 1;
}*/




/* Plane layer */
.plane-svg {
  position: absolute;
  inset: 0;
/*  width: 160px;*/
/*  height: 120px;*/
width: 280px!important;
    height: 200px!important;
    left: -70px!important;
  z-index: 0;
  pointer-events: none;
}

/* Plane look */
.plane-svg image {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.35));
}




/*      poupform*/

/* Popup hidden by default */
.counselling-popup {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

/* Overlay */
.popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

/* Popup box */
.popup-box {
  position: relative;
  background: #fff;
  max-width: 420px;
  width: 90%;
  margin: auto;
  padding: 30px;
  border-radius: 16px;
  z-index: 1;
}

/* Close button */
.popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Popup box */
.popup-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 28px;
  max-width: 420px;
  width: 92%;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* Form heading */
#counselling-form h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #0b1c2d;
}

/* Field wrapper */
#counselling-form .td_form_field_3 {
  margin-bottom: 22px;
}

/* Label (top aligned) */
#counselling-form .td_form_field_3 label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
      left: 10px;
}

/* Input & Select */
#counselling-form .td_form_field_3 input,
#counselling-form .td_form_field_3 select {
  width: 100%;
  padding: 25px;
  font-size: 15px;
  border-radius: 12px;
  border: 1.5px solid #e4e7ec;
  background: #f9fafb;
  transition: all 0.25s ease;
  margin-bottom: 8px;
}

/* Select arrow */
#counselling-form .td_form_field_3 select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23666' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

/* Focus */
#counselling-form .td_form_field_3 input:focus,
#counselling-form .td_form_field_3 select:focus {
  outline: none;
  background: #fff;
  border-color: #8b1538;
  box-shadow: 0 0 0 3px rgba(139,21,56,0.12);
}

/* CTA button */
.td_btn {
  margin-top: 10px;
  font-size: 16px;
}

/* Mobile optimization */
@media (max-width: 480px) {
  .popup-box {
    padding: 26px 20px;
  }
}



/*end*/


/*tool cta start*/

/*.td_tool_cta {
  position: fixed;
  left: 12px;
  top: 35%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 998;
}


.tool-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 8px;
  border-radius: 30px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  text-decoration: none;
  overflow: hidden;
  width: 46px;
  transition: all 0.35s ease;
  opacity: 0;
  transform: translateX(-20px);
}


.tool-item img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}


.tool-item span {
  white-space: nowrap;
  font-size: 14px;
  color: #333;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}


.tool-item:hover {
  width: 190px;
  padding: 8px 14px;
}

.tool-item:hover span {
  opacity: 1;
  transform: translateX(0);
}

.tool-item.show {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .td_tool_cta {
    display: none;
  }
}*/

/*tool cta end*/

.tool-item {
  opacity: 0;
  transform: translateX(-15px);
  transition: all 0.3s ease;
}

.tool-item.show {
  opacity: 1;
  transform: translateX(0);
}


.td_tool_cta {
  position: fixed;
  left: 12px;
  top: 35%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

/* Toggle button */
.tool-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
      background: #174ea4;
    border: 2px solid #620b3e
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: none; /* desktop hidden */
}

/* Tool item */
.tool-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border:1px solid #ba346f;
  padding: 8px;
  border-radius: 30px;
  width: 46px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  text-decoration: none;
  transition: all 0.35s ease;
}

/* Icon */
.tool-item img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

/* Text hidden */
.tool-item span {
  white-space: nowrap;
  font-size: 14px;
  color: #ba346f;
  font-weight: 500;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

/* Hover / Tap expand */
.tool-item:hover,
.tool-item:focus-visible,
.tool-item.active{
  width: 190px;
  padding: 8px 14px;
}

.tool-item:hover span,
.tool-item:focus-visible span,
.tool-item.active span {
  opacity: 1;
  transform: translateX(0);
}


@media (max-width: 768px) {

  .td_tool_cta {
  top: 60%;

}
  .tool-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

/*  .tool-item {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
  }

  .td_tool_cta.open .tool-item {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }*/


}


/*end*/

/*2nd css*/

/*.td_tool_cta {
  position: fixed;
  left: 12px;
  top: 35%;
  z-index: 999;
}

.tool-item {
  opacity: 0;
  transform: translateX(-10px);
  pointer-events: none;
  transition: all .3s ease;
}

.tool-item.show {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.tool-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #36b3c9;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .tool-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}*/

/*end*/


.td_vertical_cta {
  position: fixed;
  right: 0;
  top: 40%;
/*  background: #ff6b00;*/
background: linear-gradient(to bottom, #36b3c9 0%, #ba346f 100%);

  color: #fff;
  padding: 14px 10px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 0px 10px 10px 0px;
  z-index: 999;
  box-shadow: -6px 10px 30px rgba(0,0,0,0.3);
  text-decoration: none;
  transition: all 0.3s ease;
}

.td_vertical_cta:hover {
/*  background: #e65c00;*/
background: linear-gradient(to bottom, #ba346f  0%, #36b3c9 100%);
color:#fff;

  padding-right: 14px;
}

/* MOBILE → convert to bottom bar */
@media (max-width: 768px) {
  .td_vertical_cta {
    writing-mode: horizontal-tb;
    transform: none;
    top: auto;
    bottom: 0;
    width: 100%;
    right: 0;
    left: 0;
    text-align: center;
    border-radius: 0;
    padding: 14px;
  }
}


.td_footer_newsletter {
  padding: 40px 0;
}

.td_footer_newsletter_in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.td_newsletter_text {
  max-width: 420px;
}

.td_footer_newsletter .td_newsletter_form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.td_footer_newsletter .td_newsletter_input {
  min-width: 260px;
}

/* MOBILE */
@media (max-width: 768px) {
  .td_footer_newsletter_in {
    flex-direction: column;
    text-align: center;
  }

  .td_footer_newsletter .td_newsletter_form {
    justify-content: center;
  }
}

/*floating btns*/

.td_floating_contact {
  position: fixed;
  right: 20px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 999;
}

/* Common button style */
.td_float_btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Icons */
.td_float_btn img {
  width: 50px;
}

/* Colors */
.td_float_btn.whatsapp {
  background: #25d366;
}

.td_float_btn.call {
  background: #0b5ed7;
}

/* Hover effect */
.td_float_btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}


@media (max-width: 768px) {
  .td_floating_contact {
    right: 14px;
    bottom: 70px;
  }

  .td_float_btn {
    width: 52px;
    height: 52px;
  }

  .td_float_btn img {
    width: 40px;
  }
}


/*end*/

      .process-creative {
  padding: 100px 0;
  background: linear-gradient(180deg, #ffffff, #f6f7fb);
}

.section-title {
  text-align: center;
  font-size: 40px;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  max-width: 640px;
  margin: 12px auto 70px;
  color: #666;
}

/* TRACK */
.process-track {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 20px;
  position: relative;
}

/* Gradient line */
.process-track::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ba336e, #be3371);
  border-radius: 10px;
  z-index: 0;
}

/* CARD */
.process-card {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 60px 18px 24px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

/* STEP BADGE */
.step-badge {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
/*  background: #8b0d2f;*/
background: linear-gradient(to right, #36b3c9 0%, #ba346f 100%);

  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.process-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.process-card p {
  font-size: 14px;
  color: #666;
}

/* 📱 MOBILE */
@media (max-width: 992px) {
  .process-track {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .process-track::before {
    top: 0;
    left: 28px;
    width: 4px;
    height: 100%;
  }

  .process-card {
    padding-left: 70px;
    text-align: left;
  }

  .step-badge {
    left: -2px;
    top: 0px;
    transform: none;
  }
}


      .td_iconbox {
  position: relative;
}

/* Popup card */
.td_country_popup {
  position: absolute;
  top: -10px;
  left: 105%;
  width: 220px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 10;
}

/* Small arrow */
.td_country_popup::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 30px;
  border-width: 8px;
  border-style: solid;
  border-color: transparent #ffffff transparent transparent;
}

.td_country_popup h4 {
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: 600;
}

.td_country_popup ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.td_country_popup li {
  font-size: 13px;
  margin-bottom: 8px;
  color: #555;
}

/* Hover trigger */
.td_iconbox:hover .td_country_popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Default popup opens RIGHT */
.td_country_popup {
  left: 105%;
  right: auto;
}

/* Every 4th COLUMN → open popup LEFT */
.row > div:nth-child(4n) .td_country_popup {
  left: auto;
  right: 105% !important;
}

/* Arrow flip */
.row > div:nth-child(4n) .td_country_popup::before {
  left: auto;
  right: -8px;
  border-color: transparent transparent transparent #ffffff;
}


@media (max-width: 991px) {

  .td_country_popup {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    width: 100%;
    transform: translateY(10px);
    opacity: 0;
    visibility: hidden;
    z-index: 20;
  }

  /* Remove arrow on mobile */
  .td_country_popup::before {
    display: none;
  }

  /* Tap / hover fallback */
  .td_iconbox:hover .td_country_popup,
  .td_iconbox.active .td_country_popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}
