:root{
  --primary:#0f2e1d;
  --secondary:#174d2f;
  --accent:#38b000;
  --text:#eaf7ee;
  --radius:12px;
}

/* RESET */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:Arial,sans-serif;
  background:linear-gradient(to bottom,#0f2e1d,#174d2f);
  color:var(--text);
  line-height:1.6;
  overflow-x:hidden;
}

/*BACKGROUND BUBBLES*/

.bg-bubbles{
  position:fixed;
  inset:0;
  overflow:hidden;
  pointer-events:none;
  z-index:0;
}

.bg-bubbles span{
  position:absolute;
  bottom:-120px;
  border-radius:50%;
  background:rgba(255,255,255,0.5);
  animation:bubbleUp linear infinite;
}

/* Bubble Sizes */

.bg-bubbles span:nth-child(1){
  left:10%;
  width:10px;
  height:10px;
  animation-duration:12s;
}

.bg-bubbles span:nth-child(2){
  left:25%;
  width:14px;
  height:14px;
  animation-duration:18s;
}

.bg-bubbles span:nth-child(3){
  left:40%;
  width:8px;
  height:8px;
  animation-duration:10s;
}

.bg-bubbles span:nth-child(4){
  left:60%;
  width:12px;
  height:12px;
  animation-duration:16s;
}

.bg-bubbles span:nth-child(5){
  left:80%;
  width:9px;
  height:9px;
  animation-duration:14s;
}

@keyframes bubbleUp{
  0%{
    transform:translateY(0);
    opacity:0;
  }

  20%{
    opacity:1;
  }

  100%{
    transform:translateY(-120vh);
    opacity:0;
  }
}

/*HEADER*/

.header{
  position:sticky;
  top:0;
  z-index:1000;

  display:flex;
  justify-content:space-between;
  align-items:center;

  padding:18px 8%;

  background:rgba(0,0,0,0.3);
  backdrop-filter:blur(8px);
}

.logo h1{
  font-size:1.5rem;
}

/*NAVIGATION*/

#menu-toggle{
  display:none;
}

nav{
  display:flex;
}

.nav-links{
  display:flex;
  gap:20px;
  list-style:none;
}

.nav-links a{
  text-decoration:none;
  color:white;
  transition:0.3s;
}

.nav-links a:hover{
  color:var(--accent);
}

/*HAMBURGER*/

.hamburger{
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
}

.hamburger span{
  width:28px;
  height:3px;
  background:white;
  border-radius:5px;
}

/* HERO*/
.hero-content{
  max-width:600px;
}

.hero-content h1{
  font-size:3rem;
  margin-bottom:15px;
}

.hero-content p{
  margin-bottom:25px;
}

/*BUTTONS*/

.btn{
  display:inline-block;
  padding:12px 24px;

  background:var(--accent);

  color:white;
  text-decoration:none;

  border:none;
  border-radius:30px;

  cursor:pointer;

  transition:0.3s;
}

.btn:hover{
  transform:scale(1.05);
}

/*SECTIONS*/

section{
  padding:60px 8%;
  position:relative;
  z-index:2;
}

section h2{
  text-align:center;
  margin-bottom:30px;
  color:var(--accent);
}

/*CARDS*/

.cards,
.dashboard-grid,
.results-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
}

.card,
.dashboard-card,
.result-card{
  background:rgba(255,255,255,0.08);

  padding:25px;

  border-radius:var(--radius);

  transition:0.3s;
}

.card:hover,
.dashboard-card:hover,
.result-card:hover{
  transform:translateY(-5px);
}

/*FORMS*/

form{
  display:flex;
  flex-direction:column;
  gap:15px;
}

input,
textarea,
select{
  padding:14px;

  border:none;
  border-radius:10px;

  background:rgba(6, 128, 32, 0.589);

  color:--text;
}

input:focus,
textarea:focus,
select:focus{
  outline:2px solid var(--accent);
}

textarea{
  min-height:120px;
}

/*LOGIN*/

.login-section{
  min-height:80vh;

  display:flex;
  justify-content:center;
  align-items:center;

  padding:40px 8%;
}

.login-container{
  width:100%;
  max-width:450px;

  background:rgba(255,255,255,0.08);

  padding:40px;

  border-radius:var(--radius);
}

.portal-buttons{
  display:flex;
  gap:10px;
  margin-bottom:20px;
}

/*FOOTER*/

.footer{
  text-align:center;
  padding:20px;
  background:#08150d;
}

/*RESPONSIVE*/

@media(max-width:768px){

  .hamburger{
    display:flex;
  }

  nav{
    position:absolute;
    top:100%;
    left:0;

    width:100%;

    background:var(--secondary);

    max-height:0;
    overflow:hidden;

    transition:0.3s;
  }

  .nav-links{
    flex-direction:column;
    text-align:center;
    gap:0;
  }

  .nav-links a{
    display:block;
    padding:15px;
  }

  #menu-toggle:checked + .hamburger + nav{
    max-height:400px;
  }

  .hero-content h1{
    font-size:2rem;
  }
}
body{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.site-main{
  flex:1;
}
.school-image{
  display:block;
  width:100%;
  max-width:900px;
  margin:30px auto;
  border-radius:12px;
}

body{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.site-main{
  flex:1;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 1px 0%;
  background:  --secondary;
  margin-left: 0px;
}

