/* Styling for form container */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Lexend', sans-serif;
  transition: all 0.4s ease;;
}

body {
  font-family: 'Lexend', sans-serif;
  background: #f4f4f9;
  height: 100vh;
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');
/* ===== Colours ===== */
:root{
--body-color: #E4E9F7;
--nav-color: rgb(3, 75, 80);
--side-nav: rgb(2, 12, 58);
--text-color: #FFF;
--search-bar: #F2F2F2;
--search-text: #010718;
--text-color1: #000000;
--nav-color2: rgb(3, 75, 80);
--profile-color: #FFF;
--profile-text: #000000;
--profile-text1:#094936;

}
body{
background-color: var(--body-color);
}
body.dark{
--body-color: #18191A;
--nav-color: #242526;
--side-nav: #242526;
--text-color: #CCC;
--search-bar: #242526;
--text-color1: #FFF;
--nav-color2: #242526;
--profile-color:#242526;
--profile-text: #FFF;
--profile-text1:#ffffff;
}

.logo-img {
	width: 50px;
	height: 50px;
	/* margin-right: 10px; */
  }
  
  .logo-container {
    display: flex;
    align-items: center;
    text-align: left;
}

.logo-img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    border-radius: 1rem;
}
.g-head{
color: var(--profile-text1);
text-align: center;
padding: 20px 0;
color: rgb(2, 121, 75);
font-family: 'Oswald', sans-serif;
margin-top: 1rem;
}

  nav .nav-bar .logo.navLogo {
    display: flex;
    align-items: center;
}

nav .nav-bar .logo.navLogo img {
    /* width: 60px;
    height: 60px; */
    margin-right: 10px;
	border-radius: 15px;
}

nav{
    position: fixed;
    top: 0;
    left: 0;
    height: 80px;
    width: 100%;
    background-color: var(--nav-color);
    z-index: 10000;
}
body.dark nav{
    border: 1px solid #393838;
}
nav .nav-bar{
    position: relative;
    height: 100%;
    max-width: 1000px;
    width: 100%;
    background-color: var(--nav-color);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
	padding: 1rem;
}
nav .nav-bar .sidebarOpen{
    color: var(--text-color);
    font-size: 30px;
    padding: 15px;
    cursor: pointer;
    display: none;
}
nav .nav-bar .logo a{
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    text-align: left;
}
.menu .logo-toggle{
    display: none;
}
.nav-bar .nav-links{
    display: flex;
    align-items: center;
}
.nav-bar .nav-links li{
    margin: 0 5px;
    list-style: none;
}
.nav-links li a{
    position: relative;
    font-size: 15px;
    font-weight: 400;
    color: var(--text-color);
    text-decoration: none;
    padding: 10px;
}
.nav-links li a::before{
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background-color: var(--text-color);
    opacity: 0;
    transition: all 0.3s ease;
}
.nav-links li:hover a::before{
    opacity: 1;
}
.nav-bar .darkLight-searchBox{
    display: flex;
    align-items: center;
}
.darkLight-searchBox .dark-light,
.darkLight-searchBox .searchToggle{
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
}
.dark-light i,
.searchToggle i{
    position: absolute;
    color: var(--text-color);
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.dark-light i.sun{
    opacity: 0;
    pointer-events: none;
}
.dark-light.active i.sun{
    opacity: 1;
    pointer-events: auto;
}
.dark-light.active i.moon{
    opacity: 0;
    pointer-events: none;
}
/* .searchToggle i.cancel{
    opacity: 0;
    pointer-events: none;
}
.searchToggle.active i.cancel{
    opacity: 1;
    pointer-events: auto;
}
.searchToggle.active i.search{
    opacity: 0;
    pointer-events: none;
}
.searchBox{
    position: relative;
} */
/* .searchBox .search-field{
    position: absolute;
    bottom: -85px;
    right: 5px;
    height: 50px;
    width: 300px;
    display: flex;
    align-items: center;
    background-color: var(--nav-color);
    padding: 3px;
    border-radius: 6px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
} */
/* .searchToggle.active ~ .search-field{
    bottom: -74px;
    opacity: 1;
    pointer-events: auto;
} */
/* .search-field::before{
    content: '';
    position: absolute;
    right: 14px;
    top: -4px;
    height: 12px;
    width: 12px;
    background-color: var(--nav-color);
    transform: rotate(-45deg);
    z-index: -1;
} */
/* .search-field input{
    height: 100%;
    width: 100%;
    padding: 0 45px 0 15px;
    outline: none;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 400;
    color: var(--search-text);
    background-color: var(--search-bar);
} */
body.dark .search-field input{
    color: var(--text-color);
}
/* .search-field i{
    position: absolute;
    color: var(--nav-color);
    right: 15px;
    font-size: 22px;
    cursor: pointer;
} */
body.dark .search-field i{
    color: var(--text-color);
}
@media (max-width: 790px) {
    nav .nav-bar .sidebarOpen{
        display: block;
    }
    .menu{
        position: fixed;
        height: 100%;
        width: 320px;
        right: -100%;
        top: 0;
        padding: 20px;
        background-color: var(--side-nav);
        z-index: 100;
        transition: all 0.4s ease;
    }
    nav.active .menu{
        right: -0%;
    }
    nav.active .nav-bar .navLogo a{
        opacity: 0;
        transition: all 0.3s ease;
    }
    .menu .logo-toggle{
        display: block;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .logo-toggle .siderbarClose{
        color: var(--text-color);
        font-size: 24px;
        cursor: pointer;
    }
    .nav-bar .nav-links{
        flex-direction: column;
        padding-top: 30px;
    }
    .nav-links li a{
        display: block;
        margin-top: 20px;
    }
}

/* Search Box container styles */
.search-box-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  background-color: var(--nav-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-top: 5rem;
  position: relative; /* Ensure dropdown is relative to the search box */
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 4px solid var(--search-bar);
  border-radius: 5px 0 0 5px;
  background-color: var(--search-bar);
  outline: none;
  color: var(--text-color1);
}

.searcbox-outline {
  border: 2px solid var(--searchbox-outline);
  display: flex;
  border-radius: 10px;
  width: 100%;
}

.search-btn {
  padding: 10px 15px;
  font-size: 18px;
  background-color: var(--nav-color);
  color: var(--text-color);
  border: 2px solid var(--search-bar);
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-btn:hover {
  background-color: #f8d209;
  color: var(--nav-color);
}

.search-box-container .bx-search {
  font-size: 20px;
}

@media (max-width: 768px) {
  .search-input {
      width: 100%;
  }
}

/* Style for the autocomplete suggestions dropdown */
.suggestions-box {
  position: absolute;
  top: calc(100% + 0px); /* Place the dropdown just below the search box */
  left: 0;
  right: 0;
  background-color: var(--suggestions);
  border: 1px solid var(--nav-color);
  z-index: 1000;
  max-height: 200px; /* Limit height for better display */
  overflow-y: auto;  /* Allow scrolling if there are too many suggestions */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 5px 5px;
  color: var(--text-color1);
}

.suggestion {
  padding: 10px;
  cursor: pointer;
}

.suggestion:hover {
  background-color: #f0f0f0;
}
/* ===== Colours ===== */
:root{
  --body-color: #E4E9F7;
  --nav-color: rgb(3, 75, 80);
  --side-nav: rgb(2, 12, 58);
  --text-color: #FFF;
  --search-bar: #F2F2F2;
  --search-text: #010718;
  --text-color1: #000000;
  --profile-color: #FFF;
  --profile-text: #000000;
  --suggestions:#FFF;

}
body{
  background-color: var(--body-color);
}
body.dark{
  --body-color: #18191A;
  --nav-color: #242526;
  --side-nav: #242526;
  --text-color: #CCC;
  --search-bar: #242526;
  --text-color1: #FFF;
  --profile-color:#242526;
  --profile-text: #FFF;
  --suggestions: #242526;
}

/* Highlight found word */
.highlight {
  background-color: yellow;
  font-weight: bold;
}


.form-section{
padding: 2rem;
  justify-content: center;
  justify-self: center;
  display: flex;
}
#paymentForm {
          background: var(--profile-color);
          padding: 30px;
          border-radius: 10px;
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
          max-width: 400px;
          width: 100%;
          margin-top: 5rem;
          margin-bottom: 1rem;
      }


      .card-logos {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }

    .card-logos img {
        width: 40px;
        margin: 0 5px;
        object-fit: contain;
        border-radius: 0.5rem;
    }

    h2 {
      text-align: center;
      color: var(--profile-text);
      margin-bottom: 10px;
  }

  .logo-container {
      text-align: center;
      margin-bottom: 20px;
      gap: 7px;
  }

  .logo-container img {
      width: 60px;
      height: auto;
      border-radius: 1rem;
  }

  .website-name {
      font-size: 24px;
      color:rgb(3, 75, 80);
      font-weight: bold;
      margin-top: 5px;
      font-family: 'Oswald', sans-serif;
      text-align: left;
  }

.footer {
  background-color: var(--nav-color); /* Footer background color */
  color: white; /* Text color */
  padding: 20px; /* Padding for the footer */
  text-align: center; /* Center align text */
  font-family: 'Lexend', sans-serif; /* Use Lexend font */
  width: 100%;
}

.footer-ul{
  list-style-type: none; /* Remove bullet points */
  padding: 0; /* Remove padding */
  margin: 0; /* Remove margin */
  display: flex; /* Flexbox for horizontal layout */
  justify-content: center; /* Center the nav items */
  gap: 45px; /* Space between nav items */
  margin-top: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgb(255, 255, 255); /* Link color */
  text-decoration: none; /* Remove underline */
  font-weight: bold; /* Bold text */
}

.footer-nav a:hover {
  text-decoration: underline; /* Underline on hover */
}

.footer-logo {
  margin-top: 20px; /* Space above the logo */
}

.footer-logo1 {
  width: 100px; /* Logo width */
  height: auto; /* Maintain aspect ratio */
  border-radius: 15px; /* Rounded corners */
}

.footer-copy {
  margin-top: 10px; /* Space above copyright text */
}

/* Media Queries */
@media (max-width: 768px) {
  .footer-ul {
      flex-direction: row; /* Stack nav items vertically on small screens */
      align-items: center; /* Center align items */
  }
}

.footer-h2{
  color: white;
  font-family: 'Oswald', sans-serif;
}
.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  max-width: 350px;
  margin: 20px auto;
  border-radius: 5rem;
}

.social-icon {
  color:  white;
  text-decoration: none;
  font-size: 24px;
  margin: 0 10px;
}

.social-icon:hover {
  color: rgb(9, 73, 54);
}


  
  /* Styling for form groups */
  .form-group {
    margin-bottom: 20px;
  }
  
  /* Styling for labels */
  label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--profile-text);
  }
  
  /* Styling for input fields */
  .form-input[type="email"],
  .form-input[type="tel"],
  .form-input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 7px;
    background-color: var(--profile-color);
  }
  
  /* Styling for submit button */
  .pay-button[type="submit"] {
    width: 100%;
    padding: 12px 15px;
    background: rgb(3, 75, 80);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}
  
  button[type="submit"]:hover {
    background-color: rgb(4, 38, 41);
  }
  .alternate-link{
    text-align: center;
    padding: 1rem;
}
.alternate-link a{
    text-decoration: none;
    color: rgb(31, 31, 253);
    text-align: center;
}
