
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

:root {
  --blue: #0033a0;
  --gold: #ffc72c;
  --white: #ffffff;
  --gray: #f4f4f4;
  --text: #ffffff;
  --highlight: #ffc72c;
  --bg: #0b1f36;
}

body {
  font-family: 'Inter', sans-serif;
  background: url('background.png') no-repeat center center fixed;
  background-size: cover;
  color: var(--text);
  margin: 0;
  padding: 0;
}

.navbar {
  position: fixed;
  top: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-radius: 2rem;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  height: 40px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-text span:first-child {
  color: var(--highlight);
  font-weight: bold;
}

.logo-text span:last-child {
  color: var(--white);
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  transition: background 0.3s ease;
}

.nav-links li a.active,
.nav-links li a:hover {
  background: var(--highlight);
  color: black;
}

.login-top-right {
  position: fixed;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
  z-index: 1001;
}

.login-top-right a {
  background: var(--highlight);
  color: black;
  padding: 0.4rem 0.8rem;
  border-radius: 0.75rem;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.login-top-right a:hover {
  background: #ffd84d;
}

main {
  padding-top: 6rem;
  text-align: center;
}

main h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

footer {
  text-align: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.7);
  color: var(--text);
  border-radius: 1rem;
  width: fit-content;
  margin: 2rem auto;
}


/* Added container for better text alignment */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}


/* Container box with similar navbar color */
.container {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    background-color: #0a1a2f; /* Dark navy-like navbar color */
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    color: white;
}


/* Ensure spacing between navbar and main container */
body {
    margin-top: 90px; /* space below navbar */
}

.container {
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;
    background-color: #0a1a2f;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    color: white;
}

.nav-logo-text {
  font-weight: 700;
  color: var(--gold);
  text-shadow: 1px 1px 2px var(--blue);
  margin-left: 0.5rem;
}

main, .container, .content, section {
  margin-top: 2rem !important;
  padding-top: 1rem !important;
}

body {
  padding-top: 80px !important; /* Adjust based on actual navbar height */
}

main, .container, .content, section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* FIX: Proper spacing under navbar and inside content boxes */
body {
  padding-top: 70px !important; /* equal to navbar height */
}

.container, main, .content, section {
  margin-top: 0 !important;
  padding-top: 1.5rem !important; /* adds space between box top and text */
  box-sizing: border-box;
}

/* Adjusted Spacing Fix: Half the distance from navbar to box and box top to text */
body {
  padding-top: 35px !important; /* was 70px, now half */
}

.container, main, .content, section {
  margin-top: 0 !important;
  padding-top: 0.75rem !important; /* was 1.5rem, now half */
  box-sizing: border-box;
}

/* Further Adjusted Spacing Fix: Quarter of original spacing */
body {
  padding-top: 18px !important; /* was 35px */
}

.container, main, .content, section {
  margin-top: 0 !important;
  padding-top: 0.375rem !important; /* was 0.75rem */
  box-sizing: border-box;
}




.floating-login {
  position: fixed;
  top: 15px;
  right: 20px;
  background-color: #FFD700;
  color: black;
  border: 2px solid #000;
  padding: 10px 16px;
  border-radius: 50px;
  font-weight: bold;
  font-family: inherit; /* Inherit the same font as surrounding elements/nav bar */
  cursor: pointer;
  z-index: 999;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.floating-login:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

