    :root {
      --jru-blue: #003366;
      --jru-gold: #ffd700;
      --light-blue: #e6f0fa;
      --light-gray: #f7fafc;
      --dark-gray: #2d3748;
      --white: #ffffff;
      --error-red: #e53e3e;
      --gray: #d1d5db;
      --jru-dark-blue: #002244;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark-gray);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-attachment: fixed;
  background: 
    linear-gradient(135deg, #e6ecf5 0%, #f7faff 40%, #eef3ff 100%), /* reduced from 0.85 to 0.4 */
    url("jrubg.jpg")
    no-repeat center center/cover;
}
  body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("jrubg.jpg");
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    pointer-events: none;
    z-index: -1;
  }
  body::after {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(161, 161, 161, 0.4); /* Black with 60% opacity */
    pointer-events: none;
    z-index: -1;
  }
    /* Header */
    header {
      background-color: var(--jru-blue);
      color: var(--white);
      padding: 20px 0;
      position: sticky;
      top: 0;
      z-index: 100;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .header-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .logo {
      display: flex;
      align-items: center;
    }

    .logo img {
      height: 50px;
      margin-right: 15px;
    }

    .logo-text h2 {
      font-size: 24px;
      line-height: 1.2;
    }

    .logo-text span {
      color: var(--jru-gold);
    }

    .logo-text p {
      font-size: 14px;
      opacity: 0.9;
    }

    .nav-links {
      display: flex;
      gap: 25px;
    }

    .nav-links a {
      color: var(--white);
      text-decoration: none;
      font-weight: 500;
      transition: color 0.3s;
    }

    .nav-links a:hover {
      color: var(--jru-gold);
    }

    /* Main Content */
    main {
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 40px 20px;
    }

    .login-container {
      display: flex;
      width: 100%;
      max-width: 1200px;
      align-items: center;
    }

    .welcome-content {
      flex: 1;
      color: var(--white);
      padding: 40px;
      max-width: 600px;
    }

    .welcome-content h1 {
      font-size: 2.5rem;
      margin-bottom: 20px;
      line-height: 1.2;
    }

    .welcome-content h1 span {
      color: var(--jru-gold);
    }

    .welcome-content p {
      font-size: 1.1rem;
      margin-bottom: 30px;
      opacity: 0.9;
    }

    .login-box {
      background: var(--white);
      border-radius: 12px;
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
      width: 100%;
      max-width: 450px;
      padding: 50px;
      margin-left: auto;
    }

    .login-header {
      margin-bottom: 30px;
      text-align: center;
    }

    .login-header h3 {
      font-size: 28px;
      color: var(--jru-blue);
      margin-bottom: 10px;
    }

    .login-header p {
      color: var(--dark-gray);
      font-size: 15px;
    }

    .login-form {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .form-group {
      position: relative;
    }

    .form-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: 500;
      color: var(--jru-blue);
    }

    .form-group input {
      width: 100%;
      padding: 14px 16px;
      border: 2px solid var(--gray);
      border-radius: 8px;
      font-size: 16px;
      transition: all 0.3s ease;
    }

    .form-group input:focus {
      border-color: var(--jru-blue);
      outline: none;
      box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.2);
    }

    .form-group .input-icon {
      position: absolute;
      right: 15px;
      top: 50px;
      color: var(--dark-gray);
      opacity: 0.7;
    }
    

    .remember-forgot {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: -10px;
    }

    .remember-me {
      display: flex;
      align-items: center;
    }

    .remember-me input {
      margin-right: 8px;
    }

    .forgot-link {
      color: var(--jru-blue);
      text-decoration: none;
      font-size: 14px;
    }

    .forgot-link:hover {
      text-decoration: underline;
    }

    .login-btn {
      padding: 15px;
      background: var(--jru-blue);
      color: white;
      border: none;
      border-radius: 8px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.3s;
      margin-top: 10px;
    }

    .login-btn:hover {
      background: var(--jru-dark-blue);
    }

    .divider {
      display: flex;
      align-items: center;
      margin: 25px 0;
      color: var(--dark-gray);
      font-size: 14px;
    }

    .divider::before,
    .divider::after {
      content: "";
      flex: 1;
      border-bottom: 1px solid var(--gray);
      margin: 0 10px;
    }

    .google-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 12px;
      background: white;
      color: var(--dark-gray);
      border: 1px solid var(--gray);
      border-radius: 8px;
      font-size: 16px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.3s;
      width: 100%;
    }

    .google-btn:hover {
      background: var(--light-gray);
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .google-btn i {
      margin-right: 10px;
      color: #DB4437;
      font-size: 20px;
    }

    .signup-link {
      text-align: center;
      margin-top: 20px;
      font-size: 15px;
    }

    .signup-link a {
      color: var(--jru-blue);
      font-weight: 600;
      text-decoration: none;
    }

    .signup-link a:hover {
      text-decoration: underline;
    }

    /* Error message styling */
    .alert-danger {
      background-color: #fee2e2;
      color: var(--error-red);
      padding: 12px 16px;
      border-radius: 8px;
      margin-bottom: 20px;
      border: 1px solid #fecaca;
      font-size: 14px;
    }

    /* Footer */
    footer {
      background: var(--jru-blue);
      color: var(--white);
      text-align: center;
      padding: 20px;
      font-size: 14px;
    }

    /* Responsive adjustments */
    @media (max-width: 900px) {
      .login-container {
        flex-direction: column;
      }

      .welcome-content {
        text-align: center;
        max-width: 100%;
        padding: 20px;
        margin-bottom: 30px;
      }

      .login-box {
        margin: 0 auto;
        padding: 40px 30px;
      }
    }

    @media (max-width: 768px) {
      .header-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
      }

      .nav-links {
        flex-wrap: wrap;
        justify-content: center;
      }
    }

    @media (max-width: 480px) {
      .login-box {
        padding: 30px 20px;
      }

      .login-header h3 {
        font-size: 24px;
      }

      .remember-forgot {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
      }

      .welcome-content h1 {
        font-size: 2rem;
      }
    }