:root {
  --brand1: #1e3c72;
  --brand2: #2a5298;
  --accent1: #ff6f61;
  --accent2: #ff9966;
  --text-dark: #222;
  --text-light: #fff;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
}

header {
  background: linear-gradient(to right, rgb(0, 0, 0), rgb(26, 26, 75));
  color: #fff;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.25s ease;
}

nav a:hover,
nav a.active {
  background: #1f1f1f;
}

main.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 40px 20px;
  animation: fadeIn 0.8s ease;
  background-image: url('/Online\ exam\ concept\ .png');
  background-size: cover;
  padding-bottom: 80px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero h1 {
  font-size: 48px;
  margin: 10px 0 15px;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 20px;
  opacity: 0.95;
  margin-bottom: 35px;
  max-width: 600px;
}

.buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.btn.alt {
  background: linear-gradient(135deg, #4caf50, #66bb6a);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.btn:active {
  transform: translateY(-1px);
}

footer {
  background: linear-gradient(to right, rgb(0, 0, 0), rgb(26, 26, 75));
  color: #aaa;
  text-align: center;
  padding: 14px;
}

.startButton{
  background-color: #29325a;
}

.mark{
  align-content: center;
  padding: 0;
}
/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }
  
  .hero p {
    font-size: 18px;
  }
  
  .buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }
  
  .btn {
    width: 100%;
  }
  
  nav a {
    margin-left: 10px;
    font-size: 14px;
    padding: 6px 8px;
  }
}