html, body { scroll-behavior: smooth; }
    
body {
    /* background-image: url("{% static 'css/img/whitebackground.png' %}"); */
    background-image: url('img/whitebackground.png');
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: white;    
    box-shadow: 0 4px 12px rgba(173, 202, 255, 0.3);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #d8e9ff;
    transition: all 0.3s ease;
    /* background-image: url("{% static 'css/img/whitebackground.png' %}"); */
    background-image: url('img/whitebackground.png');
}

    /* #title:hover { color: #2563EB; } */
.main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1.5rem;
    gap: 6rem;
    min-height: calc(100vh - 72px);
    align-items: center;
    transition: all 0.4s ease-in-out;
}
.leftQuoteBox {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.4s ease-in-out;
}
.leftQuoteBox h2 {
    font-size: 1.05rem;
    font-weight: 400;
    color: #333;
    max-width: 600px;
    line-height: 1.6;
    min-height: 140px;
    text-align: justify;
    opacity: 0;
    animation: fadeUp 1.2s ease forwards;
    animation-delay: 0.2s;
    transition: all 0.4s ease-in-out;
    margin-bottom: 20px;
}
.leftQuoteBox h2::first-letter {
    font-size: 4rem;
    font-weight: 600;
    color: #2b2b2b; /* darker gray */
    line-height: 1; 
}
.leftQuoteBox img {
    width: 100%;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    height: 260px;
    object-fit: contain;
    opacity: 0;
    animation: zoomIn 1s ease forwards;
    animation-delay: 0.4s;
    transition: all 0.8s ease-in-out;
}
@keyframes fadeUp {
    0% { transform: translateY(40px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}
@keyframes zoomIn {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
#loginForm {
    width: 45%;
    padding: 2rem;
    border-radius: 1rem;
    background: white;
    min-height: 460px;
    box-shadow:
    -35px 0 60px -30px rgba(105, 115, 120, 0.4), /* Dark Silverish shadow */
    65px 0 140px -20px rgba(105, 115, 120, 0.6), /* Dark Silverish with more opacity */
    0 20px 40px rgba(105, 115, 120, 0.4), /* Soft Silver glow */
    0 -10px 30px rgba(105, 115, 120, 0.3); /* Slight silver tint */

    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    transition: all 0.4s ease-in-out;
}
#loginForm h1 {
    font-size: 2rem;
    font-weight: 600;
    color: black;
    text-align: center;
    margin-bottom: 1rem;
}
.formLabel {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}
.formInput {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #c9dffd;
    border-radius: 0.5rem;
    background-color: #f5f9ff;
    font-size: 1rem;
    transition: 0.3s;
}
.formInput:focus {
    outline: none;
    background-color: #e4effc;
    border-color: #2563EB;
}
#passwordInputContainer {
    display: flex;
    align-items: center;
    position: relative;
}
#password { flex: 1; }
.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 22px;
    height: 22px;
    fill: #666;
    transition: fill 0.3s;
}
.toggle-password:hover {
    fill: black;
}
#loginButton {
    background-color: black;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}
#loginButton:hover {
    background-color: #575c68;
    cursor: pointer;
}

.leftQuoteBox {
    width: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.4s ease-in-out;
}

.leftQuoteBox h2 {
  font-size: 0.95rem;
  max-width: 100%;
  min-height: 120px;
}

.leftQuoteBox img {
  max-width: 100%;
  height: 200px;
}

#loginForm {
  width: 360px;
  padding: 1.5rem;
  min-height: 400px;
  gap: 0.8rem;
}
#passwordInputContainer {
  position: relative;
}

#togglePasswordBtn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

#togglePasswordBtn svg {
  width: 24px;
  height: 24px;
  stroke: #666;
}

#togglePasswordBtn:hover svg {
  stroke: black;
}
/* header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 2rem;  
    background-image: url('img/whitebackground.png');
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: background 0.3s;
} */

.header-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;  /* ✅ removed padding */
}
/* .header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
} */

@media (max-width: 1024px) {
    .main {
    flex-direction: column;
    padding: 2rem;
    gap: 2rem;
    }
    .leftQuoteBox, #loginForm {
    width: 90%;
    }
    .leftQuoteBox img {
    height: auto;
    }
}