:root {
  --red: #d80000;
  --pink: #f8c8dc;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
}

/* =========================
HEADER / NAVBAR
========================= */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--red); /* red background */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 8%;
  z-index: 1100;
  color: var(--white);
}

.logo h2 {
  font-size: 22px;
}

.logo p {
  font-size: 12px;
  opacity: 0.9;
}

/* NAV MENU */
.nav-menu {
  display: flex;
  gap: 25px;
}

.nav-menu a {
  color: var(--white);
  font-weight: 500;
  transition: 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--pink);
  transform: translateY(-2px);
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1200;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: var(--white);
  margin: 4px 0;
  transition: 0.4s ease;
}

/* Transform hamburger to X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* =========================
HERO / LOGIN
========================= */
.login-hero {
  height: 100vh;
  background-image: url('Expert-training.jpeg'); /* Replace with your image path */
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 90px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(216,0,0,0.5);
}

.login-container {
  position: relative;
  background: rgba(255,255,255,0.95);
  padding: 40px;
  border-radius: 10px;
  width: 350px;
  text-align: center;
  z-index: 1;
}

.login-container h2 {
  margin-bottom: 20px;
  color: var(--red);
}

.login-container input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.password-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.login-container button {
  width: 100%;
  padding: 12px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.login-container button:hover {
  background: #b00000;
}

#loginError {
  color: red;
  margin-top: 10px;
}

/* =========================
FOOTER
========================= */
.footer {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 15px 20px;
  width: 100%;
  position: relative;
  bottom: 0;
}

/* =========================
MOBILE RESPONSIVE
========================= */
@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 60px;
    right: 0;
    background: var(--red);
    flex-direction: column;
    width: 200px;
    display: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    padding: 10px 15px;
  }

  .hamburger {
    display: flex;
  }

  .login-container {
    width: 90%;
    padding: 30px;
  }

  .login-container h2 {
    font-size: 1.8rem;
  }
}
.footer-credit {
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
  color: #fcfcfc;
}

.footer-credit a {
  color: #7aa5f5; /* matches your red/pink brand */
  text-decoration: none;
  font-weight: 500;
}

.footer-credit a:hover {
  text-decoration: underline;
  color: #fff;
}