/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: auto;
  /* background-color: green; */
  font-family: "Lucida Grande", Verdana, Arial, Sans-Serif;
  font-family: Verdana, Arial, Helvetica, sans-serif;
}

/* Navbar Styling */
.navbar {
  /* padding: 0.5rem; */
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: space-between;
  background-color: rgb(40, 89, 180);

  color: white;
  /* border: 2px solid rgb(121, 83, 224); */
}

.navbar-brand {
  width: 20%;

  /* border: 1px solid red; */
  margin-left: 0.5rem;

  display: flex;
  /* color: #ffffff; */
  align-items: center;
}

img,
.logo {
  /* border: 1px solid red; */
  padding: 0px;
  width: 50%;

  /* margin-right: 0.5rem; */
}

/* .company-name {
  font-size: 1.5rem;
  font-weight: bold;
}
#cname {
  color: aliceblue;
  font-family: "Libre Baskerville", serif;
  font-weight: 800;
  font-style: normal;
} */
.navbar-links {
  /* border: 1px solid rgb(31, 35, 31); */
  margin-right: 0.5rem;
  width: 40%;
  float: right;
  display: flex;
  justify-content: center;
  justify-content: space-between;
  /* align-items: center; */
  /* gap: 1rem; */
}

.navbar-links a {
  /* font: normal 12pt Verdana, Arial, Helvetica, sans-serif; */
  font-family: Geneva, Arial, Helvetica, sans-serif;
  /* border: 1px solid green; */
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 2em;
  display: flex;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.navbar-links a:hover {
  color: #ff6600;
}

/* Hamburger Icon */
.hamburger {
  display: none;
  /* Show only on smaller screens */
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger .line {
  width: 25px;
  height: 3px;
  background-color: white;
}

/* Close Icon */
.close-icon {
  display: none;
  background: none;
  border: none;
  position: relative;
  cursor: pointer;
}

.close-icon .close-line {
  position: absolute;
  width: 25px;
  height: 3px;
  background-color: white;
  transform-origin: center;
}

.close-icon .close-line:first-child {
  transform: rotate(45deg);
}

.close-icon .close-line:last-child {
  transform: rotate(-45deg);
}

/* ------------------- drop down start------------------------------------- */

.navbar-links {
  display: flex;

  /* align-items: center; */
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background-color: transparent;
  border: none;
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
  padding: 0px 0px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #3335ca;
  min-width: 150px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  text-align: left;
}

.dropdown-content a {
  color: rgb(255, 255, 255);
  padding: 8px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #38414d;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  color: #e8801f;
}

.fa-caret-down {
  display: flex;
  margin: 7px 2px;
}

/* Responsive Design */

@media (max-width: 1200px) {
  .navbar-brand {
    width: 30%;
  }

  .navbar-links {
    /* border: 2px solid red; */
    width: 45%;
  }
}

@media (max-width: 1080px) {
  .navbar-brand {
    width: 25%;
  }

  .navbar-links {
    /* border: 1px solid rgb(209, 200, 200); */
    width: 60%;
  }

  a {
    font-size: 15px;
  }
}

@media (max-width: 950px) {

  /* .navbar-brand {
    border: 1px solid red;
  } */
  .logo {
    width: 100%;
  }

  .navbar-links {
    display: flex;
    width: 65%;
  }


  .navbar-brand {
    width: 30%;
  }
}

@media (max-width: 768px) {
  .navbar-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0px;
    background-color: black;
    /* border: 2px solid red; */
    width: 100%;
    padding: 2rem;
    margin: 5% 0 0px 2rem;
    border-radius: 0px 0px 8px 8px;
  }

  .navbar-brand {
    width: 45%;
    /* border: 2px solid red; */
  }

  .hamburger {
    display: flex;
    /* border: 2px solid red; */
    margin-right: 1rem;
  }

  .close-icon.active {
    display: block;
    margin-right: 2rem;
  }

  .hamburger.active {
    display: none;
  }

  .navbar-links.active {
    display: flex;
  }

  .close-icon.active .close-line {
    background-color: red;
  }

}

@media (max-width: 500px) {
  .navbar-brand {
    /* border: 2px solid red; */
    margin: 2% 0 0px 2rem;

    width: 70%;
  }

  .logo {
    height: 40px;
    width: 200px;
    background-color: rgb(40, 89, 180);
  }
}

/* responsive for about company----------------------------------- */
