html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.vh-100 { height: 100vh !important; }

.left-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url(/assets/building-dd1a3cab59510d9fbd0e036a072bb19f83baa76cd1e6c7e1a4fec9f43fbe3f0d.jpg) no-repeat center center/cover;
}

.left-overlay {
  background-color: rgba(0, 51, 102, 0.85);
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
}

.left-content {
  position: relative;
  text-align: left;
  color: white;
  max-width: 500px;
  z-index: 2;
}

.left-content h1 {
  font-weight: bold;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.left-content p {
  font-size: 1.1rem;
}

/* ✅ Keep right panel centered always */
.right-panel {
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 100vh;
  padding: 2rem;
  transition: all 0.3s ease;
}

.card { border-radius: 1rem; overflow: hidden; }

.btn-primary {
  background-color: #063261;
  border: none;
}

.btn-primary:hover { background-color: #052649; }

/* ✅ Responsive Fixes */
@media (max-width: 768px) {
  .vh-100 { height: auto !important; }

  .left-panel {
    height: 220px;
    clip-path: none;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .left-overlay { clip-path: none; }

  .left-content {
    text-align: center;
    padding: 1rem;
  }

  .left-content h1 {
    font-size: 1.3rem;
    margin-top: 30px;
  }

  .left-content p { font-size: 0.9rem; }

  .right-panel {
    min-height: auto;
    padding: 2rem 1rem;
    justify-content: center !important; /* 🧭 force center vertically */
    align-items: center !important;
    margin-top: 0; /* remove negative margin */
  }

  .card {
    width: 100%;
    max-width: 420px;
    box-shadow: none;
    border-radius: 1rem;
  }

  .btn-primary {
    font-size: 1rem;
    padding: 0.75rem;
  }
}
