/* General Styles */
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 16px;
}

/* Top Bar */
.top-bar {
  background-color: #fff;
  color: #0066cc;
  text-align: right;
  /*    padding: 5px 20px;*/
  /*    padding-left: 20px ;*/
  font-size: 22px;
}

.top-bar p {
  margin-right: 40px;
}

/* Header */
header {
  background-color: white;
  padding: 10px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.container {
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: -20px;
  /*padding: 20px;
    max-width: 1200px;
*/
}

.logo img {
  margin-top: -40px;
  margin-left: 20px;
  max-width: 320px;
}

/* Navigation menu styling */
nav ul {
  list-style-type: none;
  display: flex;
  /*gap: 10px;*/
  align-items: center;
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: black;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 15px;
}

nav ul li a:hover,
nav ul li a.active {
  color: #0072b1;
  border-radius: 4px;
}

.dropdown {
  /* position: relative;
    display: inline-block;*/
  /* margin-right: 30px; */
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content li a {
  color: #003a4f;
  padding: 10px 15px;
  display: block;
  text-align: left;
}

/*.dropdown-content li a:hover {
    background-color: #f1f1f1;
}*/

.dropdown:hover .dropdown-content {
  display: block;
}

/* Font Awesome Hamburger styling */
.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger i {
  font-size: 28px;
  color: black;
}

/* Consultation Banner */
.consultation-banner {
  background-color: #002d42;
  color: white;
  padding: 20px;
  text-align: center;
}

.consultation-banner p {
  font-size: 30px;
  display: inline;
}

.btn-appointment {
  background-color: #0072b1;
  color: white;
  padding: 15px 20px;
  text-decoration: none;
  margin-left: 20px;
  font-size: 18px;
  display: inline;
}

.btn-appointment:hover {
  background-color: #005b89;
}

/* Main Banner Section */
#main-banner {
  width: 100%;
  height: 400px;
  background-color: #e5e5e5;
  position: relative;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contact Section */
#contact-section {
  display: flex;
  justify-content: space-around;
  padding: 40px;
  background-color: #002b3d;
  color: white;
}

.contact-form {
  width: 45%;
  padding: 70px;
}

.contact-form h2 {
  font-size: 40px;
  margin-bottom: 10px;
}

.contact-form p {
  font-size: 25px;
  /*margin-bottom: 40px;*/
}

.contact-form button {
  background-color: #0072b1;
  color: white;
  padding: 10px 20px;
  margin-top: 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  /* width: 20%; */
}

.contact-form button:hover {
  background-color: #005b89;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.contact-form textarea {
  resize: none;
}

.btn-primary {
  background-color: #0072b1;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #005b89;
}

/* Chat Container */
.chat-container {
  width: 60%;
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.chat-header {
  background-color: #0072b1;
  color: white;
  padding: 10px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  text-align: center;
}

.chat-body {
  padding: 20px;
  color: black;
}

.chat-body p {
  margin: 0;
}

.chat-body small {
  display: block;
  margin-top: 5px;
  color: gray;
}

.chat-input {
  display: flex;
  padding: 10px;
  background-color: #f0f0f0;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.chat-input input {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.chat-input button {
  background-color: #0072b1;
  color: white;
  border: none;
  padding: 10px;
  margin-left: 10px;
  border-radius: 5px;
  cursor: pointer;
}

.chat-input button:hover {
  background-color: #005b89;
}

/* Overview Section */
.e2-visa-overview-container {
  /*width: 100%;
    margin: 0 auto;*/
  padding: 20px;
  /*    max-width: 1200px;*/
}

#e2-visa-overview {
  background-color: #f8f9fa;
  /* padding: 40px 0; */
  text-align: center;
}

#e2-visa-overview h2 {
  font-size: 40px;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

#e2-visa-overview h2::after {
  content: "";
  position: absolute;
  left: 50%; /* Start the underline from the center */
  bottom: -20px; /* Adjust this value to control the spacing between text and line */
  transform: translateX(-50%); /* Center the underline horizontally */
  width: 100px; /* Custom underline width */
  height: 2px; /* Thickness of the underline */
  background-color: #0072b1; /* Underline color */
  transition: width 0.3s ease; /* Add a transition for hover effects */
}

#e2-visa-overview p {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
}

#e2-visa-overview a {
  color: #0072b1;
  text-decoration: none;
}

#e2-visa-overview a:hover {
  text-decoration: underline;
}

/* Info Sections */
.info-sections {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.info-box-1,
.info-box-2 {
  width: 50%;
  float: left;
  text-align: left;
}

.info-box-1 {
  margin-right: 20px;
}

.info-box-1 h3,
.info-box-2 h3 {
  font-size: 24px;
  margin-bottom: 10px;
  text-align: center;
}

.info-box-1 p,
.info-box-2 p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #444;
}

/* Nations Section */
/*.nations-section {
    margin-top: 40px;
}

.nations-section h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.nations-section p {
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
    color: #333;*/
/* max-width: 900px;
    margin: 0 auto;*/
/*color: #333;
}*/

/* Insights Header Section */
#insights-header {
  background-color: #002b3d;
  padding: 20px 0;
  text-align: center;
}

#insights-header h2 {
  color: white;
  font-size: 26px;
  font-weight: bold;
  margin: 0;
  padding: 10px;
}

/* Insights Section */
#e2-visa-insights {
  background-color: #f9f9f9;
  padding: 40px 0;
  margin-top: -60px;
}

.insight-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.text-section {
  width: 50%;
  margin-left: 10px;
}

/*.text-section h2 {
    font-size: 28px;
    color: #003a4f;
    margin-bottom: 20px;
}*/

.text-section p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

.text-section a {
  color: #0072b1;
  text-decoration: none;
}

.text-section a:hover {
  text-decoration: underline;
}

.btn-benefit {
  display: inline-block;
  background-color: #0072b1;
  color: white !important;
  padding: 12px 20px;
  /*    border-radius: 5px;*/
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
  border: 2px solid white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  width: 25%;
  text-align: center;
}

/*.btn-benefit:hover {
    background-color: #005b89;
}*/

.image-section {
  width: 48%;
  margin-right: 10px;
}

.image-section img {
  margin-top: 20px;
  width: 100%;
  height: auto;
  /*    border-radius: 5px;*/
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Contact Form Section */
#contact-map-section {
  background-color: #003a4f;
}

.contact-map-section-container {
  /*width: 90%;
    margin: 0 auto;
    padding: 20px;*/
  display: flex;
  /*justify-content: space-between;
    max-width: 1200px;*/
}

.map-contact-form {
  width: 48%;
  background-color: #003a4f;
  margin: 20px;
  padding: 0 60px 30px 60px;
  border: 4px solid white;
  color: white;
}

.map-contact-form h3 {
  font-size: 28px;
  color: white;
  margin-bottom: 40px;
  text-align: center;
}

.map-contact-form form {
  display: flex;
  flex-direction: column;
}

.map-contact-form label {
  margin-bottom: 5px;
  font-weight: bold;
}

.map-contact-form input,
.map-contact-form textarea {
  width: 95%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.map-contact-form button {
  background-color: #0072b1;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  width: 20%;
}

.map-contact-form button:hover {
  background-color: #005b89;
}

/* Map Section */
.map-section {
  width: 48%;
  background-color: #003a4f;
  padding: 20px;
  border-radius: 5px;
  color: white;
  text-align: center;
}

.map-section h3 {
  font-size: 30px;
  margin-bottom: 10px;
}

.map-section p {
  margin-bottom: 20px;
  font-size: 18px;
}

/* Social Icons */
.social-icons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icons a {
  background-color: #0072b1;
  color: white;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 20px;
  /*    margin-right: 5px; */
  transition: background-color 0.3s;
  text-decoration: none;
}

/*.social-icons a:hover {
    color: #0072b1; 
}
*/
/* Footer Section */
#footer-section {
  background-color: white;
  padding: 10px 0;
  border-top: 1px solid #ddd;
  font-size: 14px;
}

.footer-section-container {
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left img {
  max-width: 150px;
  height: auto;
}

.footer-right {
  text-align: center;
}

.footer-right p {
  margin: 0;
  color: black;
}

.footer-right a {
  color: #0072b1;
  text-decoration: none;
  display: inline;
  padding: 0px;
}

.footer-right a:hover {
  text-decoration: underline;
}

/*--------------------------Terms Page------------------------*/
/* General styling for the section */
#terms-section {
  background-image: url("../images/attorneys-or-lawyers.jpg"); /* Replace with your actual image URL */
  background-size: cover; /* Ensures the image covers the entire section */
  background-position: center center; /* Centers the image */
  height: 300px; /* Adjust the height as needed */
  position: relative; /* For the overlay positioning */
}

/* Overlay for the text */
.terms-overlay {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
}

#terms-section h1 {
  color: white;
  font-size: 30px;
  font-weight: bold;
  text-transform: uppercase;
  margin-left: -80px;
}

/* General container styling */
.terms-and-conditions-container {
  display: flex;
  justify-content: space-between;
  /*    width: 90%;*/
  margin: 0 auto;
  padding: 20px;
}

/* Left column */
.left-column {
  width: 60%;
  padding-right: 20px;
  padding-left: 30px;
}

.left-column h2 {
  font-size: 34px;
  margin-bottom: 20px;
}

.left-column p,
h3 {
  font-size: 16px;
  margin-bottom: 20px;
}

.left-column p {
  line-height: 1.8;
}

/* Right column with contact form */
.right-column {
  width: 40%;
  padding-top: 30px;
}

.terms-contact-form {
  background-color: #002d42;
  padding: 20px 40px;
  color: white;
  border: 4px solid white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

.terms-contact-form h3 {
  font-size: 25px;
  margin-bottom: 30px;
  text-align: center;
  padding: 0;
}

.terms-contact-form p {
  margin-bottom: 20px;
}

.terms-contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.terms-contact-form input,
.terms-contact-form textarea {
  width: 95%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.terms-contact-form button {
  background-color: #0072b1;
  color: white;
  padding: 10px 20px;
  margin-top: 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.terms-contact-form button:hover {
  background-color: #005b89;
}

/* Table styling */
.styled-table {
  width: 100%;
  border-collapse: collapse; /* Ensures borders do not have gaps */
  margin: 20px 0;
  font-size: 16px;
  text-align: left;
  border: 1px solid #dddddd; /* Border around the entire table */
}

/* Styling table cells */
.styled-table td {
  border: 1px solid #dddddd;
  padding: 15px 15px; /* Padding inside cells */
  line-height: 1.5;
}

/* Alternating row background colors */
.styled-table tr:nth-child(odd) {
  background-color: #f1f1f1; /* Light background for even rows */
}

/* Additional hover effect (optional) */
.styled-table tr:hover {
  background-color: #f1f1f1; /* Slightly darker background on hover */
}

/* Table numbers aligned to the center */
.styled-table td:first-child {
  text-align: center;
  width: 40px; /* Adjust width for the numbered column */
}

/*-------------------------- Contact Page------------------------*/
#contact-background-section {
  background-image: url("../images/businessmen.jpg"); /* Replace with your actual image URL */
  background-size: cover; /*Ensures the image covers the entire section */
  background-position: center center; /* Centers the image */
  height: 300px; /* Adjust the height as needed */
  position: relative; /* For the overlay positioning */
}

/* Overlay for the text */
.contact-background-overlay {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
}

#contact-background-section h1 {
  color: white;
  font-size: 30px;
  font-weight: bold;
  text-transform: uppercase;
  margin-left: -80px;
}

#contact-page-contact-section {
  background-color: white;
  padding-bottom: 30px;
}

#contact-page-contact-section .contact-section-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  /*    width: 90%;*/
  /*    max-width: 1200px;*/
  width: 100%;
  margin: 0 auto;
  /*    padding: 20px 0;*/
}

/* Left column for contact details */
.contact-details {
  width: 50%;
  color: black;
  padding-left: 40px;
}

.contact-details h2 {
  font-size: 35px;
  font-weight: bold;
  margin-bottom: 20px;
}

.contact-details h3 {
  font-size: 25px;
  margin-bottom: 10px;
}

.contact-details span {
  font-weight: bold;
}

.contact-details p {
  font-size: 17px;
  margin-bottom: 40px;
  margin-top: 20px;
  line-height: 1.8;
}

.contact-details hr {
  border: 0;
  border-top: 1px solid #ddd;
  margin: 20px 0;
  width: 40%;
}

/* Right column for the contact form */
.contact-page-contact-form {
  width: 50%;
  background-color: #003a4f;
  padding: 10px 30px;
  color: white;
  border: 4px solid white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
  margin-top: 25px;
  margin-left: 10px;
  margin-right: 40px;
}

.contact-page-contact-form h3 {
  font-size: 25px;
  margin-bottom: 40px;
  text-align: center;
}

.contact-page-contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.contact-page-contact-form input,
.contact-page-contact-form textarea {
  width: 95%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.contact-page-contact-form button {
  background-color: #0072b1;
  color: white;
  padding: 10px 20px;
  margin-top: 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.contact-page-contact-form button:hover {
  background-color: #005b89;
}

.required-field {
  color: red;
}

.consult {
  padding: 15px 20px;
}

/*--------------------------Responsiveness------------------------*/

/* Media Query for screens with width up to 768px (Tablets and smaller devices) */
@media (max-width: 768px) {
  /* Stacking the columns vertically on small screens */
  .container,
  .contact-map-section-container,
  .insight-content,
  .contact-map-section,
  .terms-and-conditions-container,
  .contact-section-container {
    flex-direction: column;
  }

  /* Contact Form and Map Sections: Full width on small screens */
  .contact-form,
  .map-section {
    width: 100%;
    margin-bottom: 20px; /* Adds spacing between sections when stacked */
  }

  /* Align the footer content centrally on mobile */
  footer .footer-section-container {
    flex-direction: column;
    text-align: center; /* Center align footer on small screens */
  }

  .footer-right {
    text-align: center; /* Center align text on smaller screens */
    margin-top: 20px;
  }

  /* Adjust the size of social icons on smaller screens */
  .social-icons a {
    width: 35px;
    height: 35px;
    font-size: 18px;
    margin-right: 10px;
  }

  .social-icons {
    justify-content: center;
  }

  .text-section,
  .image-section {
    width: 100%; /* Make sections full width on small screens */
  }

  .left-column,
  .right-column {
    width: 100%;
    margin-bottom: 20px;
  }

  .contact-details,
  .contact-page-contact-form {
    width: 100%;
  }

  .contact-page-contact-form {
    margin-top: 20px;
  }

  nav {
    
    width: 100%;
  }

  nav ul {
    display: none; /* Initially hidden on mobile */
    flex-direction: column;
    background-color: #003a4f;
    width: 100%;
    position: relative;
    top: 80px; /* Adjust based on your header height */
    left: 0;
    z-index: 999;
  }

  nav ul.show {
    /* When "show" class is added, display the menu */
    display: flex;
  }

  nav ul li {
    text-align: center;
    /* padding: 10px 0;*/
    width: 100%;
  }

  nav ul li a {
    /*padding: 10px 0;*/
    text-align: center;
    display: block;
    width: 100%;
  }

  #nav-menu {
    position: relative;
  }

  .hamburger {
    display: grid; /* Show hamburger menu in mobile view */
    position: relative;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
  }

  .top-bar p {
    font-size: 18px;
    text-align: center;
    margin-right: 0;
  }

  .logo img {
    margin-top: 0;
    margin-left: 30px;
    justify-content: center;
    max-width: 220px;
  }

  .map-contact-form {
    width: 70%;
  }

  .map-contact-form button {
    width: 30%;
  }

  .map-section iframe {
    width: 90%;
  }

  .insight-content {
    padding: 0 30px 0 10px;
    text-align: justify;
  }

  .map-section {
    width: 90%;
  }

  #terms-section {
    height: 250px;
  }

  #terms-section h1 {
    margin-left: 0px;
    color: black;
  }

  .left-column {
    padding-right: 0px;
    padding-left: 0px;
    text-align: justify;
  }

  .left-column h2 {
    font-size: 30px;
    text-align: center;
  }

  #contact-background-section {
    height: 250px;
  }

  #contact-background-section h1 {
    margin-left: 0px;
  }

  .contact-details h2 {
    text-align: center;
    font-size: 30px;
    padding: 0 5px;
  }

  .contact-details h3,
  .contact-details p {
    padding-left: 30px;
  }

  .contact-details hr {
    margin-left: 30px;
  }

  .contact-details {
    /*width: 50%;
        color: black;*/
    padding-left: 0px;
  }

  .btn-appointment {
    display: block;
  }

  /*.contact-details iframe{
        padding-right: 80px;
    }*/

  .contact-page-contact-form {
    width: 80%;
    /*background-color: #003a4f;
        padding: 10px 30px;
        color: white;
        border: 4px solid white;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6); 
        margin-top: 25px;
        margin-left: 10px;
        margin-right: 40px;*/
  }
}

.search-container {
  /* position: relative; */
  /* display: block; */
  width: 300px;
}

#search-input {
  width: 100%;
  padding: 10px;
  margin: 7px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px 0 0 5px;
  outline: none;
}

.search-btn {
  padding: 10px 20px;
  margin: 7px;
  font-size: 16px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}

.search-btn:hover {
  background-color: #0056b3;
}

#results {
  margin-top: 20px;
  width: 300px;
}

#results div {
  background-color: #fff;
  padding: 10px;
  margin-bottom: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.result {
  background-color: #0056b3;
  color: #0056b3;
}
/* Media Query for very small devices (up to 480px wide) */
/*@media (max-width: 480px) {*/
/* Make the text smaller for very small screens */
/* h2, h3 {
        font-size: 20px;
    }*/

/* Resize the buttons for small screens */
/*.btn-primary, .btn-benefit {
        font-size: 14px;
        padding: 8px 16px;
    }*/

/* Social media icons get even smaller */
/* .social-icons a {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
*/
/* Resize the form fields slightly for better readability */
/*.contact-form input, .contact-form textarea {
        font-size: 14px;
    }*/

/*}*/

/* General styles for the dropdown menu */
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  position: relative;
}

a {
  text-decoration: none;
  display: block;
  padding: 10px 15px;
  color: #333; /* Dark text for light background */
  background: #f9f9f9; /* Light background */
}

a:hover {
  background: #eaeaea; /* Slightly darker background on hover */
}

/* Sub-menus: Hidden by default */
.sub-menu {
  display: none;
  position: absolute;
  top: 100%; /* Dropdown appears below the parent */
  left: 0; /* Align with parent horizontally */
  background: #ffffff; /* White background for submenus */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); /* Subtle shadow for separation */
  z-index: 1000;
  min-width: 200px;
}

/* Show sub-menu when parent is hovered or active */
li:hover > .sub-menu,
li.active > .sub-menu {
  display: block;
}

/* Nested sub-menu positioning */
.sub-menu .sub-menu {
  left: 100%; /* Nested submenus appear to the right */
  top: 0; /* Align nested submenus vertically with parent */
}

/* Align inner toggle to the right */
.hfe-menu-toggle {
  cursor: pointer;
  float: right; /* Align the toggle icon to the right */
}

.hfe-menu-toggle i {
  margin-left: 5px;
  color: #333; /* Dark color for toggle icons */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  ul {
    position: static;
  }

  li {
    position: static;
  }

  a {
    /* padding: 10px; */
  }

  /* Sub-menus: Stack vertically for mobile */
  .sub-menu {
    position: static;
    display: none;
    width: 100%; /* Full width in mobile view */
    box-shadow: none;
  }

  /* Show sub-menu when parent is active */
  li.active > .sub-menu {
    display: block;
  }

  .hfe-menu-toggle {
    float: none;
    position: absolute;
    right: 10px; /* Right-align toggle for mobile */
    top: 50%;
    transform: translateY(-50%);
  }
}

.textt {
  display: contents;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
  display: none;
  background: #f9f9f9; /* Light background for toggle */
  color: #333; /* Dark text for toggle */
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .menu {
    display: none;
    background: #f9f9f9;
  }

  .menu.active {
    display: block;
  }
}


/* Center the submitting indicator on the form */
#submitting-indicator {
  display: none;
  /* Initially hidden */
  padding: 5px;
  font-size: 18px;
  font-weight: bold;
  color: white;
  text-align: center;
  position: absolute;
  top: 97%;  
  /* Center vertically */
  left: 50%;
  /* Center horizontally */
  transform: translate(-50%, -50%);
  /* Adjust for proper centering */
}

.spinner {
  border: 4px solid #f3f3f3;
  /* Light grey */
  border-top: 4px solid #3498db;
  /* Blue */
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-left: 10px;
}

@keyframes spin {
  0% {
      transform: rotate(0deg);
  }

  100% {
      transform: rotate(360deg);
  }
}

/* Style for success message */
#success-message {
  background-color: white;
  display: none;
  /* Initially hidden */
  font-size: 18px;
  font-weight: bold;
  color: green;
  text-align: center;
  margin-top: 10px;
  width: 50%;
  left: 50%;
}

#success-message2 {
  display: flex;
  justify-content: center;
  justify-items: center;
}

/* Ensure the form has position: relative for the indicator to center */
#custom-lead-form {
  position: relative;
}

#custom-lead-form label {
  color: white;
}
