@font-face {
  font-family: 'SpaceGrotesk';
  font-weight: normal;
  font-style: normal;
  src:
      url(../fonts/Space_Grotesk/SpaceGrotesk-VariableFont_wght.ttf),

}

* {
  box-sizing: border-box;
  max-width: 100%;
}

/* General styles */
body {
  font-family: 'SpaceGrotesk', Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f9f9f9;
  overflow: hidden;
}

/* Header container */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 100px;
  text-align: center;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.header-container .logo {
  display: flex;
  justify-content: center;
  align-items: center;
}


.header-container .logo img {
  width: 150px;
  margin-right: 25px;
  max-height: 200px;
  /* Added margin to the right of the logo */
}

.header-container a {
  font-size: 14px;
  color: #007d88;
  text-decoration: none;
  font-weight: bold;
  /* margin-left: 25px; */
}

.header-container h1 {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

/* Navbar for logo */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 20px 30px;
  z-index: 10;
}

.navbar .logo img {
  width: 150px;
}

/* Background shapes */
.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.background img {
  position: absolute;
}

.background .top-left {
  top: 0;
  left: 0;
  width: 300px;
}

.background .right {
  bottom: 0;
  right: 0;
  width: 50%;
}

/* Login form container */
.container {
  width: 100%;
  max-width: 500px;
  padding: 20px;
  text-align: center;
  z-index: 2;
}

h1 {
  font-size: 32px;
  margin-bottom: 30px;
  font-weight: bold;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

form label {
  font-size: 14px;
  /* font-weight: bold; */
  margin-bottom: 5px;
  align-self: flex-start;
}

input {
  width: calc(100% - 20px);
  padding: 10px;
  /* margin: 10px 0; */
  margin-bottom: 5px;
  border: 1px solid #ccc;
  border-radius: 30px;
  font-size: 18px;
  background-color: transparent;
  color: #000;
}

input:hover {
  background-color: transparent;
  /* Light gray background on hover */
}

input:focus {
  background-color: transparent;
  /* Ensure white background when focused */
  outline: none;
  border-color: #007d88;
  /* Optional: Highlight border on focus */
}

/* Prevent background color change on autocomplete */

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
  /* Force transparent background */
  box-shadow: 0 0 0px 1000px transparent inset !important;
  /* For fallback */
  background-color: transparent !important;
  /* Transparent background */
  color: #000 !important;
  /* Text color for autofilled content */
}

input:-webkit-autofill::first-line {
  color: #000 !important;
  /* Ensure the first line of autofill text is visible */
}

form a {
  font-size: 14px;
  color: #808080;
  text-decoration: none;
  align-self: flex-end;
  margin-bottom: 20px;
}

form a:hover {
  text-decoration: underline;
}

.btn {
  background-color: #007d88;
  color: #fff;
  padding: 15px;
  border: none;
  border-radius: 30px;
  width: 100%;
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
}

.btn:hover {
  background-color: #005b64;
}

.secondary {
  font-size: 14px;
  margin-top: 10px;
}

.secondary a {
  text-decoration: none;
  color: #808080;
  font-weight: bold;
}

.secondary a:hover {
  text-decoration: underline;
}

.social-login {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
  gap: 10px;
}

.social-login .line {
  width: 20%;
  height: 1px;
  background-color: #ccc;
}

.social-login .text {
  font-size: 14px;
  color: #555;
  /* font-weight: bold; */
  text-align: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  gap: 20px;
}

.social-icons img {
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.social-icons img:hover {
  transform: scale(1.1);
}

.mobile-menu-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 20px;
  color: #007d88;
  z-index: 1001;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 50px;
  right: 0;
  background: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 250px;
  border-radius: 10px;
  padding: 15px;
  z-index: 1000;
}

.mobile-menu a,
.mobile-menu form button {
  display: block;
  padding: 12px;
  font-size: 18px;
  color: #007d88;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
}

.mobile-menu form button {
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu a:hover,
.mobile-menu form button:hover {
  background: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar .logo img {
      width: 100px;
  }

  .background .top-left {
      width: 50%;
  }

  .background .right {
      width: 35%;
  }

  h1 {
      font-size: 28px;
  }

  input {
      font-size: 16px;
  }

  .btn {
      font-size: 14px;
      padding: 12px;
  }

  .social-login {
      flex-direction: column;
      gap: 5px;
  }

  .social-login .line {
      display: none;
  }

  .social-login .text {
      margin-bottom: 10px;
  }
}

input,
.password-container {
  width: 100%;

  border-radius: 25px;
  font-size: 14px;
  box-sizing: border-box;
}

.password-container {
  position: relative;
  display: flex;
  align-items: center;
}

.password-container input {
  padding-right: 40px;
}

.password-container .toggle-password {
  position: absolute;
  right: 15px;
  cursor: pointer;
  width: 20px;
  height: 20px;
}

.phone-input-container {
  display: flex;
  gap: 10px;
  align-items: center;
}

.phone-input-container .country-code,
.phone-input-container .phone-number {
  flex: 2;
}

input:focus {
  border-color: #007d88;
  outline: none;
}

.btn {
  background-color: #007d88;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 20px;
  font-size: 16px;
  cursor: pointer;
}

.btn:hover {
  background-color: #005b64;
}

.secondary {
  margin-top: 10px;
  font-size: 14px;
}

.secondary a {
  color: #007d88;
  text-decoration: none;
  font-weight: bold;
}

.secondary a:hover {
  text-decoration: underline;
}


.phone-input-container {
  position: relative;
  width: 100%;
}

.phone-input-container input {
  width: 100%;
  padding: 10px 10px 10px 55px;
  /* Adjust left padding to match country code width */
  border: 1px solid #ccc;
  border-radius: 25px;
  font-size: 14px;
  line-height: 1.5;
}

.phone-input-container .country-code {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  font-size: 14px;
  /* Same as input font size */
  line-height: 1.5;
  /* Match the input line height */
  color: #333;
}

.password-hints {
  font-size: 12px;
  /* Small font size for hints */
  color: #666;
  /* Subtle hint color */
  margin-top: 5px;
  padding: 0;
  line-height: 1.4;
  text-align: left;
  margin-left: -130px;
}

.password-hints span {
  display: block;
  /* Ensure each hint is on a new line */
}


.mobile-menu-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 20px;
  color: #007d88;
  z-index: 1001;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 50px;
  right: 0;
  background: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 250px;
  border-radius: 10px;
  padding: 15px;
  z-index: 1000;
}

.mobile-menu a,
.mobile-menu form button {
  display: block;
  padding: 12px;
  font-size: 18px;
  color: #007d88;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
}

.mobile-menu form button {
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu a:hover,
.mobile-menu form button:hover {
  background: #f0f0f0;
}


/* Seen Icon */
.seen-icon {
  /* background-color: #007d88; */

  /* Add background image */
  background-size: cover;
  /* Ensure the image covers the entire icon */
  background-position: center;
  /* Center the image */
  color: white;
  font-size: 14px;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  height: 60px;
  text-transform: capitalize;
  cursor: pointer;
  position: absolute;
  top: 50px;
  right: 15px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  width: 100%;
}

.pagination a,
.pagination span {
  padding: 8px 16px;
  margin: 0 4px;
  border: 1px solid #ccc;
  border-radius: 5px;
  text-decoration: none;
  color: #007d88;
  background-color: #fff;
}

.pagination a:hover {
  background-color: #007d88;
  color: #fff;
}

.pagination .active {
  background-color: #007d88;
  color: #fff;
  border-color: #007d88;
}

/* Image container */
.image-container {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f9f9f9;
}

.image-container img {
  max-width: 70%;
  height: 70%;
  border-radius: 10px;
  margin-top: 20px;
}

.card-text p strong {
  font-weight: 750;
  font-size: 20px;
  margin-left: 20px;
}

.card-text p {
  font-weight: 750;
  font-size: 20px;
  margin-left: 20px;
}

.hidden {
  display: none;
}

.next-btn {
  background-color: #007d88;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
  display: block;
}

.form-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.back-arrow {
  font-size: 20px;
  cursor: pointer;
  color: #007d88;
  transition: color 0.3s ease;
}

.back-arrow:hover {
  color: #005b64;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  margin: 10px 0;
  padding: 10px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;

  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-container nav form button {
  background: none;
  border: none;
  color: #007d88;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
  margin-top: 20px;
}

.header-container nav form button:hover {
  text-decoration: underline;
}

.modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}

.modal-content {
  display: flex;
  flex-direction: column;

  background: white;
  padding: 20px;
  width: 600px;
  max-height: 600px;
  /* Increased width */
  text-align: center;
  border-radius: 8px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  align-items: center;
  text-align: center;
  font-family: Arial, sans-serif;
  padding: 20px;
}



.modal-message {
  font-size: 14px;
  margin-bottom: 15px;
}

.modal-label {
  font-size: 16px;
  font-weight: bold;
  align-self: flex-start;
  /* Align labels to the left */
  margin-top: 10px;
}

.phone-number {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.upload-input {
  width: 100%;
  max-width: 350px;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid #ccc;
  background: #f8f8f8;
  text-align: center;
}

.submit-btn {
  background-color: #157f88;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 20px;
  margin-top: 15px;
  cursor: pointer;
  width: 100%;
  max-width: 350px;
}

.submit-btn:hover {
  background-color: #0d5e65;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
}

h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

p {
  font-size: 14px;
  color: #333;
}

.phone-number {
  font-size: 18px;
  font-weight: bold;
}

.upload-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 25px;
  background: #f5f5f5;
  margin: 10px 0;
}

.submit-btn {
  background: #007d88;
  color: white;
  font-size: 16px;
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  width: 100%;
}

.submit-btn:hover {
  background: #005f66;
}

/* ------------------ */
/* Responsive Styles */
@media (max-width: 1024px) {
  .header-container {
      flex-direction: column;
      align-items: center;
      padding: 10px 20px;
      width: 100%;
      
  }
  .container {
        
          margin-top: 130px;
      }
  .header-container nav {
      gap: 10px;
  }

  .payment-options h2 {
      font-size: 20px;

      margin-top: 120px;


  }

  .main-container {
      flex-direction: column;
      height: auto;
      width: 100%;
  }

  .cards-container {
      width: 100%;
      padding: 20px;
      margin-top: 100px;
  }

  .image-container {
      width: 100%;
      text-align: center;
      margin-top: 20px;
  }

  .image-container img {
      max-width: 100%;
      height: auto;
  }
  .header-container .logo img {
      width: 120px;
  }
}

@media (max-width: 768px) {
  .header-container {
      padding: 10px;
      text-align: center;
  }

  .header-container nav {
      flex-direction: column;
      gap: 5px;
  }

  .header-container .logo img {
      width: 120px;
  }

  .mobile-menu-icon {
      display: block;
      font-size: 24px;
      cursor: pointer;
      position: absolute;
      top: 15px;
      right: 20px;
      color: #007d88;
      z-index: 1001;
  }

  .mobile-menu {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 50px;
      right: 0;
      background: white;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      width: 100%;
      max-width: 250px;
      border-radius: 10px;
      padding: 15px;
      z-index: 1000;
  }

  .mobile-menu a,
  .mobile-menu form button {
      display: block;
      padding: 12px;
      font-size: 18px;
      color: #007d88;
      text-decoration: none;
      text-align: center;
      font-weight: bold;
  }

  .mobile-menu a:hover,
  .mobile-menu form button:hover {
      background: #f0f0f0;
  }

  .card {
      padding: 10px;
  }

  .card-text p {
      font-size: 16px;
  }
}

@media (max-width: 480px) {
  .header-container {
      padding: 15px;
  }

  .header-container .logo img {
      width: 100px;
  }

  .mobile-menu {
      max-width: none;
      width: 100%;
      border-radius: 0;
  }

  .cards-container {
      padding: 10px;
  }

  .card {
      padding: 10px;
  }

  .card-text p {
      font-size: 14px;
  }

  .details-btn {
      font-size: 14px;
      padding: 10px;
  }

  .mobile-menu-icon {
      display: none;
      font-size: 24px;
      cursor: pointer;
      position: absolute;
      top: 15px;
      right: 20px;
      color: #007d88;
      z-index: 1001;
  }

  .mobile-menu {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 50px;
      right: 0;
      background: white;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      width: 100%;
      max-width: 250px;
      border-radius: 10px;
      padding: 15px;
      z-index: 1000;
  }

  .mobile-menu a,
  .mobile-menu form button {
      display: block;
      padding: 12px;
      font-size: 18px;
      color: #007d88;
      text-decoration: none;
      text-align: center;
      font-weight: bold;
  }

  .mobile-menu form button {
      background: none;
      border: none;
      cursor: pointer;
  }

  .mobile-menu a:hover,
  .mobile-menu form button:hover {
      background: #f0f0f0;
  }
}

@media screen and (max-width: 768px) {
  .desktop-menu {
      display: none;
  }

  .mobile-menu-icon {
      display: block;
  }
}

@media (max-width: 480px) {
  .header-container .logo img {
      width: 190px;
  }
}

@media (max-width: 768px) {
  .header-container .logo img {
      width: 120px;
  }
}

@media screen and (max-width: 768px) {
  .desktop-menu {
      display: none !important;
  }

  .mobile-menu-icon {
      display: block !important;
  }

  @media (max-width: 768px) {
      .container {
          display: flex;
          flex-direction: column;
          align-items: center;
          margin-top: 130px;
      }
      .password-hints{
          margin-left: 0;
          color:rgb(141, 141, 141);
      }
      .categories {
          order: 1;
          width: 100%;
      }

      .image-container {
          order: 2;
          width: 100%;
          text-align: center;
      }

      .image-container img {
          max-width: 100%;
          height: auto;
      }
  }
}

@media (max-width: 400px) {
  .header-container .logo img {
      width: 120px;
      max-width: 160px;
  }

  .mobile-menu {
      width: 100%;
      max-width: none;
      padding: 20px;
      border-radius: 0;
  }

  .mobile-menu a,
  .mobile-menu form button {
      font-size: 14px;
      padding: 10px;
  }

  .form-content h1 {
      font-size: 20px;
  }

  .form-content p {
      font-size: 12px;
  }

  .category-list li {
      font-size: 12px;
      padding: 8px;
  }

  .main-container {
      margin-top: 50px;
  }

  .form-container {
      padding: 20px;
  }

  .image-container img {
      max-width: 90%;
      height: auto;
  }

  .seen-icon {
      margin-top: 50px;
      max-width: 30%;
      height: 30%;
  }
}

/* ------------------ */
/* Existing CSS remains the same until the end of the file */

/* Responsive Styles */
@media (max-width: 1200px) {

  body,
  html {

      overflow-y: auto;
      /* Allows scrolling */
  }

  .main-container {
      flex-direction: column;
      align-items: center;
      margin-top: 150px;
      padding: 25px;
  }
  .background .top-left {
      width: 50%;
  }
  .background .right{
      width: 35%;
  }
  .header-container .logo img {
      width: 150px;
      max-width: 200px;
  }

  .payment-options,
  .image-container {
      width: 80%;
  }

  .payment-options h2 {
      margin-left: 0;
      text-align: center;
      margin-top: 120px;
  }

  .payment-option {
      margin-left: 0;
  }
}

@media (max-width: 768px) {

  body,
  html {

      overflow-y: auto;
      /* Allows scrolling */
  }

  .header-container nav {
      display: none;
  }

  .mobile-menu-icon {
      display: block;
  }

  .main-container {
      margin-top: 20px;
      padding: 5%
  }

  .payment-options,
  .image-container {
      width: 100%;
  }

  .payment-options h2 {
      font-size: 24px;
      margin-top: 120px;
  }

  .payment-option {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .payment-details img {
      margin-right: 0;
      margin-bottom: 15px;
  }

  .payment-btn {
      width: 100%;
  }

  .image-container img {
      max-width: 100%;
      height: auto;
  }

  .modal-content {
      width: 90%;
      max-width: 400px;
  }

  .modal-label {
      align-self: center;
  }

  .upload-input,
  .submit-btn {
      max-width: 100%;
  }
}

@media (max-width: 480px) {

  body,
  html {

      overflow-y: auto;
      /* Allows scrolling */
  }

  .header-container .logo img {
      width: 150px;
  }

  .payment-options h2 {
      font-size: 20px;

      margin-top: 120px;


  }

  .payment-option h3 {
      font-size: 18px;
  }

  .payment-option p {
      font-size: 14px;
  }

  .payment-btn {
      font-size: 14px;
  }

  .modal-content {
      padding: 15px;
  }

  .modal-label {
      font-size: 14px;
  }

  .phone-number {
      font-size: 16px;
  }

  .upload-input,
  .submit-btn {
      font-size: 14px;
  }
}