* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    height: 100%;
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
    display: none;
}

body p {
    margin: 0
}

body h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

ul {
    list-style: none;
}

a {
    text-decoration: none !important;
    color: #000 !important;
}

input:focus, textarea:focus {
    outline: none;
}

.navbar {
  width: 100% !important;
  padding: 10px !important;
}

.navbar .left-section {
  position: relative;
}

.navbar .left-section , .right-section {
  display: flex;
  align-items: center !important;
  justify-content: center;
}

.left-section .logo {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  background-color: #fff;
  margin-right: 10px;
}

.left-section .company-name {
  color: #0085FF !important;
  margin: 0 30px 0 0!important;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
}

.left-section .categories {
  font-size: 0.9rem;
  font-weight: 500;
}

.left-section .categories:hover,
.left-section .company-name,
.left-section li:hover {
  cursor: pointer;
}


.left-section .main-category {
  top: 45px;
  left: 400px;
  position:absolute;
  width: max-content;
}

.left-section ul {
  list-style: none;
  background-color: #fff;
  padding: 15px 15px;
  border-top-left-radius: 30px;
  border-bottom-right-radius: 30px;
  box-shadow: 0 0 9.1px 0 rgba(0, 0, 0, 0.1);
  position: absolute;
  z-index: 2;
}

.left-section ul li {
  padding-top: 20px;
  font-size: 0.9rem;
}

.left-section .category {
  top: 70px;
  right: 75px;
  width: max-content;
}

.left-section .main-category, .left-section .web-development-category,  .left-section .mobile-developement-category,  .left-section .programming-category,  .left-section .engineering-category,  .left-section .block-chain-category,  .left-section .iot-category,  .left-section .cloud-category,  .left-section .data-science-category,  .left-section .cybersecurity-category {
  display: none;
}

.left-section .main-category.active {
  display: block;
}

.left-section .category.active {
  display: block;
}

.searchBar {
  position: relative;
  margin: 0 20px;
  border-radius: 5px;
  border: 1px solid #D0D5DD;
  background-color: #F2FFFB;
}

.explore {
  padding: 0 5px;
}

.searchBar input{
  background-color: #fff;
  padding: 8px;
  padding-left: 30px;
  width: 200px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  border: none;
  font-weight: 300;
  font-size: 0.9rem;
}

.searchBar .fa-search {
  position: absolute;
  left: 10px;
  top: 8px;
  color: #98A2B3;
}

.navbar .right-section a {
  margin-right: 30px;
  font-size: 0.9rem;
  font-weight: 500;
}

.navbar .right-section {
  position: relative;
}

.navbar  a.active {
  color: #0085FF !important;
}

.navbar  a:hover {
  cursor: pointer;
  color: #0085FF !important;
}

.right-section .cart {
  font-size: 1.5rem;
  margin-right: 20px;
}

.right-section .cart:hover {
  color: #0085FF;
  cursor: pointer;
}

.right-section .cart.active {
  color: #0085FF;
}

.left-section .main-category.active li:hover {
  cursor: pointer;
  color: #0085FF !important
}

.right-section .profile i {
  margin-left: 8px;
}

.right-section .profile i.rotate {
  transform: rotate(180deg);
}

.right-section .profile i:hover {
  cursor: pointer;
}

.right-section .profile-container {
  position: relative;
}

.right-section .profile-container ul {
  position: absolute;
  right: 15px;
  top: 55px;
  background-color: rgba(230, 230, 230, 0.4); /* Add transparency */
  backdrop-filter: blur(10px); /* Apply blur effect */
  padding: 5px;
  border-radius: 8px;
  border: none;
  width: 200px;
  z-index: 10;
  display: none;
}  

.right-section .profile-container ul.active {
  display: block;
}

.right-section .profile-container a {
  color: #000;
  margin: 0;
  font-weight: 300;
}

.right-section .profile-container a:hover {
  color: #000 !important
}

.right-section .profile-container li {
  padding: 10px 20px;
  border: 0.5px solid transparent;
  font-size: 0.9rem;
}

.right-section .profile-container li:hover {
  background-color: #C3C3C3;
  border-radius: 8px;
  text-decoration: underline;
  cursor: pointer;
}

.right-section .profile-container li.active {
  background-color: #C3C3C3;
  border: 0.5px solid #747474;
}

.contact-us-container h1 {
  font-weight: 700;
  font-size:2.3rem;
}

.contact-us-container .first-section {
  margin: 10% 0;
}

.first-section p {
  width: 40%;
}

.contact-us-container .section{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 10%;
}

.contact-us-container .section h2 {
  font-weight: 600;
  font-size: 2.2rem;
}

.contact-us-container .contact-form {
  background-color: #E6E6E6;
  padding: 30px;
  border-radius: 10px;
}

.contact-form .flag {
  background-color: #fff;
  padding: 3px 10px;
  border-radius: 6px;
  box-shadow: 0px 4px 4px 0px #0000001A;
}

.contact-form .form-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 20px;
  width: 400px;
}

.form-group input {
  box-shadow: 0px 4px 4px 0px #0000001A;
  border: none;
  border-radius: 6px;
  padding: 5px;
  width: 60%;
  font-size: 0.88rem;
  font-weight: 300;
}

.section:nth-child(3) .form-group input,
.section:nth-child(3) .form-group textarea,
.section:nth-child(3) .flag {
  background: #DADADA;
}

.form-group textarea {
  box-shadow: 0px 4px 4px 0px #0000001A;
  border: none;
  border-radius: 6px;
  padding: 5px;
  width: 60%;
  height: 120px;
}

.contact-form .button {
  text-align: right;
  margin-top: 20px;
}

.contact-form button {
  border: none;
  background-color: #00B894;
  color: #fff;
  box-shadow: 0px 4px 4px 0px #0000001A;
  padding: 6px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-form button:hover {
  background-color: #00A484;
}

.contact-us-container .background {
  background-color: #F7F7F7;
}



.footer-section {
  background-color: #101828;
  padding-top: 40px;
  padding-bottom: 15px;
  padding-left: auto;
  padding-right: auto;
  text-align: center;
}
  
.footer-section li {
  text-align: left;
  color: #fff !important;
}

.company-details {
   display: flex;
  justify-content: space-evenly;
  margin-bottom: 40px;
  flex-wrap: wrap;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.company-details .app {
  margin-left: 10px;
}

.app p {
  margin: 0;
}

.more-items {
  margin: 15px;
}

.more-items ul {
  text-align: left;
  font-size: 0.95rem;
}

.footer-section li {
  margin-bottom: 5px;
  color: #fff !important;
}

.footer-section .list-header {
  color: #98A2B3 !important;
  font-weight: 500;
  text-decoration: none !important;
}

.footer-section li:hover {
  cursor: pointer;
  text-decoration: underline;
}


.socials i {
  font-size: 1.5rem;
  margin-right: 12px;
  color: #98A2B3
}

.socials i:hover {
  cursor: pointer;
  color: #fff;
}

.footer-below-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  color: #98A2B3;
}


@media screen and (max-width: 1000px) {
  .contact-us-container .section {
    padding: 50px 20px
  }
}

@media screen and (max-width: 865px) {
  .navbar .left-section .searchBar {
    display: none;
  }

  .navbar .left-section .categories {
    display: none;
  }

  .contact-us-container .section {
    flex-direction: column;
  }

  .contact-us-container .first-section {
    justify-content: center;
  }

  .contact-us-container .first-section p {
    width: 60%;
    margin-top: 20px
  }
  
  .contact-us-container .section h2 {
    margin-bottom: 20px
  }

  .company-details ul,
  .company-details .description,
  .company-details .app {
    margin-top: 10px;
  }

  .company-details{
    justify-content: space-between;
  }
  .company-details ul{
    width: 50%;
  }
}

@media screen and (max-width: 729px) {
   .company-details{
     justify-content: space-around;
     gap: 30px;
  }

  .company-details .description, .company-details .app{
    width: 100%;
    margin-bottom: 8px;
  }

  .company-details ul{
    width: 33%;
  }
}

@media screen and (max-width: 610px) {
  .contact-us-container .first-section p {
    width: 90%;
  }
  .footer-below-section {
    flex-direction: column-reverse;
  }
  .footer-below-section .socials {
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 550px) {
  .navbar .company-name {
    display: none;
  }
  .header-section .lower-section {
    display: none;
  }
  .navbar .right-section .btn {
    z-index: 10;
  }
}

/* Existing CSS */

/* Media query for screens less than 480px */
@media screen and (max-width: 480px) {
  .contact-us-container .section {
      padding: 20px 10px; /* Reduce padding */
  }

  .contact-us-container .contact-form {
      width: 100%; /* Make the form take full width */
      padding: 20px; /* Reduce padding */
  }

  .contact-form .form-group {
      flex-direction: column; /* Stack form elements vertically */
      align-items: flex-start; /* Align items to the start */
      width: 100%; /* Make form groups take full width */
  }

  .form-group input,
  .form-group textarea {
      width: 100%; /* Make inputs and textareas take full width */
      margin-top: 10px; /* Add some space between elements */
  }

  .contact-form .button {
      text-align: center; /* Center the submit button */
  }

  .contact-form button {
      width: 100%; /* Make the button take full width */
      padding: 10px; /* Adjust padding */
  }

  .first-section p {
      width: 100%; /* Make the paragraph take full width */
  }
}

@media screen and (max-width: 478px) {
  .navbar {
     flex-wrap: nowrap !important;
  }

  .navbar .right-section a {
    font-size: 0.7rem;
    margin-right: 12px;
  }
  
  .company-details {
    gap: 20px;
  }
}

@media screen and (max-width: 375px) {
  .navbar {
    gap: 10px;
  }

  .navbar .left-section .logo {
    width: 40px;
    height: 40px;
  }

  .navbar .right-section i {
    width: 10px;
    height: 10px;
  }

  .footer-section .company-details{
    justify-content: flex-start;
    gap: 10px;
  }
}