/* Base Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  
  /* --- BACKGROUND IMAGE CONFIGURATION --- */
  background-image: url('https://i.imgur.com/ZmbPlHI.png'); /* Path to your image */
  background-size: cover;                  /* Fills screen without distortion */
  background-position: center;             /* Centers the image */
  background-repeat: no-repeat;            /* Prevents tiling */
  background-attachment: fixed;            /* Keeps image fixed on scroll */
  background-color: #f4f4f5;               /* Fallback color */
  
  /* Page Centering Layout */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 20px;
}

/* Optional: Semi-transparent Overlay to keep card legible */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2); /* Adjust opacity (0.2 = 20% dark tint) */
  z-index: 0;
}

/* Ensure navigation and card sit on top of the overlay */
.nav-box,
.login-card {
  position: relative;
  z-index: 1;
}

/* Top-Right Nav Box */
.nav-box {
  position: absolute;
  top: 20px;
  right: 30px;
  display: flex;
  gap: 20px;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.nav-link {
    transition: transform 0.2s ease;
}

.nav-link:hover {
    transform: translateY(-4px) scale(1.01);
}


/* Card Styling */
.login-card {
  background-color: #71717a;
  width: 100%;
  max-width: 440px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.30);
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.10);
/* Blur effect for content passing under/behind the card */
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(2px); /* Safari support */

  /* Subtle subtle light border to enhance the glass look */
  border: 1px solid rgba(255, 255, 255, 0.10);
  
  width: 100%;
  max-width: 440px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.50);
  overflow: hidden;
}

/* Semi-transparent Dark Header inside the Card */
.banner-header {
  /* Using semi-transparent dark navy so the blur works here too */
  background-color: rgba(15, 23, 42, 0.10);
  padding: 24px;
  text-align: center;
}

/* Header Banner inside Card */
.banner-header {
  background-color: #0f172a;
  padding: 24px;
  text-align: center;
}

.main-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: -145px;
  margin-top: -30px;
}
.main-logo {
    transition: transform 0.2s ease;
}

.main-logo:hover {
    transform: translateY(-4px) scale(1.01);
}


.study-romanian-img {
  max-width: 300px;
  height: auto;
  margin-bottom: -100px;
  margin-top: 0px;

}


.banner-tagline {
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  margin-top: 6px;
  height: auto;
  margin-bottom: -15px;

}

/* Form & Body Layout */
.card-body {
  padding: 32px 28px;
}

.title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #18181b;
  margin-bottom: 4px;
  margin-top: -20px;
  text-align: center;


}

.subtitle {
  font-size: 0.875rem;
  color: #fff;
  margin-bottom: 24px;
  text-align: center;

}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #27272a;
  margin-bottom: 6px;
}

.form-group input {
  padding: 10px 14px;
  border: 1px solid #e4e4e7;
  border-radius: 6px;
  font-size: 0.95rem;
  outline: none;
}

.form-group input:focus {
  border-color: #2563eb;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.checkbox-group label {
  font-size: 0.85rem;
  color: #fff;
}

.btn-signin {
  width: 100%;
  padding: 12px;
  background-color: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}

.btn-signin {
    transition: transform 0.2s ease;
}

.btn-signin:hover {
  background-color: #008000;
  transform: translateY(-4px) scale(1.01);
}

.card-footer {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 0.875rem;
}

.signup-text {
  color: #71717a;
}

.btn-apply {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.btn-apply {
    transition: transform 0.2s ease;
}

.btn-apply:hover {
    transform: translateY(-3px) scale(1.01);
}
