/* This is for contact us css. */

.position-relative {
  position: relative;
}

.contact-us-container {
  min-height: 100vh;
}

.contact-us-container .container-wrap {
  display: block;
  margin: 0 auto;
  width: 88.9%;
  padding: 100px 0 80px;
}

@media (max-width: 768px) {
  .contact-us-container .container-wrap {
    padding: 50px 0 50px;
  }
}

.contact-us-container .main-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .contact-us-container .main-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1023.98px) {
  .contact-us-container .main-grid {
    gap: 3.5rem;
  }

  .contact-us-container .content-section {
    order: 1;
  }

  .contact-us-container .form-section {
    order: 0;
    margin-top: -3rem;
  }
}

.contact-mobile-section {
  display: none;
}

@media (max-width: 1023.98px) {
  .contact-mobile-section {
    display: block;
  }
}

.content-section {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: start;
}

.section-header .section-title {
  font-size: 48px;
  font-weight: 400;
  color: #111827;
  line-height: 1;
  margin-bottom: 0.5rem;
  margin-top: 0px;
}

@media (max-width: 1200px) {
  .section-header .section-title {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .section-header .section-title {
    font-size: 34px;
  }
}

.section-header .section-subtitle {
  font-size: 3rem;
  font-weight: 400;
  color: #111827;
  line-height: 1;
  margin-top: 0px;
  margin-bottom: 0px;
}

@media (max-width: 1200px) {
  .section-header .section-subtitle {
    font-size: 2.5rem;
  }
}

.section-header .gradient-text {
  background: linear-gradient(to right, #e63c2e 20%, #9747ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.section-header .section-description {
  font-size: 24px;
  color: #767676;
  line-height: 1.75;
  margin: 40px 0 40px;
  max-width: 35rem;
  font-weight: 400;
}

@media (max-width: 1200px) {
  .section-header .section-description {
    font-size: 22px;
  }
}

@media (max-width: 640px) {
  .section-header .section-title {
    font-size: 32px;
  }

  .section-header .section-subtitle {
    font-size: 2rem;
  }

  .section-header .section-description {
    font-size: 1rem;
    margin: 20px 0 15px;
  }
}

.impact-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.impact-section .section-subtitle {
  background: linear-gradient(to right, #e63c2e 20%, #9747ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stat-item-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-number {
  font-size: 64px;
  font-weight: 400;
  color: var(--light-black);
}

@media (max-width: 1200px) {
  .stat-number {
    font-size: 2.6rem;
  }
}

@media (max-width: 768px) {
  .stat-number {
    font-size: 2.5rem;
  }
}

.stat-label {
  color: #909aa2;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 500;
}

@media (max-width: 1200px) {
  .stat-label {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .stat-item-contact {
    align-items: center;
  }

  .stat-label {
    text-align: center;
    font-weight: 400;
  }
}

.form-section .new-site {
  background: rgba(255, 255, 255, 0);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.6);
}


.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* .input-field {
  border: 1px solid #d0d0d0;
  border-radius: 12px;
  padding-left: 12px;
  background: transparent;
} */

.input-field input,
.input-field textarea,
.input-field select {
  width: 100%;
  border:1px solid #bfbfbf;
  border-radius: 12px;
  padding:0 16px;
  background-color: transparent;
  font-size: 16px;
  font-weight: 400;
  font-family: "Agrandir", sans-serif !important;
  color: #141414;
  outline: none;
  height: 56px;
}
.input-field input:focus{
    border: 1px solid #767676;
    background-color: #f9f9f9;
}

.iti__selected-country{
	border-right:1px solid #BFBFBF;
}
.iti__selected-country-primary{
	padding-left:24px!important;
}
html[data-theme="dark"] .input-field input,
html[data-theme="dark"].input-field textarea,
html[data-theme="dark"].input-field select{
	 border:1px solid #bfbfbf;
}

html[data-theme="dark"] .input-field input:focus,
html[data-theme="dark"] .input-field textarea:focus {
		background-color: #00000070;
}
.input-field select:focus {
	border: 1px solid #767676;
    background-color: #f9f9f9!important;
}
html[data-theme="dark"] .input-field select:focus {
	background-color: rgba(0, 0, 0, .439)!important;
}

html[data-theme="dark"] .input-field select option{
	background-color:#fff0;
	color:white;
}
html[data-theme="dark"] .input-field select option:hover{
	color:black !important;
}

.input-field textarea {
  min-height: 140px;
  resize: vertical;
  padding-top:10px;
}

.input-field textarea:focus{
	border: 1px solid #767676;
    background-color: #f9f9f9;
}
.iti__selected-dial-code{
	padding-right:32px;
}
.iti input.iti__tel-input, .iti input.iti__tel-input[type=tel]{
	padding-left:156px!important;
}
.iti__flag {
  transform: scale(1.5);
  transform-origin: left center;
}
.iti__arrow{
	margin-left:15px!important;
}
.iti--inline-dropdown .iti__dropdown-content{
	width:fit-content !important;
	border-radius:12px;
}
.input-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #6b7280 50%),
    linear-gradient(135deg, #6b7280 50%, transparent 50%);
  background-position:
    calc(100% - 16px) calc(50% - 2px),
    calc(100% - 10px) calc(50% - 2px);
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
}

.phone-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #d0d0d0;
  border-radius: 12px;
  padding: 0 12px;
  height: 52px;
}

.phone-row select {
  border: none;
  background: transparent;
  font-size: 14px;
  color: #141414;
  padding-right: 15px;
  border-right: 2px solid #d0d0d0;
  padding-top: 16px;
  padding-bottom: 16px;
}
html[data-theme="dark"] .phone-row select {
  border-right-color: #bfbfbf;
}

.phone-row input {
  border: none;
  background: transparent;
  flex: 1;
  font-size: 16px;
  outline: none;
}

.custom-checkbox {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  position: relative;
}

.custom-checkbox .text {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #2f2f2f;
  display: block;
  margin: 3px 0 0 44px;
}

.custom-checkbox .text .terms-text {
  font-weight: 500;
  text-decoration: underline;
  color: #2f2f2f;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.custom-checkbox .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 26px;
  width: 26px;
  background-color: transparent;
  border: 1.5px solid #2f2f2f;
  border-radius: 6px;
}

.custom-checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 9px;
  top: 3px;
  width: 5px;
  height: 14px;
  border: solid #ffffff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: #e63c2e;
  border: 1.5px solid #e63c2e;
}

.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

.submit-button {
  width: 100%;
  min-height: 48px;
  border: none;
}

.office-locations {
  background-color: #f9fafb;
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .office-locations {
    padding: 3rem 1rem;
  }
}

.office-locations .container-wrap {
  display: block;
  margin: 0 auto;
  width: 88.9%;
}

.office-locations .main-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1200px) {
  .office-locations .main-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1023px) {
  .office-locations .main-grid {
    gap: 3rem;
  }
}

.office-locations .content-section {
  gap: 3rem;
}

.office-locations .content-section .heading {
  font-size: 40px;
  font-weight: 400;
  color: #2f2f2f;
  line-height: 1.1;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .office-locations .content-section .heading {
    font-size: 35px;
  }
}

@media (max-width: 640px) {
  .office-locations .content-section .heading {
    font-size: 28px;
    margin-bottom: 1.5rem;
  }
}

.office-locations .content-section .description {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.office-locations .content-section .description p {
  font-size: 1rem;
  color: #767676;
  line-height: 1.75;
  margin: 0;
}
html[data-theme="dark"] .office-locations .content-section .description p {
  color: #ffffff;
}

.offices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 640px) {
  .offices-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.office-card {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

@media (max-width: 768px) {
  .office-card {
    text-align: center;
  }
}

.office-header {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.75rem;
  min-height: 60px;
}

@media (max-width: 768px) {
  .office-header {
    justify-content: center;
  }
}

.flag-container {
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.flag-image {
  width: 100%;
  object-fit: fill;
}

.office-name {
  font-size: 20px;
  font-weight: 500;
  color: #2f2f2f;
  margin: 0;
  white-space: nowrap;
}

.office-address {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 103px;
  justify-content: flex-start;
}

.office-address .address-line {
  color: #767676;
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
  font-weight: 500;
}

.office-card .direction-button {
  height: 44px;
  width: 170px;
  text-decoration: none;
  position: relative;
  margin: 0 0;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(264.67deg, #9747ff 0.77%, #e63c2e 90.19%) border-box;
  padding: 6px 8px;
  min-width: 153px;
  min-height: 48px;
  border: 2px solid transparent;
  border-radius: 100px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 32px;
  cursor: pointer;
  transition: all 0.6s;
  overflow: hidden;
}

@media (max-width: 768px) {
  .office-card .direction-button {
    margin: 0 auto;
  }
}

.office-card .direction-button::before {
  transition: all 0.6s cubic-bezier(0.77, 0, 0.18, 1);
  content: "";
  width: 0;
  height: 100%;
  background: linear-gradient(268.3deg, #9747ff -5.05%, #e63c2e 75.54%);
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 100px;
  z-index: 1;
}

.office-card .direction-button:hover::before {
  width: 100%;
}

.office-card .direction-button .btn-text {
  position: relative;
  z-index: 2;
  background: linear-gradient(to right, #e63c2e 20%, #9747ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.6s;
}

.office-card .direction-button:hover .btn-text {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

.office-card .direction-button .arrow-icon {
  margin-left: 8px;
  transition: 0.4s;
  width: 20px;
  position: relative;
  z-index: 2;
  color: #9747ff;
}

.office-card .direction-button:hover .arrow-icon {
  transform: translateX(0.25rem);
  color: #ffffff;
}

.cta-contact-sale .career-container {
  display: block;
  margin: 0 auto;
  width: 88.9%;
  padding: 80px 0;
}

.cta-contact-sale .career-banner {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  background: var(--cta-gradient);
  padding: 1.8rem;
  text-align: center;
  background-image: url("/wp-content/uploads/2026/01/cta-dotted-bg.webp");
  background-repeat: repeat;
  background-size: auto;
  background-position: top left;
}

@media (min-width: 1024px) {
  .cta-contact-sale .career-banner {
    padding: 3.7rem;
  }
}

.cta-contact-sale .banner-content {
  position: relative;
  z-index: 1;
}

.cta-contact-sale .banner-title {
  font-size: 52px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 2.5rem;
  line-height: 1.5;
  margin-top: 0;
}

@media (max-width: 1200px) {
  .cta-contact-sale .banner-title {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .cta-contact-sale .banner-title {
    font-size: 35px;
  }
}

@media (max-width: 480px) {
  .cta-contact-sale .banner-title {
    font-size: 30px;
  }
}

.cta-contact-sale .highlight {
  background: var(--gradient-theme);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.cta-contact-sale .banner-subtitle {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 2.5rem;
  margin-top: 0;
}

.cta-contact-sale .banner-subtitle-what {
  font-weight: 500;
}

.cta-contact-sale .social-media {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

.cta-contact-sale .social-media a {
  margin: 0 0.5rem;
}

.cta-contact-sale .social-media a:hover {
  opacity: 0.8;
}

@media (max-width: 480px) {
	.cta-contact-sale .social-media a {
		width: 30px;
		height: 30px;
	}
	.cta-contact-sale .social-media a img {
		width: 100%;
	}
}

html[data-theme="dark"] .section-title,
html[data-theme="dark"] .section-subtitle,
html[data-theme="dark"] .section-description,
html[data-theme="dark"] .stat-number,
html[data-theme="dark"] .stat-label {
  color: var(--dark-theme-white);
}

html[data-theme="dark"] .form-section .new-site {
  border: 0px solid rgba(255, 255, 255, 0.2);
}

html[data-theme="dark"] .input-field,
html[data-theme="dark"] .phone-row {
  border-color: #bfbfbf;
}

html[data-theme="dark"] .input-field input,
html[data-theme="dark"] .input-field textarea,
html[data-theme="dark"] .input-field select,
html[data-theme="dark"] .phone-row input,
html[data-theme="dark"] .phone-row select {
  color: #eaeaea;
}

html[data-theme="dark"] .custom-checkbox .text,
html[data-theme="dark"] .custom-checkbox .text .terms-text {
  color: #eaeaea;
}

html[data-theme="dark"] .custom-checkbox .checkmark {
  border: 1.5px solid #eaeaea;
}

html[data-theme="dark"] .office-locations {
  background-color: #1a1a1a;
}

html[data-theme="dark"] .office-locations .content-section .heading,
html[data-theme="dark"] .office-name,
html[data-theme="dark"] .office-address .address-line {
  color: #eaeaea;
}

html[data-theme="dark"] .office-card .direction-button {
  background: linear-gradient(268.3deg, #9747ff -5.05%, #e63c2e 75.54%);
  border: 2px solid #e4e4e4;
}

html[data-theme="dark"] .office-card .direction-button::before {
  background: linear-gradient(268.3deg, #9747ff -5.05%, #e63c2e 75.54%);
}

html[data-theme="dark"] .office-card .direction-button .btn-text {
  background: #ffffff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="dark"] .office-card .direction-button .arrow-icon {
  color: #ffffff;
}
.error-message {
  color: #e63c2e;
  font-size: 13px;
  margin-top: 4px;
  display: none;
}

.input-error {
  border-color: #e63c2e !important;
}
.input-field select {
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  color: #141414;
}

html[data-theme="dark"] .input-field select {
  color: #9ca3af;
}

html[data-theme="dark"] .input-field select:valid {
  color: #eaeaea;
}

.input-field input::placeholder,
.input-field textarea::placeholder,
.phone-row input::placeholder {
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  color: #141414 !important;
  opacity: 1;
}

.input-field select:valid {
  color: #141414;
}

.phone-row input::placeholder {
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  color: #9ca3af;
}

html[data-theme="dark"] .input-field input::placeholder,
html[data-theme="dark"] .input-field textarea::placeholder,
html[data-theme="dark"] .phone-row input::placeholder {
  color: #eaeaea !important;
}
.input-field select {
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  color: #9ca3af;
}

.input-field select:valid {
  color: #141414;
}

html[data-theme="dark"] .input-field select {
  color: #ffffff;
  opacity: 0.7;
}

html[data-theme="dark"] .input-field select:valid {
  color: #eaeaea;
  opacity: 1;
}

/* ===================================================================
   ADDITIONAL CSS FOR CUSTOM COUNTRY DROPDOWN
   Add this to your existing contact form CSS
   ================================================================ */

/* Enhanced Phone Input Wrapper */
.phone-input-wrapper {
  display: flex;
  flex-wrap:wrap;
  padding: 0;
  overflow: visible;
  font-size: 16px;
  font-weight: 400;
  height: 56px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0);
  outline: none;
  border: 1px solid #d0d0d0;
  transition: border-color 0.4s;
  position: relative;
  align-items: center;
}

.phone-input-wrapper:focus-within,
.phone-input-wrapper.focused {
  border-color: #6b7280;
}

.phone-input-wrapper.input-error {
  border-color: #e63c2e !important;
}

/* Country Selector Container */
.country-selector-container {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

/* Country Selector Button */
.country-selector-btn {
  border: none;
  border-right: 1px solid #d0d0d0;
  background: transparent;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 34px 0 24px;
  font-size: 16px;
  font-weight: 400;
  font-family: inherit;
  color: #141414;
  transition: all 0.4s;
  height: 100%;
  min-width: auto;
}

.phone-input-wrapper:focus-within .country-selector-btn,
.phone-input-wrapper.focused .country-selector-btn {
  border-right-color: #6b7280;
}

.country-selector-btn:hover {
  background-color: #f9f9f9;
}
.country-select .country-list{
	width:320px;
}
.country-select .country-list .country {
	display: flex;
    align-items: center;
	height:62px;
}

.wpcf7-list-item {
	margin: 0;
	width: 100%;
}

.wpcf7-list-item label{
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

.wpcf7-list-item label span {
	width: calc(100% - 44px);
}


.wpcf7-form input[type="checkbox"] {
	appearance: none;          /* Remove default styling */
	-webkit-appearance: none;
	-moz-appearance: none;

	width: 26px;
	height: 26px;
	border: 1.5px solid #2f2f2f;
	border-radius: 6px;
	cursor: pointer;
	position: relative;
	display: inline-block;
	margin: 0
}

.wpcf7-not-valid-tip {
    padding: 6px 0 0 6px;
}

html[data-theme="dark"] .wpcf7-response-output {
	color: #ffffff !important;
}

html[data-theme="dark"] .wpcf7-form input[type="checkbox"]{
	border: 1.5px solid #EAEAEA;
}

/* Checked state */
.wpcf7-form input[type="checkbox"]:checked {
  background-color: #e63c2e;
  border:1.5px #e63c2e !important;
}

/* Optional: add checkmark */
.wpcf7-form input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 9px;
  width: 5px;
  height: 14px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}


/* button base */
.wpcf7 input.wpcf7-submit {
    font-family: "Agrandir", sans-serif !important;

    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    /* ✅ Arrow removed from here — now handled by ::before below */
    background: linear-gradient(268.3deg, #9747ff -5.05%, #e63c2e 75.54%);

    border: none;
    border-radius: 100px;
    padding: 12px 16px;

    box-shadow: 0 11px 29px 0 #ff0a0a2e;
    font-size: 16px;
    font-weight: 400;
    color: #fff;

    min-height: 48px;
    width: 100%;
    cursor: pointer;

    overflow: hidden;
    z-index: 1;
}

/* wrapper for overlay */
.wpcf7 p:has(input.wpcf7-submit) {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
}

/* ensure button text is above everything */
.wpcf7 input.wpcf7-submit {
    z-index: 2;
}

/* ✅ Arrow: fixed 25px from the right, always vertically centered */
.wpcf7 p:has(input.wpcf7-submit)::before {
    content: "";
    position: absolute;
    right: 20%;
    top: 30%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: url("/wp-content/uploads/2026/05/converted-image.png") no-repeat center / contain;
    pointer-events: none;
    z-index: 4; /* above the sheen overlay */
}
@media (min-width: 455px){
	.wpcf7 p:has(input.wpcf7-submit)::before {
		 right: 25%;
         top: 30%;
	}
}

@media (min-width: 620px){
	.wpcf7 p:has(input.wpcf7-submit)::before {
		 right: 35%;
         top: 30%;
	}
}
@media (min-width: 955px){
	.wpcf7 p:has(input.wpcf7-submit)::before {
		 right: 40%;
         top: 30%;
	}
}
@media (min-width: 1024px){
	.wpcf7 p:has(input.wpcf7-submit)::before {
		 right: 30%;
         top: 30%;
	}
}
@media (min-width: 1440px){
	.wpcf7 p:has(input.wpcf7-submit)::before {
		 right: 37%;
         top: 30%;
	}
}
@media (min-width: 1764px){
	.wpcf7 p:has(input.wpcf7-submit)::before {
		 right: 37%;
         top: 30%;
	}
}
@media (min-width: 2636px){
	.wpcf7 p:has(input.wpcf7-submit)::before {
		 right: 42%;
         top: 30%;
	}
}
/* white sheen overlay */
.wpcf7 p:has(input.wpcf7-submit)::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    min-height: 48px;
    border-radius: 100px;

    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.65) 50%,
        rgba(255,255,255,0) 100%
    );

    transition: all 1.5s cubic-bezier(.77, 0, .18, 1);
    pointer-events: none;
    z-index: 3;
}

/* animate sweep */
.wpcf7 p:has(input.wpcf7-submit):hover::after {
    left: 120%;
}

/* Country Flag in Selector */
.country-flag {
  height: 15px;
  object-fit: contain;
  border-radius: 2px;
  flex-shrink: 0;
}

/* Dropdown Arrow */
.dropdown-arrow {
  flex-shrink: 0;
  width: 12px;
  height: 8px;
  transition: transform 0.3s;
}

.country-selector-btn.active .dropdown-arrow {
  transform: rotate(180deg);
}

/* Country Code Text */
.country-code-text {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Custom Country Dropdown */
.country-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 9999;
  width: 320px;
  max-height: 240px;
  overflow-y: auto;
  background-color: white;
  border: 1px solid #6b7280;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  margin-top: 4px;
  display: none;
}

.country-dropdown.active {
  display: block;
}

/* Scrollbar Styling for Dropdown */
.country-dropdown::-webkit-scrollbar {
  width: 8px;
}

.country-dropdown::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 12px;
}

.country-dropdown::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 12px;
}

.country-dropdown::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Country Option Button */
.country-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s;
  font-size: 14px;
  border-bottom: 1px solid #f0f0f0;
}

.country-option:last-child {
  border-bottom: none;
}

.country-option:hover {
  background-color: #f3f4f6;
}

/* Country Option Flag */
.country-option-flag {
  width: 24px;
  height: 18px;
  object-fit: contain;
  border-radius: 2px;
  flex-shrink: 0;
}

/* Country Option Content */
.country-option-content {
  flex: 1;
  min-width: 0;
}

.country-name {
  font-weight: 500;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.country-code-small {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}

/* Mobile Number Input */
.mobile-number-input {
  display:none;
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 0 16px;
  font-size: 16px;
  font-weight: 400;
  color: #141414;
  transition: background-color 0.4s;
  height: 100%;
}

.mobile-number-input:focus {
  background-color: #f9f9f9;
}

.mobile-number-input::placeholder {
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  color: #9ca3af;
  opacity: 1;
}

/* for country code dropdown */
.dropdown-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  background-color: transparent;
  display: none;
}

.dropdown-overlay.active {
  display: block;
}

html[data-theme="dark"] .phone-input-wrapper {
  border-color: #bfbfbf;
}

html[data-theme="dark"] .phone-input-wrapper:focus-within,
html[data-theme="dark"] .phone-input-wrapper.focused {
  border-color: #6b7280;
}

html[data-theme="dark"] .country-selector-btn {
  color: #eaeaea;
  border-right-color: #bfbfbf;
}

html[data-theme="dark"] .phone-input-wrapper:focus-within .country-selector-btn,
html[data-theme="dark"] .phone-input-wrapper.focused .country-selector-btn {
  border-right-color: #6b7280;
}

html[data-theme="dark"] .country-selector-btn:hover {
  background-color: rgba(55, 65, 81, 0.3);
}

html[data-theme="dark"] .country-dropdown {
  background-color: #1f2937;
  border-color: #4b5563;
}

html[data-theme="dark"] .country-option {
  border-bottom-color: #374151;
}

html[data-theme="dark"] .country-option:hover {
  background-color: #374151;
}

html[data-theme="dark"] .country-name {
  color: #eaeaea;
}

html[data-theme="dark"] .country-code-small {
  color: #9ca3af;
}

html[data-theme="dark"] .mobile-number-input {
  color: #eaeaea;
}

html[data-theme="dark"] .mobile-number-input:focus {
  background-color: rgba(55, 65, 81, 0.3);
}

html[data-theme="dark"] .mobile-number-input::placeholder {
  color: #ffffff;
  opacity: 0.7;
}

html[data-theme="dark"] .country-dropdown::-webkit-scrollbar-track {
  background: #374151;
}

html[data-theme="dark"] .country-dropdown::-webkit-scrollbar-thumb {
  background: #4b5563;
}

html[data-theme="dark"] .country-dropdown::-webkit-scrollbar-thumb:hover {
  background: #6b7280;
}

@media (max-width: 768px) {
  .country-dropdown {
    width: 280px;
  }

  .country-selector-btn {
    padding: 0 24px 0 16px;
  }

  .mobile-number-input {
    padding: 0 12px;
  }
}

@media (max-width: 480px) {
  .country-dropdown {
    width: 100%;
    max-width: calc(100vw - 48px);
  }
}

.country-selector-btn:focus-visible {
  outline: 2px solid #e63c2e;
  outline-offset: 2px;
}

.country-option:focus-visible {
  outline: 2px solid #e63c2e;
  outline-offset: -2px;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.country-dropdown.active {
  animation: slideDown 0.2s ease-out;
}
.iti{
	width:stretch;
}
.iti__country-list{
	width:320px;
	max-height:240px;
	border: 1px solid rgb(107, 114, 128);
    border-radius: 12px;
}
.iti__country {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 10px;
	padding:10px 16px;
}

.iti__flag-box {
    grid-row: 1 / span 2; /* flag spans both rows */
}

.iti__country-name {
    grid-column: 2;
    grid-row: 1;
	font-size:14px;
	line-height:21px;
	color:rgb(17, 24, 39);
}

.iti__dial-code {
    grid-column: 2;
    grid-row: 2;
    font-size: 12px;
	line-height:18px;
	margin-top:2px;
	color:rgb(107, 114, 128);
}
.iti__divider{
	display:none;
}

.form-group .checkbox-links{
	font-weight:500;
	color:#2f2f2f;
	text-decoration:underline;
	cursor:pointer !important;
}
html[data-theme="dark"] .iti__country{
	background-color:black;
}
html[data-theme="dark"] .iti__country:hover{
	background-color:#374151;
}
html[data-theme="dark"] .iti__country .iti__country-name{
	color:#eaeaea;
}
html[data-theme="dark"] .iti__country .iti__dial-code{
	color:#9ca3af;
}
html[data-theme="dark"] .iti .iti__selected-dial-code{
	color:#eaeaea;
}
html[data-theme="dark"] #iti-0__dropdown-content .iti__search-input{
	background-color:black;
	color:#eaeaea;
}

html[data-theme="dark"] .form-group .checkbox-links{
	color:#eaeaea;
	cursor:pointer !important;
}
html[data-theme="dark"] .country-select ul.country-list{
	background-color:black;
}
html[data-theme="dark"] .country-select .country-list .country.highlight{
	background-color:#374151;
}
html[data-theme="dark"] .wpcf7-list-item-label{
	color:#eaeaea;
}

html[data-theme="dark"] input:-webkit-autofill,
html[data-theme="dark"] textarea:-webkit-autofill,
html[data-theme="dark"] select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  -webkit-text-fill-color: #ffffff !important; /* white text */
  caret-color: #ffffff; /* cursor color */
  transition: background-color 5000s ease-in-out 0s;
}
