
/* Logo + NIT Short Info */
.navbar-logo1 {
  display: flex;
  align-items: center;
  margin-left: 20px;
}
/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Style */
body {
  font-family: Arial, sans-serif;
  background-color: #fff;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  border-bottom: 2px solid #ccc;
  background-color: #fff;
  flex-wrap: wrap;
}

/* Logo + NIT Short Info */
.navbar-logo {
  display: flex;
  align-items: center;
  margin-right: 20px;
}

.navbar-logo img {
  width: 120px;
  height: auto;
}

.nit-short {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}

.nit-title {
  font-size: 55px;
  font-weight: bold;
  color: #ff6600;
}

.nit-since {
  font-size: 14px;
  color: #1e5a92;
  font-weight: bold;
}

/* Main Heading */
.navbar-heading {
  text-align: center;
}

.navbar-heading h1 {
  font-size: 37px;
  font-weight: bold;
  color: #ff6600;
}

.navbar-heading p {
  font-size: 14px;
  color: #1e5a92;
  line-height: 1.4;
  margin-top: 5px;
  font-weight: bold;
}

/* Container Layout */
.container {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
}

/* Left Section */
.left {
  flex: 2;
  padding: 20px;
  background-color: #f5f5f5;
}

.left h2 {
  color: rgb(20, 69, 161);
  margin-bottom: 15px;
}

.left p {
  margin-bottom: 12px;
  line-height: 1.6;
}

.left a {
  color: #2f80ed;
  text-decoration: none;
}

.left .button-container {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.left .button-container button {
  padding: 10px 15px;
  border: none;
  background-color: gray;
  color: white;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  flex: 1;
  min-width: 200px;
}

.left .button-container button:hover {
  background-color: rgb(142, 132, 132);
}

/* Right Section - Login Box */
.right {
  flex: 1;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-box {
  width: 100%;
  max-width: 300px;
  padding: 25px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.login-box h3 {
  margin-bottom: 15px;
  text-align: center;
  color: #333;
}

.login-box input {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.login-btn {
  width: 100%;
  padding: 10px;
  background-color: #ff6600;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

.login-btn:hover {
  background-color: #d85e05;
}
/* Basic styling for the select box */
.custom-select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background-color: white;
    appearance: none; /* Removes default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
}

/* Add a custom arrow icon */
.custom-select::after {
    content: '\25BC'; /* Downwards arrow */
    font-size: 16px;
    color: #333;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Hover and Focus States */
.custom-select:hover {
    border-color: #3366ff;
}

.custom-select:focus {
    border-color: #3366ff;
    outline: none;
    box-shadow: 0 0 5px rgba(51, 102, 255, 0.5);
}

/* Styling for the select box when it's opened */
.custom-select.opened {
    background-color: #f4f4f9; /* Light background when clicked */
    border-color: #3366ff; /* Change border color */
}

/* Customize the option list */
.custom-select option {
    padding: 10px;
    font-size: 14px;
}

/* Add a hover effect for options */
.custom-select option:hover {
    background-color: #3366ff;
    color: white;
}

    .email-row {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-top: 5px;
        flex-wrap: wrap; /* Optional: allows wrapping on smaller screens */
    }

    .email-row input {
        width: 185px;
    }

    .email-row button {
        background-color: rgb(142, 132, 132);
        color: white;
        padding: 6px 12px;
        border: none;
        border-radius: 4px;
    }

    .email-row label svg {
        vertical-align: middle;
    }

/* ================== Responsive Styles ================== */

@media (max-width: 1024px) {
  .navbar-heading h1 {
    font-size: 28px;
  }

  .navbar-logo img {
    width: 90px;
  }

  .nit-title {
    font-size: 40px;
  }
    .email-row {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-top: 5px;
        flex-wrap: wrap; /* Optional: allows wrapping on smaller screens */
    }

    .email-row input {
        width: 266px;
    }

    .email-row button {
        background-color: rgb(142, 132, 132);
        color: white;
        padding: 6px 12px;
        border: none;
        border-radius: 4px;
    }

    .email-row label svg {
        vertical-align: middle;
    }
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    padding: 10px;
  }

  .left, .right {
    width: 100%;
    padding: 15px;
  }

  .navbar {
    flex-direction: column;
    text-align: center;
  }

  .navbar-logo {
    justify-content: center;
    margin-bottom: 10px;
  }

  .navbar-heading h1 {
    font-size: 24px;
  }

  .navbar-heading p {
    font-size: 13px;
  }

  .left h2 {
    font-size: 20px;
  }

  .left .button-container {
    flex-direction: column;
    align-items: stretch;
  }

  .left .button-container button {
    width: 100%;
  }

  .login-box {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .navbar-heading h1 {
    font-size: 20px;
  }

  .nit-title {
    font-size: 30px;
  }

  .left h2 {
    font-size: 18px;
  }

  .login-box {
    padding: 15px;
  }
}

