:root {
  --auth-blue: #06327b;
  --auth-bright-blue: #0d6efd;
  --auth-orange: #ec8e14;
  --auth-surface: #ffffff;
  --auth-muted: #667085;
}

html,
body {
  height: auto !important;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto !important;
}

.contact-us {
  min-height: 100vh;
  padding-top: 0 !important;
}

/* The retired header artwork previously supplied this area's height. Keep a
   purposeful portal banner and normal document flow without that image. */
.contact-us .top-header {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  background-position: center;
  background-size: cover;
}

.contact-us .top-header .white-box {
  float: none !important;
  width: min(92%, 520px);
  margin: 0 auto;
  padding: 14px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(6, 50, 123, .12);
}

.contact-us .feature-section .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.contact-us .navigation-mrg {
  width: 100%;
  margin: 0 !important;
}

.contact-us .feature-single-item {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center;
  background-size: cover;
}

.contact-us .bg-white.pt-5 {
  margin: 0;
  padding: 28px 24px 36px !important;
  align-items: flex-start;
}

.contact-us .image-section img {
  width: 100%;
  object-fit: cover;
}

.contact-us .image-section .col-6 img {
  height: 94px;
}

.contact-us .image-section .carousel img {
  height: 205px;
}

@media (min-width: 992px) {
  .auth-signin .bg-white.pt-5 > .col-md-6:first-child {
    flex: 0 0 58%;
    max-width: 58%;
  }

  .auth-signup .bg-white.pt-5 > .col-md-12 > .row > .col-md-6:first-child {
    flex: 0 0 65%;
    max-width: 65%;
  }

  .auth-signin .bg-white.pt-5 > .image-section {
    flex: 0 0 42%;
    max-width: 42%;
  }

  .auth-signup .bg-white.pt-5 > .col-md-12 > .row > .image-section {
    flex: 0 0 35%;
    max-width: 35%;
  }
}

.sign-in-from {
  max-width: 520px;
  margin: 0 auto;
  padding: 24px !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: var(--auth-surface);
  box-shadow: 0 12px 36px rgba(6, 50, 123, 0.12);
}

.sign-in-from > p {
  color: var(--auth-muted);
  line-height: 1.6;
}

.sign-in-from .form-group {
  margin-bottom: 18px;
  text-align: left;
}

.sign-in-from .form-label {
  color: #24324a;
  font-size: 0.9rem;
  margin-bottom: 7px;
}

.sign-in-from .form-control {
  min-height: 46px;
  border: 1px solid #d5ddeb;
  border-radius: 10px;
  padding: 10px 13px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.sign-in-from .form-control:focus {
  border-color: var(--auth-bright-blue);
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.12);
}

.sign-in-from .btn-primary {
  min-height: 46px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--auth-blue), var(--auth-bright-blue));
  box-shadow: 0 8px 18px rgba(13, 70, 147, 0.2);
}

.sign-in-from .btn-primary:disabled {
  cursor: wait;
  opacity: .7;
}

#loginMessage,
#formMessage {
  min-height: 24px;
  border-radius: 8px;
  font-size: .9rem;
}

.auth-switch {
  display: block;
  margin-top: 22px !important;
  color: var(--auth-muted);
}

.auth-switch a {
  font-weight: 700;
}

@media (max-width: 767.98px) {
  html,
  body {
    height: auto !important;
    min-height: 100%;
    overflow-y: auto !important;
  }

  .container,
  .container-fluid,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .contact-us > .container-fluid > .row > .col-md-5 {
    min-height: auto !important;
    padding: 14px 16px 18px !important;
  }

  .contact-us > .container-fluid > .row > .col-md-5 .text-center.pt-4 {
    padding-top: 0 !important;
  }

  .contact-us > .container-fluid > .row > .col-md-5 .d-flex.flex-column {
    position: static !important;
    transform: none !important;
  }

  .english-heading {
    font-size: 1.05rem !important;
    line-height: 1.4;
  }

  .marathi-heading {
    font-size: 1rem !important;
    line-height: 1.45;
  }

  .logo-wrapper {
    width: 92px !important;
    height: 92px !important;
    margin: 12px 0 6px !important;
    padding: 8px !important;
  }

  .logo-img {
    width: 74px !important;
    max-height: 76px !important;
  }

  .alumni-text {
    font-size: 1.55rem !important;
    margin-top: 8px !important;
  }

  .top-header {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
  }

  .top-header .white-box {
    float: none !important;
    width: 100% !important;
    max-width: 340px;
    border-radius: 10px;
    font-size: .95rem;
  }

  .top-header .header-image {
    display: none;
  }

  .navigation-mrg {
    margin-top: 0 !important;
  }

  .feature-section {
    margin-bottom: 0 !important;
    padding-top: 0 !important;
  }

  .feature-section .container {
    padding: 0 !important;
  }

  .feature-section .row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-section .feature-content {
    padding: 12px 4px !important;
  }

  .feature-section h6 {
    font-size: .85rem;
  }

  .feature-section p {
    display: none;
  }

  .contact-us .bg-white.pt-5 {
    padding: 18px 14px 100px !important;
  }

  .bg-white.pt-5 .col-md-12,
  .bg-white.pt-5 .col-md-6 {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .sign-in-from {
    width: 100%;
    max-width: 520px;
    padding: 20px 16px !important;
  }

  .image-section {
    display: none !important;
  }

  .left-fixed-box {
    display: none !important;
  }

  .floating-call-btn {
    right: 14px !important;
    bottom: 14px !important;
    width: 50px !important;
    height: 50px !important;
  }

  .call-label {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .sign-in-from {
    margin: 0 12px;
  }

  .alumni-text {
    font-size: 2rem !important;
  }

  .contact-us .bg-white.pt-5 {
    padding: 24px 16px 32px !important;
  }

  .contact-us .image-section .carousel img {
    height: 175px;
  }
}
