/* General Styles */
body {
    background: #000814;
    color: #e0e0e0;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Aligns content vertically */
    align-items: center;     /* Centers content horizontally */
    height: 100vh;
    overflow-y: auto;
    margin-top: 60px;
}
/* Landing Page Container */
.container {
   display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
    flex-grow: 1;
}

/* Headings with Softer Glow */
h1 {
    font-size: 3rem;
    color: #4f7492;
}

/* Paragraph */
p {
    font-size: 1.2rem;
    color: #bbbbbb;
    max-width: 600px;
    animation: floatUp 4s infinite alternate ease-in-out;
}

/* Buttons */
button {
    background: linear-gradient(90deg, #0096c7, #005792);
    border: none;
    padding: 12px 25px;
    font-size: 1.1rem;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 150, 199, 0.5);
    transition: all 0.3s ease-in-out;
    animation: subtlePulse 4s infinite alternate ease-in-out;
    margin-top: 20px; /* Adds space between input and CTA button */
}

button:hover {
    box-shadow: 0 0 10px rgba(0, 150, 199, 0.8);
    transform: scale(1.05);
}

/* Input Fields */
input {
    background: #1a1a1a;
    border: 2px solid rgba(0, 188, 212, 0.5);
    color: #e0e0e0;
    padding: 12px;
    border-radius: 5px;
    width: 250px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    margin-bottom: 20px; /* Adds space between input and button */
}

input:focus {
    outline: none;
    border-color: #0096c7;
    box-shadow: 0 0 6px rgba(0, 150, 199, 0.6);
}

/* Footer */
.footer {
    position: relative;
    bottom: 0;
    color: #555;
    font-size: 0.9rem;
    animation: fadeIn 2s ease-in-out;
    margin-top: auto;
    padding: 10px;
}

/* Keyframes Animations */

/* Softer Neon Glow */
@keyframes softGlow {
    from {
        text-shadow: 0 0 6px rgba(0, 188, 212, 0.4);
    }
    to {
        text-shadow: 0 0 12px rgba(0, 188, 212, 0.6);
    }
}

/* Subtle Pulsing Effect for Buttons */
@keyframes subtlePulse {
    from {
        box-shadow: 0 0 4px rgba(0, 150, 199, 0.5);
    }
    to {
        box-shadow: 0 0 8px rgba(0, 150, 199, 0.7);
    }
}

/* Floating Animation for a Futuristic Look */
@keyframes floatUp {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(-3px);
    }
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

::selection {
    background-color: #00bcd4; /* Highlight background */
    color: #0d0d0d; /* Text color on highlight */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    p {
        font-size: 1rem;
    }

    input {
        width: 90%;
    }

    button {
        width: 90%;
    }

    .footer {
        font-size: 0.8rem;
    }

    .container {
        padding: 15px;
    }
}

/* General Styles for the Form */
#mc_embed_signup {
    background: #000814;
    padding-left: 20px; /* Reduced left padding */
    padding-right: 20px; /* Reduced right padding */
    padding-top: 10px;  /* Reduced top padding */
    padding-bottom: 10px;  /* Reduced bottom padding */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.3);
    width: 100%;
    max-width: 400px; /* Controls the width of the form */
    text-align: center;
    margin: 0 auto; /* Centers the form horizontally */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align form content to the top */
}

/* Ensures the form container takes up the full height of the screen and centers content */
#mc_embed_shell {
     display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; 
    height: 100%;  /* Take up the full height */
    margin-top: 20px;
    padding-bottom: 20px;
}

/* Heading for Subscription */
.subscribe-header {
    font-size: 2rem;
    color: #00bcd4;
    margin-bottom: 10px; /* Reduced margin between heading and input */
    text-shadow: 0 0 8px rgba(0, 188, 212, 0.5);
}

#mc_embed_signup {
    background: #000814;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.3);
    width: 100%;
    max-width: 400px; /* Controls the width of the form */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center the form elements inside */
    margin: 0 auto; /* Centers the form horizontally */
}


/* Input Fields */
#mc_embed_signup input {
    background: #000814;
    border: 2px solid rgba(79, 116, 146, 1);
    color: #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    margin-bottom: 10px; /* Reduced space between input and button */
}

/* Subscribe Button */
#mc-embedded-subscribe {
    background: linear-gradient(90deg, #0096c7, #005792);
    border: none;
    padding: 12px 25px;
    font-size: 1.1rem;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 150, 199, 0.5);
    transition: all 0.3s ease-in-out;
    margin-top: 10px;  /* Reduced space between input and CTA button */
}

#mc-embedded-subscribe:hover {
    box-shadow: 0 0 10px rgba(0, 150, 199, 0.8);
    transform: scale(1.05);
}

/* Footer */
.footer-text {
    color: #bbb;
    font-size: 1rem;
    margin-top: 10px;  /* Reduced space for footer */
    animation: fadeIn 2s ease-in-out;
}

/* Make privacy policy link smaller and softer color */
p a[href="privacy_policy.html"] {
    font-size: 0.8rem;          /* smaller font size */
    color: #555555;             /* softer/darker gray, not bright blue */
    text-decoration: underline; /* keep underline */
    transition: color 0.3s ease;
}

p a[href="privacy_policy.html"]:hover {
    color: #000000;             /* darken on hover for clarity */
}
