/* IMPORT MODERN FONT */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* BODY: BACKGROUND IMAGE + DARK OVERLAY */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15), transparent 70%);
  position: relative;
}

/* NAVBAR STYLING */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background-color: #ffffff;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  z-index: 10;
  overflow: hidden; /* allows shine animation */
}

.navbar::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  transform: rotate(25deg);
  animation: shineMove 4s linear infinite;
}

@keyframes shineMove {
  0% { transform: rotate(25deg) translateX(-100%) translateY(0); }
  100% { transform: rotate(25deg) translateX(100%) translateY(0); }
}
.navbar img {
  height: 50px;
  width: auto;
  cursor: pointer;
}

/* PUSH CONTENT BELOW NAVBAR */
body {
  padding-top: 70px; 
}

/* CARD CONTAINER */
.application-container {
  width: 80vw;
  max-width: 900px;
  height: 80vh;
  padding: 50px;
  background: rgba(255,255,255,0.35); /* semi-transparent */
  backdrop-filter: blur(15px);
  border-radius: 25px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 8px 20px rgba(0,0,0,0.15);
  margin: 20px auto;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transform: translateY(20px);
  opacity: 1;
  animation: floatIn 0.7s forwards ease-out;
  position: relative;
  z-index: 1; /* above dark overlay */
}

/* FLOAT-IN ANIMATION */
@keyframes floatIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* LOGO */
.logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.logo-container img {
  max-width: 180px;
  height: auto;
}

/* HEADING */
h1 {
  text-align: center;
  color: #000000;
  margin-bottom: 40px;
  font-size: 36px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* FIELDS WRAPPER (CONTENT CONTAINER) */
.fields-wrapper {
  width: 66%;           /* 2/3 of card width */
  max-width: 600px;     
  margin: 0 auto;       /* centers the wrapper horizontally */
  display: flex;
  flex-direction: column;
  gap: 20px;            /* spacing between sections */
  color: #000000;
}

/* TEXT ELEMENTS */
.fields-wrapper p,
.fields-wrapper ul,
.fields-wrapper li,
.fields-wrapper h3 {
  color: #404040;
  line-height: 1.6;
}

.fields-wrapper h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.fields-wrapper ul {
  padding-left: 20px;
}

.fields-wrapper li {
  margin-bottom: 8px;
}

/* HR SEPARATOR */
hr {
  border: none;
  height: 1px;
  background: rgba(255,255,255,0.3);
  margin: 25px 0;
  border-radius: 5px;
}

/* SCROLLBAR STYLING */
.application-container::-webkit-scrollbar {
  width: 8px;
}

.application-container::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
}

.application-container::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.3);
  border-radius: 10px;
}

/* MOBILE SCROLL ADJUSTMENT */
@media(max-height: 700px) {
  .application-container {
    max-height: 90vh;
  }
}

@media (max-width: 768px) {
  .fields-wrapper {
    width: 90%;       
  }
}