/* Global Styles */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: #f5f7fa;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background: linear-gradient(90deg, #4e54c8, #8f94fb);
    color: #fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .logo {
    height: 80px;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

/* Navigation Buttons */
header nav ul li a {
    color: #fff; /* Text color */
    text-decoration: none; /* Remove underline */
    font-weight: bold; /* Bold font for emphasis */
    padding: 10px 20px; /* Better padding for spacing */
    border-radius: 10px; /* Slightly rounded corners */
    background: rgba(255, 255, 255, 0.1); /* Subtle background for definition */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
    transition: all 0.3s ease; /* Smooth hover effects */
}

header nav ul li a:hover {
    background: rgba(255, 255, 255, 0.3); /* Brighter background on hover */
    transform: translateY(-2px); /* Slight hover lift */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

header nav ul li a:active {
    transform: translateY(0); /* Return to original position on click */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Slight shadow for active state */
}


/* Hero Section */
.hero {
    background: #ffffff;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;    /* Hide the canvas overflow if it bleeds outside */
}
.hero-text {
    background: rgba(255, 255, 255, 0.8); /* White background with 80% opacity */
    padding: 20px; /* Add some spacing inside the box */
    border-radius: 10px; /* Rounded corners for a modern look */
    display: inline-block; /* Ensure it only covers the text */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}
.hero h1 {
    background: linear-gradient(90deg, #4e54c8, #8f94fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3.5em;
}
.hero p {
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    margin: 20px 0;
    font-size: 1.2em;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #333;
}

.hero .cta-button {
    display: inline-block;
    background: #ff6b6b;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.hero .cta-button:hover {
    transform: scale(1.1);
}
.hero-logo {
    max-width: 150px;
    margin-bottom: 20px; /* Add spacing below the logo */
    display: block; /* Center the logo */
    margin-left: auto;
    margin-right: auto;
}
#networkCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;         /* Fill the hero’s width */
    height: 100%;        /* Fill the hero’s height */
    z-index: 0;         /* Behind the hero text */
    pointer-events: none;
}
/* Sections */
section {
    padding: 100px 20px;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
section:nth-child(even) {
    background-color: #ffffff;
}
section:nth-child(odd) {
    background: #eef2f3;
}
section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #4e54c8;
}

section p {
    margin-bottom: 20px;
}

section ul {
    list-style: none;
    padding: 0;
}

section ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
}
section ul li:before {
    content: '\2713';
    color: #4e54c8;
    margin-right: 10px;
}
/* Form */
form {
    display: grid;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

form label {
    font-weight: bold;
}

form input, form textarea, form button {
    padding: 15px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}

form input:focus, form textarea:focus {
    outline: none;
    border-color: #4e54c8;
    box-shadow: 0 0 8px rgba(78, 84, 200, 0.3);
}

form button {
    background: #4e54c8;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: background 0.3s;
}

form button:hover {
    background: #3b41b8;
}
.form-container {
    background: rgba(255, 255, 255, 0.8); /* White with 80% opacity */
    padding: 30px; /* Add spacing inside the box */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    max-width: 600px; /* Limit the width of the form */
    margin: 0 auto; /* Center the form box */
}
#contact {
    text-align: center;
}


/* Footer */
footer {
    background: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
}

footer a {
    color: #ff6b6b;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 400px;
    position: relative;
    text-align: left;
}

.popup h2 {
    margin-bottom: 20px;
    color: #4e54c8;
    text-align: center;
}

.popup form {
    display: grid;
    gap: 15px;
}

.popup label {
    font-weight: bold;
}

.popup input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

.popup button {
    padding: 10px;
    border: none;
    background: #4e54c8;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}

.popup button:hover {
    background: #3b41b8;
}

.popup .switch {
    margin-top: 10px;
    color: #4e54c8;
    cursor: pointer;
}

.popup .close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #aaa;
}

.popup .close:hover {
    color: #000;
}
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 250px;
    height: 100%;
    background: #4e54c8;
    color: white;
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin: 15px 0;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    display: block;
}

.sidebar ul li a:hover {
    text-decoration: underline;
}

main {
    margin-left: 270px; /* Adjust for sidebar width */
    padding: 20px;
}
/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 15px 20px;
    border-radius: 5px;
    font-size: 16px;
    color: white;
    opacity: 0.9;
    animation: fadeInOut 5s;
    pointer-events: none;
    max-width: 80%;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.notification.success {
    background-color: #4caf50; /* Green */
}

.notification.error {
    background-color: #f44336; /* Red */
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(-20px) translateX(-50%);
    }
    10% {
        opacity: 0.9;
        transform: translateY(0) translateX(-50%);
    }
    90% {
        opacity: 0.9;
    }
    100% {
        opacity: 0;
        transform: translateY(-20px) translateX(-50%);
    }
}
.terms {
    margin-top: 15px;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.terms input[type="checkbox"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    accent-color: #4e54c8; /* Modern browsers support this for checkbox color */
    border: 2px solid #ccc;
    border-radius: 4px; /* Rounded checkbox */
    cursor: pointer;
}

.terms label {
    display: inline-block;
    font-size: 14px;
    color: #555;
    cursor: pointer;
}

.terms a {
    color: #4e54c8;
    text-decoration: none;
    font-weight: 600;
}

.terms a:hover {
    text-decoration: underline;
}

/* Spacing and Alignment */
.terms-container {
    text-align: left;
    margin-bottom: 20px;
    padding: 0;
}
#bug-bounty {
    background: #ffffff; /* White background for readability */
    padding: 60px 20px;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#bug-bounty h2 {
    font-size: 2em;
    color: #4e54c8; /* Match the theme */
    margin-bottom: 20px;
}

#bug-bounty h3 {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #4e54c8;
}

#bug-bounty p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.6;
}

#bug-bounty ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

#bug-bounty ul li {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #333;
    display: flex;
    align-items: flex-start;
}

#bug-bounty ul li:before {
    content: '\2713'; /* Checkmark symbol */
    color: #4e54c8;
    margin-right: 10px;
    font-size: 1.2em;
}
#bug-bounty .cta-button {
    display: inline-block;
    background: #4e54c8;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    margin-top: 20px;
}

#bug-bounty .cta-button:hover {
    transform: scale(1.1);
    background: #3b41b8;
}
.forgot-password a {
    color: #4e54c8; /* Same color as other buttons */
    text-decoration: none; /* Remove underline */
    cursor: pointer;
    transition: color 0.3s ease; /* Smooth hover effect */
}

.forgot-password a:hover {
    text-decoration: underline; /* Add underline on hover for feedback */
    color: #3b41b8; /* Slightly darker shade on hover */
}
.password-container {
  position: relative; /* so the eye icon can be placed on top (absolute) */
}

.password-container input[type="password"],
.password-container input[type="text"] {
  width: 100%;    /* ensure the input takes full width */
  padding-right: 40px; /* add padding so text doesn't go behind the icon */
  box-sizing: border-box;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;       
  transform: translateY(-50%);
  height: 16px;        
  width: auto;
  cursor: pointer;
  opacity: 0.6;        /* slightly transparent until hovered */
  object-fit: contain;
}

.password-toggle:hover {
  opacity: 1;          /* fully visible on hover */
}

#services .container {
    max-width: 1400px; /* bigger width, but still centered */
    width: 90%;
    margin: 0 auto;
}
#services p {
    margin-bottom: 20px;
}
#services ul li {
    line-height: 2;
    margin-bottom: 20px; 
}
