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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(180deg, #0a1f44, #1e3a8a);
  color: #e0f2fe;
  line-height: 2.0;
}

/* Header */
header {
  background: rgba(9, 17, 51, 0.65);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 3rem;
  position: sticky;
  top: 15px;
  border-radius: 25px;
  width: 70%;
  left: 15%;
  z-index: 1000;
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.logo {
  font-size: 1.9rem;
  font-weight: 700;
  color: #3b82f6;
  display: flex;
  align-items: center;
  gap: 0.5rem;

}

.logo a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}


nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: #bfdbfe;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

nav a:hover {
  color: #3b82f6;
  background: rgba(255, 255, 255,0.8);
}


nav a.active {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
}

nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #3b82f6;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 50%;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 0 2rem;
}

.hero video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0.5;
  filter: brightness(0.7);
}

.hero-content {
  z-index: 2;
  max-width: 800px;
  padding: 3rem;
  margin: 2rem auto;
  background: rgba(30, 58, 138, 0.3);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-content img {
  width: 250px;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: #000000 2px solid;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: #dbeafe;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: #bfdbfe;
}

.btn {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  color: #ffffff;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn:hover {
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Features Section */
.features {
  padding: 5rem 3rem;
  text-align: center;
  background: linear-gradient(180deg, #1e3a8a, #0a1f44);
}

.features h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.card {
  background: rgba(30, 58, 138, 0.5);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  max-width: 500px;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  }


.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #93c5fd;
}

.card p {
  font-size: 1rem;
  color: #bfdbfe;
  margin-bottom: 1.5rem;
}

.card a {
  text-decoration: none;
  color: #3b82f6;
  font-weight: 500;
  transition: color 0.3s ease;
}

.card a:hover {
  color: #60a5fa;
  text-decoration: underline;
}

/* Footer */
footer {
  background: rgba(9, 17, 51, 0.9);
  padding: 0;
  margin-top: 1rem;
  text-align: center;
  font-size: 0.95rem;
  
  border-top: 3px solid #3b82f6;
  backdrop-filter: blur(10px);
  padding-bottom: 1.5rem;
  
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Extras */

.card-mission {
  background: rgba(13, 36, 79, 0.6); /* semi-transparent dark navy */
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 900px;
  margin: 3rem auto;
  color: #e0f2fe;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(59, 130, 246, 0.3);
  backdrop-filter: blur(12px);
  animation: fadeInUp 1s ease;
}

.card-mission h2 {
  font-size: 2.3rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-mission p {
  font-size: 1.05rem;
  line-height: 1.8;
  text-align: justify;
  color: #cfeafe;
}

.card-content {
  background: rgba(30, 58, 138, 0.5); /* Deep blue semi-transparent background */
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 2rem 4rem;
  border-radius: 20px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  max-width: 900px;
  margin: 2rem auto;
  backdrop-filter: blur(6px);
  line-height: 2rem;
  }

.card-content h2 {
  color: #93c5fd; 
  font-size: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.card-content p {
  color: #e0f2fe;
  font-size: 1rem;
  margin-bottom: 2rem;
  
}


/* Image inside the card */
.card-image {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  margin: 1rem auto;
  display: block;
}


.page-header {
  background: linear-gradient(135deg, rgba(14, 34, 89, 0.7), rgba(0, 89, 171, 0.6));
  border-radius: 20px;
  padding: 2.5rem 2rem;
  margin: 1rem auto;
  max-width: 960px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-header .logo {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  color: #cde6ff;
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
  display: flex;
  justify-content: center;
}

/* Navigation below the title */
.page-header nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

.page-header nav li {
  display: inline-block;
}

.page-header nav a {
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  background-color: transparent;
  color: #ffffff;
  font-weight: 500;
  font-size: rem;
  transition: color 0.3s ease;
  box-shadow: none;
}

.page-header nav a:hover,
.page-header nav a:focus {
  color: #3b82f6;
  outline: none;
}

#how ul {
  line-height: 1.8;
}

/* Go to Top Button Style */
.go-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    color: #ffffff;
    padding: 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 50px;
    transition: all 0.3s ease;
}
.go-to-top:hover {
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(59, 130, 246, 0.4);
}

.editor-links {
  display: flex;
  justify-content: center; /* centres links horizontally */
  gap: 1.5rem; /* spacing between links */
  padding: 1rem 0;
  
}

.editor-links a {
  text-decoration: none;
  color: #0004ff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.editor-links a:hover {
  color: #22a2e7; /* highlight on hover */
}
