@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  border: none;
  outline: none;
  text-decoration: none;
  color: var(--secoundary);
}
:root {
  --primary: #ff832a;
  --text:orange;
  --secoundary: #00314f;
  --secoundary1: #5d99f5;
  --gray: #8899a4;
}
[class*="grid"] {
  display: grid;
}
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 10rem;
}
body {
  -webkit-text-size-adjust: 100%;
}
p,
a,
input,
select,
textarea,
button {
  font-size: 1.6rem;
}
p {
  color: var(--gray);
  line-height: 1.6;
}
img,
video {
  max-width: 100%;
  width: 100%;
}
.container {
  max-width: 1240px;
  padding: 0 2rem;
  margin: auto;
  width: 100%;
}
button {
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: var(--primary);
  color: white;
  border-radius: 1rem;
}

section {
  padding: 8rem 0;
}
/* header section */
header {
  height: 8rem;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 9999;
  transition: 0.3s;
}
header.sticky {
  background: white;
  transition: 0.3s;
  box-shadow: #00000009 0px 15px 30px;
}
header.sticky .links a {
  color: var(--secoundary);
}
header.sticky button {
  color: white;
  border-color: white;
}
.logo img {
  height: 7rem;
  display: flex;
}
header .container {
  height: 100%;
  max-width: 100%;
  padding: 0 5rem;
}
header .container,
.links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
header .links a {
  color: white;
}
.salesmid {
  height: 103px;
  width: 109px;
}
.imgsales {
  padding-top: 40px;
  display: flex;
    justify-content: center; /* Horizontally center */
    align-items: center; /* Vertically center (optional) */
    /* height: 100vh; */
}


.menu {
  font-size: 3rem;
  display: none;
}
/* header section end */
main,
.cta {
  background: var(--secoundary);
  height: 90rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem;
}
.align-center {
  align-items: center;
}
main .contents :is(h1, h2, p, small),
.cta .contents :is(h1, h2, p, small) {
  color: rgb(255, 255, 255);
}
.contents h1 {
  font-size: 4rem;
  font-weight: 600;
  line-height: 1.2;
}
main .contents p,
.cta .contents p {
  font-size: 2rem;
  margin-top: 1rem;
  color: var(--gray);
}
main form,
.cta form {
  background: #ffffff17;
  padding: 2rem;
  border-radius: 1rem;
  margin-top: 5rem;
}
input {
  background: none;
  padding: 2rem 2rem 1rem;
  width: 100%;
}

.fild {
  background: white;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  position: relative;
}

.fild label {
  color: gray;
  font-size: 1.6rem;
  left: 2rem;
  line-height: 1;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  transition: 0.3s;
  -webkit-user-select: none;
  user-select: none;
  font-weight: 500;
  pointer-events: none;
}
.fild label span {
  color: var(--primary);
  pointer-events: none;
}
.fild input:-webkit-autofill ~ label,
.fild input:focus ~ label,
.fild input:not(:placeholder-shown) ~ label {
  color: var(--secoundary);
  font-size: 1.3rem;
  top: 1rem;
  pointer-events: none;
}
.row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
main form button,
.cta form button {
  width: 100%;
}
main .contents form p,
.cta .contents form p {
  font-size: 1.2rem;
  color: white;
  text-align: center;
}
section .contents h2 {
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
section .contents small {
  color: var(--secoundary1);
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  text-transform: uppercase;
}
.process {
  margin-top: 5rem;
  position: relative;
  display: grid;
  gap: 3rem;
}
.process .card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
}
.process .card .num {
  width: 6rem;
  aspect-ratio: 1/1;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border-radius: 50%;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 1.5rem;
}
.process .card h3 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.stick {
  position: sticky;
  top: 10rem;
}
section.bg {
  background: var(--secoundary);
}
section.bg * {
  color: white;
}
.card .ico {
  width: 5rem;
  aspect-ratio: 1/1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--b);
  margin-bottom: 1rem;
}
.card .ico img {
  width: 3rem;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.cards .card h3 {
  font-size: 1.8rem;
  font-weight: 500;
  /* color: var(--i); */
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.cards .card p {
  color: var(--gray);
  font-size: 1.4rem;
}
.grid-2.adj {
  grid-template-columns: 1.5fr 1fr;
}
.card-wrap {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: center;
}
.card-wrap .card {
  max-width: 40rem;
  display: grid;
  background: white;
  padding: 3rem;
  border-radius: 2rem;
  transition: 0.3s;
}
.card-wrap .card:hover {
  box-shadow: #959da533 0px 8px 24px;
  z-index: 1;
}
.card-wrap .card h3 {
  font-size: 2.3rem;
  font-weight: 500;
  margin-top: 1.5rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.card-wrap .card img {
  width: 10rem;
  position: relative;
}

.bg-img {
  background: url(images/bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 90rem;
}
.bg-img .container {
  height: 100%;
  display: flex;
  align-items: flex-end;
}
.card-2 {
  background: var(--secoundary);
  padding: 5rem;
}
.card-2 h2 {
  font-size: 3rem;
  line-height: 1.2;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
footer {
  padding: 5rem 0px 3rem;
  background: white;
}
footer .container {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  gap: 3rem;
}
footer .contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.flogo img {
  height: 5rem;
}
footer .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 1;
  border-bottom: var(--border);
  padding-bottom: 2rem;
}
footer .top .flx {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  align-items: center;
}
.security {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.security img {
  height: 3rem;
  filter: grayscale(1);
}
footer .item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.4rem;
  font-weight: 600;
}
footer .item a {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--secoundary);
  transition: all 0.3s ease 0s;
}
footer .item a:hover {
  color: var(--primary);
}
footer .grid-3 h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}
.social {
  align-items: center;
  gap: 1rem;
  display: flex !important;
}
.social i {
  color: var(--secoundary);
  font-size: 2.5rem;
  transition: all 0.3s ease 0s;
}
.social a:hover i {
  color: var(--primary);
}
footer .copy,
footer .copy strong,
.copy a {
  font-size: 1rem;
}
footer .copy {
  margin-top: 1.5rem;
}
.copy a {
  font-weight: 600;
}
footer a {
  width: fit-content;
  transition: all 0.3s ease 0s;
}
footer a:hover {
  color: var(--primary);
}
.f-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-top: 1px solid #00314f15;
  padding-top: 2rem;
}
.f-links .copy {
  font-size: 1.6rem;
  color: var(--secoundary);
}
.f-links .urls {
  display: flex;
  align-items: center;
  gap: 3rem;
}
footer p {
  color: var(--secoundary);
}
.full {
  width: 100% !important;
  padding: 0;
}
.full img {
  width: 100% !important;
}
.title {
  font-size: 3rem;
  color: var(--primary);
  font-weight: 600;
  margin-top: 5rem;
  margin-bottom: 5rem;
  line-height: 1.2;
}
.block {
  margin: 3rem 0;
}
.block h2 {
  font-size: 2rem;
}
.block.contact .item {
  font-size: 1.6rem;
  font-weight: 600;
}
.block a {
  color: var(--primary);
}
.social img {
  height: 2.5rem;
}

@media (max-width: 1024px) {
  html {
    font-size: 45%;
  }
  .container {
    padding: 0 1.5rem;
  }
}
@media (max-width: 660px) {
  html {
    font-size: 60%;
  }
  header .container {
    padding: 0 1.5rem;
    align-items: center;
    height: 100%;
  }
  .menu {
    display: block;
    color: white;
  }
  .sticky .menu {
    color: var(--secoundary) !important;
  }

  header .links {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    height: calc(100vh - 8rem);
    position: fixed;
    top: 8rem;
    background: #00314fdb;
    backdrop-filter: blur(15px);
    width: 100%;
    padding: 5rem 0;
    left: 0px;
    transition: all 0.3s ease 0s;
    transform: translateX(100%);
  }
  .active {
    transform: translateX(0%) !important;
  }
  header .links a {
    color: white;
  }
  header.sticky .links a {
    color: white !important;
  }
  section {
    padding: 5rem 0;
    overflow: hidden;
  }
  header.sticky .menu {
    color: white;
  }
  [class*="grid"],
  .row,
  .cards {
    grid-template-columns: 1fr !important;
  }
  .fix {
    grid-column: 1/2;
    grid-row: 1/2;
  }
  .contents h1 {
    font-size: 2.3rem;
  }
  .row {
    gap: 0;
  }
  main {
    height: 100%;
    padding-top: 13rem;
  }
  section .contents h2 {
    font-size: 2.3rem;
  }
  .f-links {
    flex-direction: column;
    gap: 3rem;
  }
  main .contents p,
  .cta .contents p {
    font-size: 1.6rem;
  }
  main,
  .cta {
    text-align: center;
  }
  .card-2 {
    padding: 2rem;
  }
  .card-2 h2 {
    font-size: 2rem;
  }
}
div.language-selector {
  display: flex;
  align-items: center;
  padding-inline-start: 10px;
  gap: 10px;
}
.language-selector button {
  background-color: transparent;
  border: 1px solid #000;
  padding: 5px 10px;
  cursor: pointer;
}
.language-selector button {
  width: 30px; /* Adjust the size as needed */
  height: 30px;
  border-radius: 50%; /* This makes the buttons round */
  border: 0px solid #000; /* Optional: Adds a border */
  background-color: #f0f0f0; /* Optional: Background color */
  cursor: pointer;
}

#english-button {
  background-image: url('images/usa.png'); /* Optional: Add an image or icon */
  background-size: cover;
}

#german-button {
  background-image: url('images/germany.png'); /* Optional: Add an image or icon */
  background-size: cover;
}
.tooltip-text {
  visibility: hidden;
  font-family: serif;
  opacity: 0;
  position: absolute;
  background-color: #000;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 5px;
  width: 180px; /* Adjust width to fit text */
  top: 70px; /* Position under the button */
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.3s;
  font-size: 15px; /* Adjust font size if needed */
}

#english-button:hover + #english-tooltip,
#german-button:hover + #german-tooltip {
  visibility: visible;
  opacity: 1;
}
.sellerspace {
  align-items: center;
  height: 50px;
  width: 200px;
  padding-left: 10px;
}
.logo {
  align-items: center;
  display: flex;
  gap: 10px;

}
.sellerspace {
  display: flex;
}
.sellerspace img {
  height: 40px;
  width: 130px;
  background-color: transparent;
}
.button-shadow {
  box-shadow: 0 4px 8px rgba(230, 227, 227, 0.3);
}
.language-content {
  display: none;
}

.language-content.active {
  display: block;
}



.contact-form-container {
  display: none; /* Hidden by default */
  position: fixed;
  top: 80px; /* Position the floating window below the contact button */
  right: 48px; /* Align the floating window to the right side */
  width: 371px;
  padding: 20px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  background-color: rgba(255, 255, 255); /* White background with 75% opacity */
  z-index: 1000;
}
/* Mobile specific styling */
@media screen and (max-width: 767px) {
  .contact-form-container {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%; /* Adjust width for mobile view */
    height: auto; /* Adjust height automatically */
    padding: 15px;
  }
}
.contact-form-container h1 {
  color: var(--primary);

}

/* Close button */
.closeBtn {
  position: absolute;
  top: 0px;
  right: 2px;
  padding: 5px 10px;
  font-size: 14px;
  font-weight: bold;
  color: white;
  background-color: #f44336; /* Red background for close button */
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.closeBtn:hover {
  background-color: #6d1818; /* Slightly darker red */
}

.closeBtn:active {
  background-color: #b71c1c; /* Even darker red when pressed */
  transform: scale(0.9); /* Slightly scale down on click */
}

/* Form styling */
.contact-form {
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  gap: 15px; /* Space between form elements */
}

.contact-form input, .contact-form textarea {
  padding: 10px;
  font-size: 14px;
  border: 1.2px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"] {
  width: 100%;
  
}

.contact-form textarea {
  width: 100%;
  height: 80px; /* Adjust height */
  /* resize: vertical; Allow vertical resizing */
}
.g-recaptcha {
  display: flex;
  
  
  justify-content: center;
  align-items: center;
  
  
  margin: 5px 0; /* Space around reCAPTCHA */
}

.submitBtn {
  padding: 10px 15px;
  font-size: 14px;
  font-weight: bold;
  color: white;
  background-color: #4CAF50; /* Green background for submit button */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.submitBtn:hover {
  background-color: var(--primary); /* Slightly darker green */
}

.submitBtn:active {
  background-color: var(--primary); /* Even darker green when pressed */
  transform: scale(0.95); /* Slightly scale down on click */
}


.success-prompt-container {
  display: flex;
  background: rgba(255, 255, 255, 0.836);
  padding: 50px;
  width: 280px; /* 30% smaller width than the form */
  height: 300px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 8px;
  color: white;
  z-index: 1001; /* Higher z-index to appear on top */
  text-align: center;
  font-size: 16px;
}



.submitBtn {
  background: var(--primary);
  color: white;
  padding: 10px;
  border: none;
  cursor: pointer;
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 0 6px rgb(180, 30, 30);
  transition: box-shadow 0.3s ease-in-out;
}
.submitBtn:hover{
  background-color: var(--secoundary);
  box-shadow: 0 0 15px rgb(73, 114, 175);
  transition: box-shadow 0.3s ease-in-out;
}
.captcha {
  width: 100%;
  justify-content: center;
  display: flex;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Style for the submit button */
.btn-submit {
  background-color: var(--primary); /* Green background */
  color: white; /* White text */
  height: 64px;
  width: 100%;
  
  border: none; /* Remove borders */
  border-radius: 4px; /* Rounded corners */
  cursor: pointer; /* Pointer/hand icon on hover */
  font-size: 16px; /* Font size */
  transition: background-color 0.3s ease; /* Smooth transition for background color */
}

/* Style the button when hovered */
.btn-submit:hover {
  background-color:var(--secoundary); 
}



/* Floating Tab */
.success-tab {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 15px 25px;
  background-color: #4CAF50; /* Green background */
  color: white;
  border-radius: 5px;
  font-size: 16px;
  z-index: 1001;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
}

.success-tab.show {
  display: block; /* Show the tab */
}


/* Thank You */
.thank-you-message {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%); /* Center it horizontally and vertically */
  background-color: #fff;
  padding: 20px;
  border: 2px solid #ddd;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  z-index: 1000; /* Ensure it appears above other content */
  opacity: 75%;
}
.thank-you-message h1{
  font-size: 24px;
  color: #00314f;
}
.thank-you-message p{
  font-size: 18px;
  color: #00314f;
}


/* Styles for the loading spinner */
.loading-spinner {
  display: none; /* Hide the spinner initially */
  border: 8px solid #f3f3f3; /* Light grey background */
  border-top: 8px solid #3498db; /* Blue color */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 20px auto; /* Center the spinner */
}

/* Keyframes for the spinning animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Return Page */

.thankyou {
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  background-color: #f9f9f9;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background-color: #f9f9f9;
}
.thankyou h1 {
  font-size: 3em; /* Adjust the size as needed */
  margin: 10px 0; /* Add some margin for spacing */
  color: #333; /* Optional: Adjust the text color */
}


.thankyou img {
  width: 120px;
  height: 120px;
  margin-top: 100px;
  margin-bottom: 10px; /* Add some space below the image */
}

.gohome {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 20px;
  background-color: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  cursor: pointer;
}

.gohome:hover {
  background-color: var(--secoundary);
}
.gmain{
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Ensure full-width container for form */
.custom-form {
  width: 100%;
  box-sizing: border-box;
  
  margin: 0 auto; /* Center the form horizontally */
}

/* Flex container for First Name and Email fields */
.field-wrapper {
  display: flex;
  gap: 15px; /* Space between fields */
  margin-bottom: 10px;
}

/* Styling for individual fields */
.field {
  flex: 1; /* Flex-grow to take equal space */
  position: relative;
}

/* Input field styling */
.field input[type="text"],
.field input[type="email"] {
  background-color: white;
  color:var(--primary);
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 4px;
  width: 100%;
  height: 55.2px;
  font-size: 16px;
  box-sizing: border-box;
}

/* Label styling for floating placeholders */
.field label {
  position: absolute;
  top: 0;
  left: 15px;
  height: 100%;
  display: flex;
  align-items: center;
  pointer-events: none;
  transition: all 0.3s ease;
}

.field .placeholder-text {
  font-size: 16px;
  color: var(--primary);
  transition: all 0.3s ease;
  transform-origin: left center;
}

/* Style when input is focused or has a value */
.field input:focus + label .placeholder-text,
.field input:not(:placeholder-shown) + label .placeholder-text {
  transform: translateY(-70%) scale(0.75);
  color: var(--primary);
}

/* Container for reCAPTCHA and Submit button */
.submit-recaptcha-wrapper {
  display: flex;
  justify-content: center; /* Align items to the right */
  align-items: center;
  gap: 10px; /* Space between reCAPTCHA and button */
  width: 100%;
  box-sizing: border-box;
}

/* Initially hide reCAPTCHA */
#recaptcha-container {
  display: none;
  width: 50%;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* Submit button styling */
.btn-submit {
  width: 100%;
  
  height: 65px;
  padding-top: 10px;
  border-radius: 4px;
  font-size: 18px;
  box-sizing: border-box;
  transition: width 0.3s ease;
}

/* Show reCAPTCHA and adjust button width when inputs are filled */
.custom-form.recaptcha-visible #recaptcha-container {
  display: block;
}

.custom-form.recaptcha-visible .btn-submit {
  width: 50%;
}

/* Adjust reCAPTCHA size to fit the container */
.custom-form.g-recaptcha {
  
  align-items: center;
  justify-content: center;
  width: 100%;
  
}

/* Ensure consistent padding */
.field input[type="text"],
.field input[type="email"],
.submit-recaptcha-wrapper .btn-submit,
#recaptcha-container .g-recaptcha {
  padding: 10px;
  box-sizing: border-box;
}

/* Add margin for the info text */
.custom-form p {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}
  
.custom-form .field label span {
  color: var(--primary); 
}



/* Container for the reCAPTCHA */
.recaptcha-container {
  display: flex;
  justify-content: center; /* Center the reCAPTCHA horizontally */
  align-items: center; /* Center the reCAPTCHA vertically */
  width: 100%; /* Ensure the container takes the full width */
  margin: 20px 0; /* Add some spacing around the reCAPTCHA */
}

/* Ensuring the reCAPTCHA scales on smaller screens */
.g-recaptcha {
  transform: scale(0.85); /* Scale down the reCAPTCHA to 90% */
  transform-origin: center; /* Ensure scaling starts from the center */
}

/* Fine-tune the scaling on smaller devices */
@media (max-width: 768px) {
  .g-recaptcha {
      transform: scale(0.85); /* Further scale down on smaller tablets */
  }
}

@media (max-width: 480px) {
  .g-recaptcha {
      transform: scale(0.80); /* Scale down even more on mobile phones */
  }
}


/* testing */

/* CSS for button animation */
.custom-form .btn-submit {
  transition: transform 0.3s ease, background-color 0.3s ease; /* Smooth transition */
}

.custom-form.recaptcha-visible .btn-submit {
  transform: scale(1); /* Shrinks the button to 90% of its original size */
  background-color: var(--primary); /* Optional: Change button color during animation */
}


/* CustomForm Two */


/* Ensure full-width container for form */
.custom-form-two {
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto; /* Center the form horizontally */
}

/* Flex container for First Name and Email fields */
.custom-form-two.field-wrapper {
  display: flex;
  gap: 15px; /* Space between fields */
  margin-bottom: 10px;
}

/* Styling for individual fields */
.custom-form-two.field {
  flex: 1; /* Flex-grow to take equal space */
  position: relative;
}

/* Input field styling */
.custom-form-two.field input[type="text"],
.custom-form-two.field input[type="email"] {
  background-color: white;
  color:var(--primary);
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 4px;
  width: 100%;
  height: 55.2px;
  font-size: 16px;
  box-sizing: border-box;
}

/* Label styling for floating placeholders */
.custom-form-two.field label {
  position: absolute;
  top: 0;
  left: 15px;
  height: 100%;
  display: flex;
  align-items: center;
  pointer-events: none;
  transition: all 0.3s ease;
}

.custom-form-two.field .placeholder-text {
  font-size: 16px;
  color: var(--primary);
  transition: all 0.3s ease;
  transform-origin: left center;
}

/* Style when input is focused or has a value */
.custom-form-two.field input:focus + label .placeholder-text,
.custom-form-two.field input:not(:placeholder-shown) + label .placeholder-text {
  transform: translateY(-70%) scale(0.75);
  color: var(--primary);
}

/* Container for reCAPTCHA and Submit button */
.custom-form-two.submit-recaptcha-wrapper {
  display: flex;
  justify-content: center; /* Align items to the right */
  align-items: center;
  gap: 10px; /* Space between reCAPTCHA and button */
  width: 100%;
  box-sizing: border-box;
}

/* Initially hide reCAPTCHA */
.custom-form-two#recaptcha-container {
  display: none;
  width: 50%;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* Submit button styling */
.custom-form-two.btn-submit {
  width: 100%;
  
  height: 65px;
  padding-top: 10px;
  border-radius: 4px;
  font-size: 18px;
  box-sizing: border-box;
  transition: width 0.3s ease;
}

/* Show reCAPTCHA and adjust button width when inputs are filled */
.custom-form-two.recaptcha-visible #recaptcha-container {
  display: block;
}

.custom-form-two.recaptcha-visible .btn-submit {
  width: 50%;
}

/* Adjust reCAPTCHA size to fit the container */
.custom-form-two.g-recaptcha {
  
  align-items: center;
  justify-content: center;
  width: 100%;
  
}


/* Ensure consistent padding */
.custom-form-two.field input[type="text"],
.custom-form-two.field input[type="email"],
.submit-recaptcha-wrapper .btn-submit,
#recaptcha-container .g-recaptcha {
  padding: 10px;
  box-sizing: border-box;
}

/* Add margin for the info text */
.custom-form-two p {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}
  
.custom-form-two .field label span {
  color: var(--primary); 
}



/* Container for the reCAPTCHA */
.custom-form-two.recaptcha-container {
  display: flex;
  justify-content: center; /* Center the reCAPTCHA horizontally */
  align-items: center; /* Center the reCAPTCHA vertically */
  width: 100%; /* Ensure the container takes the full width */
  margin: 20px 0; /* Add some spacing around the reCAPTCHA */
}

/* Ensuring the reCAPTCHA scales on smaller screens */
.g-recaptcha {
  transform: scale(0.85); /* Scale down the reCAPTCHA to 90% */
  transform-origin: center; /* Ensure scaling starts from the center */
}

/* Fine-tune the scaling on smaller devices */
@media (max-width: 768px) {
  .g-recaptcha {
      transform: scale(0.85); /* Further scale down on smaller tablets */
  }
}

@media (max-width: 480px) {
  .g-recaptcha {
      transform: scale(0.80); /* Scale down even more on mobile phones */
  }
}


/* testing */

/* CSS for button animation */
.custom-form-two .btn-submit {
  transition: transform 0.3s ease, background-color 0.3s ease; /* Smooth transition */
}

.custom-form-two .recaptcha-visible .btn-submit {
  transform: scale(1); /* Shrinks the button to 90% of its original size */
  background-color: var(--primary); /* Optional: Change button color during animation */
}





/* Responsive styles */
@media (max-width: 768px) {
  .field-wrapper {
      flex-direction: column;
      gap: 10px;
  }

  .field {
      min-width: 100%;
  }

  .submit-recaptcha-wrapper {
      flex-direction: column;
      align-items: center;
  }

  .btn-submit {
      margin-left: 0;
      margin-top: 15px;
      width: 100%;
  }
}

@media (max-width: 480px) {
  .custom-form, .custom-form-two {
      padding: 15px;
  }

  .btn-submit {
      padding: 12px;
      width: 100%;
  }

  p {
      font-size: 12px;
  }
}





