/* Reset default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
}

/* Navbar container */
navbar {
  width: 100%;
  background: #fff;
  border-bottom: 2px solid #eee;
}

/* Navbar wrapper */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  flex-wrap: wrap;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo Image */
.navbar img {
  height: 100px;
  width: 120px;
  margin-right: 10px;
  border-radius: 8px;
}

/* Title and subtitle */
.navbar h1 {
  font-size: 20px;
  margin-right: 8px;
  color: #2c3e50;
  white-space: nowrap;
}

.navbar span {
  font-size: 14px;
  color: #666;
  margin-right: auto;
  white-space: nowrap;
}

/* Navigation Menu */
.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}

.navbar ul li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 19px;
  padding: 6px 10px;
  transition: all 0.3s ease;
}

.navbar ul li a:hover {
  color: #fff;
  background: #007BFF;
  border-radius: 4px;
}

/* Login Button */
.login-btn {
  width: 110px;
  height: 38px;
  font-size: 1rem;
  background: #AD591E;
  color: #fff;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s ease;
  margin-left: 20px;
}

.login-btn:hover {
  background: #0056b3;
}

/* Responsive behavior */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }

  .navbar ul {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
    justify-content: flex-start;
  }

  .navbar h1,
  .navbar span {
    margin-bottom: 5px;
  }

  .login-btn {
    align-self: flex-end;
    margin-top: 10px;
    margin-left: 0;
  }
}


/* this code only popup of login page */

/* The popup form - hidden by default */
/* .form-popup {
  height: 620px;;
  display: none;
  width: 50%;
  margin-left: 450px;
  margin-bottom: 50px;
  position: fixed;
  border: 3px solid #f1f1f1;
  z-index: 9;
} */

/* Add styles to the form container */
.form-container {
  height: 616px;
  width: 90%;
  max-width: 500px;
  padding: 10px;
  background-color: white;
}

/* Full-width input fields */
.form-container input[type=text], .form-container input[type=password] {
  width: 100%;
  padding: 15px;
  margin: 5px 0 22px 0;
  border: none;
  background: #f1f1f1;
}

/* When the inputs get focus, do something */
.form-container input[type=text]:focus, .form-container input[type=password]:focus {
  background-color: #ddd;
  outline: none;
}

/* Set a style for the submit/login button */
.form-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  max-width: 800px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0px 8px 20px rgba(0,0,0,0.2);
  z-index: 9999;
  overflow: hidden; /* ensures image doesn't overflow */
}

.login_form_half {
  display: flex;
  flex-direction: row;
  height: 100%;
}

.form-container {
  flex: 1; /* take 50% */
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-logo {
  width: 100px;
  margin: 0 auto;
}

.login_form_image {
  flex: 1; /* take 50% */
  background: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
}




.btn {
  background-color: #AD591E;
  font-size: 1.1rem;
  color: white;
  padding: 12px 20px;
  margin-top: 30px;
  border: none;
  cursor: pointer;
  width: 80%;
  border-radius: 10px;
  margin-top: 100px;
  margin-left: 35px;
  margin-bottom:60px;
  opacity: 0.8;
}

.btn2 {
  color: white;
  background-color: red;
  padding: 14px 20px;
  margin-top: 10px;
  border: none;
  cursor: pointer;
  width: 80%;
  border-radius: 10px;
  margin-left: 35px;
  margin-bottom:10px;
  opacity: 0.8;
}

/* Add some hover effects to buttons */
.form-container .btn:hover, .open-button:hover {
  opacity: 1;
}

.login_mobile {
  display: flex;
  align-items: center;
  border: 1.5px solid #ccc;
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 10px;
  background: #fafafa;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.login_mobile:focus-within {
  border-color: #A1320B;
  box-shadow: 0px 0px 6px rgba(161, 50, 11, 0.4);
}

.country-code {
  font-size: 1rem;
  font-weight: 600;
  margin-right: 8px;
  color: #A1320B;
}

.login_mobile input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  background: transparent;
  padding: 6px;
}

.login_pic{
  height: 50px;
  width: 60px;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
}
