@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #800000;
  --primary-light: #a52a2a;
  --bg-color: #f7f9fc;
  --text-dark: #1a202c;
  --text-muted: #4a5568;
  --card-bg: #ffffff;
  --shadow-sm: 0 4px 6px rgba(128, 0, 0, 0.05);
  --shadow-md: 0 10px 25px rgba(128, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body::before {
  content: '';
  position: fixed;
  top: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(128,0,0,0.06) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  bottom: 50px;
  left: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(128,0,0,0.04) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  z-index: 100;
  box-sizing: border-box;
  transition: var(--transition);
}

.nav-left .logo {
  height: 45px;
  object-fit: contain;
}

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
}

.nav-center a {
  color: var(--text-dark);
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
  transition: var(--transition);
}

.nav-right {
  display: flex;
  position: relative;
  gap: 20px;
  align-items: center;
}

.nav-right a {
  color: var(--text-dark);
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
  transition: var(--transition);
}

.nav-right a:hover, .nav-center a:hover {
  color: var(--primary);
}

.button2 {
  padding: 0 28px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background: linear-gradient(135deg, var(--primary), #a50000);
  box-shadow: 0 4px 15px rgba(128, 0, 0, 0.25);
}

.button2 h3 {
  font-family: "Poppins", sans-serif;
  color: white;
  font-weight: 500;
  font-size: 15px;
  margin: 0;
  letter-spacing: 0.5px;
}

.button2:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(128, 0, 0, 0.35);
}

.button2:active {
  transform: translateY(1px);
}

.portal-menu {
  padding: 140px 20px 80px;
  text-align: center;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  flex: 1; 
  box-sizing: border-box;
}

@keyframes slideUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.lpv1-school-top {
  padding-top: 20px;
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.lpv1-school-top__logo {
  margin: 0 0 40px 0;
}

.lpv1-school-top__logo-img {
  width: 140px;
  max-width: 100%;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.08));
  transition: transform 0.3s ease;
}

.lpv1-school-top__logo-img:hover {
  transform: scale(1.05);
}

.lpv1-school-top__button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 380px;
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid rgba(128, 0, 0, 0.08);
  padding: 28px 32px;
  text-align: center;
  text-decoration: none;
  margin: 0 auto 24px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.lpv1-school-top__button::before {
  content: '';
  position: absolute;
  top: 0; 
  left: 0; 
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.lpv1-school-top__button:hover::before {
  transform: scaleX(1);
}

.lpv1-school-top__button:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(128, 0, 0, 0.2);
}

.lpv1-school-top__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
  letter-spacing: -0.3px;
}

.lpv1-school-top__desc {
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.6;
}

footer {
    background-color: maroon;
    color: white;
    padding: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center; 
    position: relative;
    width: 93.4%;
}

.footer-left {
    display: flex;
    align-items: center; 
}

.footer-left p {
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    margin-left: 30px;
    
}

.footer-right {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
}

.footer-right a {
    text-decoration: none;
    text-align: right;
    font-family: "Montserrat", sans-serif;
    color: white;
}

.footer-content .logo {
    height: 40px;
}
