.login-page {
  background: #fff;
  padding: 0px 0;
  overflow-y: hidden;
  overflow-x: hidden;
}

.header-section {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
  padding: 20px;
  background: #9b9b9b;
  border-top: 2px solid #b71c1c;
  margin-top: 0px;
}

.contact-info {
  margin-bottom: 20px;
}

.contact-item {
  margin: 5px 0;
  font-size: 14px;
}

.label {
  font-weight: bold;
}

.logo-section {
  margin: 20px 0;
}

.college-logo {
  width: 100px;
  height: auto;
}

.email-address, .address {
  margin: 5px 0;
  font-size: 12px;
  word-wrap: break-word;
  word-break: break-all;
}

.admissions-banner {
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
  margin-top: 15px;
  justify-content: center;
  text-align: center;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 5px;
}

.form-section {
  background: #6f6f6f;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  border-radius: 8px;
  border: 1px solid #ddd;
}

.form-group {
  margin-bottom: 15px;
}

.email-input, .password-input, .contact-input, .otp-input {
  border: 2px solid #ddd;
  border-radius: 6px;
  padding: 12px 12px 12px 30px;
  font-size: 12px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.email-input:focus, .password-input:focus, .contact-input:focus, .otp-input:focus {
  border-color: #b71c1c;
  box-shadow: 0 0 5px rgba(183, 28, 28, 0.3);
  outline: none;
}

.email-input::placeholder, .password-input::placeholder, .contact-input::placeholder, .otp-input::placeholder {
  color: black;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #ffffff;
  font-size: 16px;
}

.input-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon i {
  position: absolute;
  left: 10px;
  color: #b71c1c;
  font-size: 13px;
}

.submit-btn {
  background: #1671bc;
  color: #fff;
  border: none;
  padding: 10px 10px;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  display: block;
  margin: 20px auto 0;
  margin-bottom: 10px;
}

.submit-btn:hover {
 border: 2px solid #ffffff;
}

.button-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px auto 10px;
  width: 100%;
}

.otp-link {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  margin-left: 10px;
}

.otp-link:hover {
  text-decoration: underline;
}

.error {
  color: #ff0000;
  font-size: 14px;
  margin-top: 5px;
}

.apply-link {
  text-align: center;
  justify-content: center;
}

.apply-link a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

.apply-link a:hover {
  text-decoration: underline;
}

/* Overlay Container */
.overlay-container {
  position: relative;
  width: 100%;
  height: 600px;
  margin: 20px 0;
  border-radius: 10px;
}

.form-overlay {
  position: absolute;
  top: 15%;
  right: 8%;
  width: 55%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #818181;
  border-radius: 10px;
  z-index: 10;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* Swiper Styles */
.swiper-container {
  width: 100%;
  height: 600px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  touch-action: pan-x;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
  height: 600px;
}

.swiper-pagination {
  bottom: 10px;
}

.swiper-button-next,
.swiper-button-prev {
  color: #b71c1c;
}

@media (max-width: 1200px) {
  .form-overlay {
    width: 35%;
    right: 8%;
  }
}

@media (max-width: 1024px) {
  .form-overlay {
    width: 40%;
    right: 5%;
  }

  .overlay-container {
    height: 550px;
  }

  .swiper-container {
    height: 550px;
  }

  .swiper-slide {
    height: 550px;
  }
}

@media (max-width: 768px) {
  .form-overlay {
    width: 50%;
    top: 10%;
    right: 5%;
  }
  .header-section {
    flex-direction: column;
    text-align: center;
  }

  .contact-info {
    margin-bottom: 10px;
  }

  .logo-section {
    margin: 10px 0;
  }

  .overlay-container {
    height: 500px;
  }

  .swiper-container {
    height: 500px;
  }

  .swiper-slide {
    height: 500px;
  }
}

@media (max-width: 600px) {
  .header-section {
    padding: 10px;
  }

  .contact-item {
    font-size: 12px;
  }

  .admissions-banner {
    font-size: 20px;
  }

  .form-section {
    padding: 20px;
  }

  .overlay-container {
    height: auto;
  }

  .swiper-container {
    position: relative;
    height: 300px;
  }

  .swiper-slide {
    height: 300px;
  }

  .form-overlay {
    position: static;
    width: 100%;
    height: auto;
    margin-top: 20px;
    right: auto;
    top: auto;
    transform: none;
  }
}

@media (max-width: 480px) {
  .header-section {
    padding: 0px;
  }

  .contact-item {
    font-size: 5px;
  }

  .college-logo {
    width: 30px;
  }

  .form-section {
    padding: 0px;
  }

  .admissions-banner {
    font-size: 6px;
  }

  .email-input, .password-input, .contact-input, .otp-input {
    padding: 0px 0px 0px 15px;
    font-size: 5px;
  }

  .input-icon i {
    font-size: 6px;
    left: 5px;
  }

  .submit-btn {
    padding: 0px 2px;
    font-size: 5px;
  }

  .form-overlay {
    height: 45%;
    width: 25%;
    right: 1%;
  }
}

@media (max-width: 360px) {
  .header-section {
    padding: 5px;
  }

  .contact-item {
    font-size: 10px;
  }

  .college-logo {
    width: 70px;
  }

  .admissions-banner {
    font-size: 18px;
  }

  .form-section {
    padding: 10px;
  }

  .email-input, .password-input, .contact-input, .otp-input {
    padding: 5px 5px 5px 15px;
    font-size: 12px;
  }

  .input-icon i {
    font-size: 14px;
  }

  .submit-btn {
    padding: 12px 20px;
    font-size: 16px;
  }

  .overlay-container {
    height: auto;
  }

  .swiper-container {
    height: 250px;
  }

  .swiper-slide {
    height: 250px;
  }
}

@media (min-width: 1440px) {
  .form-overlay {
    width: 35%;
    right: 12%;
  }

  .overlay-container {
    height: 700px;
  }

  .swiper-container {
    height: 700px;
  }

  .swiper-slide {
    height: 700px;
  }
}
