/* Header Styling */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #101826;
    padding: 10px 20px; /* Adjusted padding */
    display: flex;
    justify-content: space-between; /* Space between logo & nav */
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
/* ✅ Ensure the Page Content Doesn't Go Under Header */
body {
    padding-top: 60px; /* Matches header height */
}

/* Logo Button (Smaller Clickable Area) */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 5px 12px; /* Smaller padding */
    border-radius: 25px;
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    transition: background 0.3s ease, transform 0.2s ease;
    max-width: fit-content; /* Prevents it from stretching */
}

/* Logo Image */
.logo-img {
    width: 35px; /* Adjust logo size */
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

/* RISO Text */
.logo h1 {
    font-size: 20px; /* Smaller text */
    color: white;
    margin: 0;
}

/* Hamburger Menu Icon */
.hamburger {
    font-size: 22px;
    margin-left: 5px;
    display: none; /* Hidden on large screens */
}

/* Navigation Menu */
nav {
    flex-grow: 1; /* Allow the nav to expand */
    display: flex;
    justify-content: flex-end; /* Push menu to the right */
    align-items: center;
    margin-right: 40px; /* Add spacing on the right */
    overflow: hidden; /* Prevents cutoff */
}

/* ✅ Navigation Menu Items */
nav ul {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 12px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #00d2ff;
}




/* Ensure the body and HTML take full height */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* The main content should expand to fill available space */
main {
    flex: 1;
}

/* Footer stays at the bottom */
footer {
    background: #101826;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    position: relative;
    width: 99%;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}
  footer h1 {
    margin: 0;
    font-size: 0.9rem;
    color: white;
    text-shadow: 0 0 15px rgba(0, 150, 255, 0.6);
    text-align: center; /* optional, but keeps text centered within p itself */
  }
  footer p {
    color: white;
    text-shadow: 0 0 15px rgba(0, 150, 255, 0.6);
    font-size: 0.9rem;
  }
  footer .legal-link:link,
  footer .legal-link:visited {
    color: #00d2ff !important;
  }
@media (max-width: 768px) {
    .hamburger {
      display: block; /* Show hamburger icon on smaller screens */
    }
  
    nav {
      display: none;
      position: absolute;
      top: 75px;       /* Adjust vertical position as needed */
      left: 0;         /* Always pinned to the left */
      width: 300px;    /* Menu width, adjust as needed */
      background: #101826;
      padding: 0;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
      border-radius: 5px;
      transition: all 0.3s ease-in-out;
    }
  
    nav ul {
      flex-direction: column;
      gap: 5px;
      list-style: none;
      margin: 0;
      padding-left: 10px;  /* Indent text from left if desired */
      text-align: center;    /* Keep text left-aligned inside the menu */
    }
  
    nav ul li {
      display: block;
      width: 100%;
    }
  
    nav ul li a {
      display: block;
      padding: 12px 15px;
      color: white;
      font-size: 18px;
      transition: color 0.3s ease;
    }
  
    nav ul li a:hover {
      color: #00d2ff;
    }
  
    /* Show the menu when toggled by JavaScript (e.g., .show class) */
    nav.show {
      display: flex;
      flex-direction: column;
    }
    footer {
      width: 95%;
      padding-left: 5px;
    }
    footer .legal-link:link,
    footer .legal-link:visited {
      color: #00d2ff !important;
    }

  }