@import url('https://fonts.googleapis.com/css2?family=Advent+Pro:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --primary: #275B81;
  --accent: #185c8d;
  --nav:#E5EEF2;
  --light: #f8f9fa;
  --dark: #1b2a38;
  --neutral-light: #ffffff;
  --text-grey: #6c757d;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(216, 216, 216, 0.164);
}

::-webkit-scrollbar-thumb {
  background-color: rgba(170, 170, 170, 0.724);
  border-radius: 15px;
  border: 2px solid #20151500;
  transition: all 0.2s ease-in-out;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--accent);
}

body {
  background-color: var(--light);
  font-family: 'Advent Pro', sans-serif;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://www.transparenttextures.com/patterns/geometry.png');
  opacity: 1;
  animation: scrollPattern 10s linear infinite;
  z-index: -1;
}

@keyframes scrollPattern {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(100px);
  }
}

header {
  width: 100%;
  padding: 2rem 4rem 5rem 6rem;
  background: var(--neutral-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9998;
  animation: fadeIn 0.3s ease forwards;
}


.popup-box {
  font-size: 1.75rem;
  background: var(--neutral-light);
  padding: 60px 70px;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: popUp 0.3s ease forwards;
}

.popup-box h2 {
  margin-bottom: 10px;
  font-size: 3rem;
}

.popup-box p {
  font-weight: 700;
  font-size: 3rem;
  margin-bottom: 20px;
}

.popup-box button {
  background: var(--accent);
  color: var(--neutral-light);
  border: none;
  padding: 10px 20px;
  font-size: 1.3rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all .22s ease-in-out;
  margin: 16px 0px 0px 0px;
}

.popup-box button:hover {
  background: var(--primary);
  transform: scale(1.03);
}

@keyframes popUp {
  to {
    transform: scale(1);
    opacity: 1;
  }
}

header .logo img {
  width: 16em;
  height: 4rem;
  transform: scale(1.25);
}

.lang {
  position: relative;
  display: inline-block;
  cursor: pointer;
  background-color: #fdfdfd00;
  color: var(--accent);
  padding: 1rem;
  border-radius: 8px;
  font-size: 1.7rem;
  font-weight: 600;
  transition: all .3s ease-in-out;
  visibility: hidden;

}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
}

.lang:hover {
  transform: scale(1.05);
}

.lang-menu {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  gap: 0.0rem;
  list-style: none;
  margin: 0;
  padding: 0.5rem 1rem;
  position: absolute;
  top: 100%;
  left: -6.5rem;
  border-radius: 15px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: opacity 0.3s ease-in-out,
    transform 0.3s cubic-bezier(0.3, 1.5, 0.4, 1);
}


.lang-menu li {
  padding: 0.5rem;
  border-radius: 8px;
  border: #b4d4de 1px solid;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.032);
  background-color: var(--primary);
  transition: all .2s ease-in-out;
}

.lang-menu li:hover {
  transform: scale(1.03);
  background-color: var(--accent);
}

.lang:hover .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  /* Normal size */
}




.lang-menu li:last-child {
  border-bottom: none;
}

.lang-menu li a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #d4e3e9;
}

header .goback {
  font-size: 1.3rem;
  font-weight: 700;
}

header .goback a {
  text-decoration: none;
}

header .goback p {
  color: var(--primary);
  transition: all 0.3s ease-in-out;
}

header .goback p:hover {
  color: var(--accent);
  transform: scale(1.02);
}

.wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem;
}

.container {
  display: flex;
  width: 90%;
  max-width: 1400px;
  min-height: 70vh;
  background: rgba(255, 255, 255, 0.906);
  backdrop-filter: blur(30px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
}

.login-section {
  flex: 1;
  padding: 3rem;
  border-right: 1px solid #eee;
}

.login-section h2 {
  margin-bottom: 2rem;
  font-size: 2.4rem;
  text-align: center;
}

.login-section form {
  display: flex;
  flex-direction: column;
}

.login-section label {
  margin-bottom: 0.8rem;
  font-weight: bold;
  font-size: 1.2rem;
}

.login-section input,
select {
  padding: 1rem;
  margin-bottom: 2rem;
  border: 1px solid #ccc;
  border-radius: 25px;
  font-size: 1.1rem;
}

.login-section button {
  padding: 1.2rem;
  background-color: var(--accent);
  border: none;
  border-radius: 30px;
  color: var(--light);
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
  position: relative;
  overflow: hidden;
}

.login-section button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  transition: left 0.4s ease-in-out;
}

.login-section button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(20, 146, 184, 0.7);
}

.login-section button:hover::before {
  left: 100%;
}

.login-section a {
  padding: 1rem;
  display: block;
  text-align: center;
  text-decoration: none;
  margin-top: 1rem;
  color: var(--primary);
  font-size: 1.5rem;
  transition: all .3s ease-in-out;
}

.login-section a:hover {
  transform: scale(1.02);
  color: var(--accent);
}

.password-wrapper {
  position: relative;
  width: 100%;
}

.password-wrapper input {
  line-height: normal;
  width: 100%;
  padding: 1rem;
  padding-right: 45px;
  font-size: 1.1rem;
  border: 1px solid #ccc;
  border-radius: 25px;
  box-sizing: border-box;
  height: 50px;
}

.password-wrapper i {
  position: absolute;
  top: 50%;
  right: 15px;
  font-size: 22px;
  top: 17.5%;
  color: var(--text-grey);
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
  line-height: 1;
  vertical-align: middle;
}

.notes-section {
  flex: 1;
  transition: transform 0.3s ease-in-out;
  padding: 3rem;
}

.notes-section:hover {
  transform: translateY(-5px);
}

.notes-section h2 {
  margin-bottom: 1.5rem;
  font-size: 2.4rem;
}

.notes-section p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 2rem;
}

.notes-section ul {
  list-style: disc inside;
  font-size: 1.1rem;
}

.notes-section li {
  margin-bottom: 0.8rem;
  font-size: 1.5rem;
}

/* Fade-out animation for page exit */
.page-exit {
  animation: fadeOut 0.5s forwards;
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/* Fade-in animation for page entry */
.page-enter {
  opacity: 0;
  animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}